Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423385 - >=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
Summary: >=sys-kernel/gentoo-sources-3.4.2 - arch/x86/include/asm/uaccess_32.h:211:26:...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-24 19:25 UTC by 5FBCDB43
Modified: 2012-08-31 02:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,4.68 KB, text/plain)
2012-07-19 21:05 UTC, 5FBCDB43
Details
screenshot of failure on hardened-sources-3.4.5 (bzimage-fail.png,13.51 KB, image/png)
2012-08-31 01:42 UTC, Walter
Details
screenshot of failure on 3.2.28-hardened-r2 (Screen shot 2012-08-31 at 12.02.33 PM.png,13.82 KB, image/png)
2012-08-31 02:03 UTC, Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.