Bug 77666 - Kernel i386 SMP page fault handler privilege escalation (CAN-2005-0001)
|
Bug#:
77666
|
Product: Gentoo Security
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: security@gentoo.org
|
Reported By: koon@gentoo.org
|
|
Component: Kernel
|
|
|
URL:
http://lists.netsys.com/pipermail/full-disclosure/2005-January/030826.html
|
|
Summary: Kernel i386 SMP page fault handler privilege escalation (CAN-2005-0001)
|
|
Keywords:
|
|
Status Whiteboard: [linux <2.6.11]
|
|
Opened: 2005-01-12 05:17 0000
|
Summary :
Locally exploitable flaw has been found in the Linux page fault handler
code that allows users to gain root privileges if running on
multiprocessor machine.
See URL for details.
*** Bug 76818 has been marked as a duplicate of this bug. ***
(From update of attachment 48335 [details])
The patch does not apply on vanilla 2.6.10 kernels. Seems to work only with
2.6.11-rc?
Having some problems booting up... It might not be this patch causing it,
possibly one of the others I have added. Debugging now.
Fixed in ~x86 hardened-dev-sources-2.6.10-r2
The 1130 patch I referenced breaks bootup for myself... random bootup progs get
killed with sig11. Investigating...
Adam, did you fix this another way?
Sidenote: For the #77094 patch (attachment #48581 [details]) remove the
netfilter/ip_conntrack_proto_tcp.c hunk if you are patching for kernels that
are < 2.6.10...
gentoo-dev-sources is done
~x86 hardened-sources-2.4.28-r3 patched
commit fa6e49a2497cb4298d81c0d384c1ade8bcf1f0a3
Author: Linus Torvalds <torvalds@ppc970.osdl.org>
Handle two threads both trying to expand their stack simultaneously.
commit 7d153fe70c171e9ea8dab7c0461d28651a44385f
Author: Linus Torvalds <torvalds@ppc970.osdl.org>
Clean up stack growth checks and move them into a common function.
commit 092070386eaa3afc8e2375287bec98369736fc48
Author: Chris Wright <chrisw@osdl.org>
[PATCH] acct_stack_growth nitpicks