]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
usercopy: Disable CONFIG_HARDENED_USERCOPY_PAGESPAN
authorKees Cook <keescook@chromium.org>
Thu, 24 Mar 2022 22:57:25 +0000 (15:57 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 24 Mar 2022 22:57:25 +0000 (15:57 -0700)
commitef3e787c21d1efcd297f0cf2e9535e76188fb831
tree54625db836e2ddb7aa5fc8de24757cf954df68d0
parentafcf5441b9ff22ac57244cd45ff102ebc2e32d1a
usercopy: Disable CONFIG_HARDENED_USERCOPY_PAGESPAN

CONFIG_HARDENED_USERCOPY_PAGESPAN has been mostly broken for a while,
and it has become hard to ignore with some recent scsi changes[1].
While there is a more complete series to replace it with better checks[2],
it should have more soak time in -next. Instead, disable the config now,
with the expectation that it will be fully replaced in the next kernel
release.

[1] https://lore.kernel.org/lkml/20220324064846.GA12961@lst.de/
[2] https://lore.kernel.org/linux-hardening/20220110231530.665970-1-willy@infradead.org/

Suggested-by: Christoph Hellwig <hch@lst.de>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
security/Kconfig