[Maverick] request: CONFIG_DEBUG_STRICT_USER_COPY_CHECKS

Kees Cook kees.cook at canonical.com
Sun Jul 18 08:14:07 UTC 2010


On Sat, Jul 17, 2010 at 02:20:13PM -0700, Kees Cook wrote:
> Weird. I just did a test build and didn't see any failures (I also didn't
> see these warnings in prior released builds -- which is why I asked to turn
> it on actually). Can you point me to the failures you ran into?

Ah-ha, I found them in the i386 build. Not sure why these drivers aren't
enabled on amd64, but I'll go digging. Thanks!

In function 'copy_from_user',
    inlined from 'lirc_write' at
ubuntu/lirc/lirc_it87/lirc_it87.c:228:
arch/x86/include/asm/uaccess_32.h:212: error: call
to 'copy_from_user_overflow' declared with attribute error:
copy_from_user() buffer size is not provably correct
In function 'copy_from_user',
    inlined from 'icn_writecmd' at
drivers/isdn/icn/icn.c:1048:
arch/x86/include/asm/uaccess_32.h:212: error: call
to 'copy_from_user_overflow' declared with attribute error:
copy_from_user() buffer size is not provably correct

-- 
Kees Cook
Ubuntu Security Team




More information about the kernel-team mailing list