Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'powerpc-6.5-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fix from Michael Ellerman:

- Fix hardened usercopy BUG when using /proc based firmware update
interface

Thanks to Nathan Lynch and Kees Cook.

* tag 'powerpc-6.5-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
powerpc/rtas_flash: allow user copy to flash block cache objects

+3 -3
+3 -3
arch/powerpc/kernel/rtas_flash.c
··· 709 709 if (!rtas_validate_flash_data.buf) 710 710 return -ENOMEM; 711 711 712 - flash_block_cache = kmem_cache_create("rtas_flash_cache", 713 - RTAS_BLK_SIZE, RTAS_BLK_SIZE, 0, 714 - NULL); 712 + flash_block_cache = kmem_cache_create_usercopy("rtas_flash_cache", 713 + RTAS_BLK_SIZE, RTAS_BLK_SIZE, 714 + 0, 0, RTAS_BLK_SIZE, NULL); 715 715 if (!flash_block_cache) { 716 716 printk(KERN_ERR "%s: failed to create block cache\n", 717 717 __func__);