Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 423385

Summary: >=sys-kernel/gentoo-sources-3.4.2 - arch/x86/include/asm/uaccess_32.h:211:26: error: call to 'copy_from_user_overflow' declared with attribute error: copy_from_user() buffer size is not provably correct
Product: Gentoo Linux Reporter: 5FBCDB43
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED NEEDINFO    
Severity: normal CC: walter
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
screenshot of failure on hardened-sources-3.4.5
screenshot of failure on 3.2.28-hardened-r2

Description 5FBCDB43 2012-06-24 19:25:20 UTC
Gee I can't paste in links...

==========================

CC fs/binfmt_misc.o
In file included from arch/x86/include/asm/uaccess.h:575:0,
                 from include/linux/uaccess.h:5,
                 from include/linux/highmem.h:8,
                 from include/linux/pagemap.h:10,
                 from fs/binfmt_misc.c:27:
In function 'copy_from_user', inlined from 'parse_command.part.7' at fs/binfmt_misc.c:422:20:
arch/x86/include/asm/uaccess_32.h:211:26: error: call to 'copy_from_user_overflow' declared with attribute error: copy_from_user() buffer size is not provably correct
make[1]: *** [fs/binfmt_misc.o] Error 1

====================

Tell me it's caused by a Gentoo patch, please...
And tell the one who wrote that error message to fix that 'proVably' typo there. :)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-26 15:20:54 UTC
There isn't anything wrong with "provably" (capable of being proved, synonym: demonstrably).
Comment 2 Mike Pagano gentoo-dev 2012-06-28 12:23:32 UTC
emerge --info please
Comment 3 5FBCDB43 2012-07-19 21:05:25 UTC
Created attachment 318662 [details]
emerge --info

Here.
Comment 4 Walter 2012-08-31 01:40:08 UTC
Seeing same issue on sys-kernel/hardened-sources-3.4.5.

Dies at arch/x86/kernel/tls.o in function '__copy_from_user' inlined from 'regset_tls_set' at arch/x86/kernel/tls.c:212:27:
 arch/x86/include/asm/uaccess_64.h:110:26: error: call to 'copy_from_user_overflow' declared with attribute error: copy_from_user() buffer size not provably correct.

Unfortunately machine is not network-accessible so can't provide emerge --info.
Comment 5 Walter 2012-08-31 01:42:10 UTC
Created attachment 322609 [details]
screenshot of failure on hardened-sources-3.4.5

Screenshot of IPMI console (machine not network accessible)
Comment 6 Walter 2012-08-31 02:03:37 UTC
Created attachment 322611 [details]
screenshot of failure on 3.2.28-hardened-r2

Same error observed on 3.2.28-r2.