Bug 59378 - sys-kernel/*: file offset pointer handling vulnerability
|
Bug#:
59378
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: security@gentoo.org
|
Reported By: carlo@gentoo.org
|
|
Component: Security
|
|
|
URL:
http://isec.pl/vulnerabilities/isec-0016-procleaks.txt
|
|
Summary: sys-kernel/*: file offset pointer handling vulnerability
|
|
Keywords:
|
|
Status Whiteboard: A4 [kernel]
|
|
Opened: 2004-08-04 04:34 0000
|
There are two different versions of the file handling API inside recent
Linux kernels: the old 32 bit and the new (LFS) 64 bit API. We have
identified numerous places, where invalid conversions from 64 bit sized
file offsets to 32 bit ones as well as insecure access to the file
offset member variable take place.
We have found that most of the /proc entries (like /proc/version) leak
about one page of unitialized kernel memory and can be exploited to
obtain sensitive data.
Tested and known to be vulnerable kernel versions are all <= 2.4.26 and
<= 2.6.7. All users are encouraged to patch all vulnerable systems as
soon as appropriate vendor patches are released. There is no hotfix for
this vulnerability.
Exploit included. That's fun! :(
hardened-sources patched (2.4.26-r4).
rsbac-(dev-)sources patched
All done, everything should now be patched. The following sources remain, and
I'm adding their maintainers to the CC list:
gentoo-dev-sources: Adding gregkh...
hardened-dev-sources: hardened@gentoo.org is already on the list...
hppa-(dev-)sources: Adding GMSoft...
mips-sources: Adding `Kumba...
openmosix-sources: Adding cluster herd...
{ppc, pegasos(dev-)}-sources: Adding dholm...
sparc-sources: Adding Joker...
selinux-sources: Ading pebenito...
openmosix-sources patched
gentoo-dev-sources fixed in release 2.6.7-r12
Fixed in hardened-dev-sources.
ppc-sources, pegasos-sources, and pegasos-dev-sources have been fixed.
Removing hardened@ but leaving pebenito@ on the list for selinux-sources
sparc-sources-2.4.27 is out and stable courtesy of Joker, fixed.
Joker: i'm just removing sparc@ from this, feel free to remove yourself.
sparc-sources-2.4.27 released