Re: [LKP] ab9ee8e38b [ 22.890412] WARNING: CPU: 0 PID: 632 at mm/usercopy.c:81 usercopy_warn

From: Kees Cook
Date: Mon Aug 20 2018 - 01:32:03 EST


On Sun, Aug 19, 2018 at 5:52 PM, kernel test robot
<rong.a.chen@xxxxxxxxx> wrote:
> [ 22.855033] Bad or missing usercopy whitelist? Kernel memory overwrite attempt detected to SLUB object 'SCTP' (offset 1332, size 4)!

For this .config, pahole reports 1332 as the offset of the whitelist,
so I'm not sure what's happening here. It's as if no whitelist was
used when building the cache?

I'm still trying to build a reproducers...

-Kees

--
Kees Cook
Pixel Security