slimm609/checksec.sh

do not show "Hardened Usercopy Pagespan: Disabled" as issue / CONFIG_HARDENED_USERCOPY_PAGESPAN=y

adrelanos opened this issue · 1 comments

https://groups.google.com/d/msg/syzkaller-bugs/wt3NikTfotQ/zJnFApHtBAAJ

Basically, yes. CONFIG_HARDENED_USERCOPY_PAGESPAN=y should not be used -- it's for tracking down these cases (not really for general-purpose "debugging"), but no one is currently working on solving them.

https://patchwork.kernel.org/patch/10565519/

PAGESPAN checking is buggy for a lot of reasons, unfortunately. It
should generally stay disabled unless someone is working on getting
rid of allocations that should have marked themselves as spanning
pages. It's unclear if this is even a solvable problem in the kernel
right now due to how networking code manages skbs.