lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.01.1103051749500.23816@trent.utfs.org>
Date:	Sat, 5 Mar 2011 18:16:58 -0800 (PST)
From:	Christian Kujau <lists@...dbynature.de>
To:	LKML <linux-kernel@...r.kernel.org>
cc:	heiko.carstens@...ibm.com, arjan@...radead.org
Subject: arch/x86/include/asm/uaccess_32.h:212: copy_from_user() buffer size
 is not provably correct

Hi,

while trying to compile 2.6.38-rc7 with randconfigs, I noticed 
compilation would sometimes fail with:

-------------------------------------------------------
In file included from 
/usr/local/src/linux-2.6-git/arch/x86/include/asm/uaccess.h:571,                 
from /usr/local/src/linux-2.6-git/include/net/checksum.h:25,
                 from 
/usr/local/src/linux-2.6-git/include/linux/skbuff.h:28,
                 from 
/usr/local/src/linux-2.6-git/include/linux/if_ether.h:126,
                 from 
/usr/local/src/linux-2.6-git/include/linux/netdevice.h:29,
                 from 
/usr/local/src/linux-2.6-git/net/packet/af_packet.c:58:
In function 'copy_from_user',
    inlined from 'packet_getsockopt' at 
/usr/local/src/linux-2.6-git/net/packet/af_packet.c:2137:
/usr/local/src/linux-2.6-git/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
-------------------------------------------------------

A few failed configs (and compile logs) are here:

  http://nerdbynature.de/bits/2.6.38-rc7/copy_from_user/

I've seen a thread[0] in Jan 2010, dealing with copy_from_user, but don't 
know if that is the reason for these compile failures.

It's not really an issue for me, since they're randconfigs anyway so might 
not even be runnable on real hardware, but thought it would be worth to 
mention anyway.

Thanks,
Christian.

[0] http://lkml.org/lkml/2010/1/5/75
-- 
BOFH excuse #395:

Redundant ACLs.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ