Bug 112484 - Kernel vulnerable for duplicate PIDs
Summary: Kernel vulnerable for duplicate PIDs
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-12-20 20:01 UTC by Robert Scheck
Modified: 2007-04-18 17:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-04-15 17:14:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2003-12-20 20:01:35 UTC
Description of problem:
http://linux.bkbits.net:8080/linux-2.4/related/kernel/fork.c?
nav=index.html|src/.|src/kernel (duplicate PID fix)

Version-Release number of selected component (if applicable):
kernel-2.4.20-24.9

Actual results:
I don't know whether it's really possible to use that vulnerability..
.so is your turn ;-)

Expected results:
Maybe - if you think the patch is really needed: 
http://www.kernel.org/pub/linux/kernel/v2.
4/testing/cset/cset-t-kochi.nec.
com|ChangeSet|20031216155916|03275.txt

Additional info:
Only Fedora Core's Kernel 2.4.22 is patched against that 
vulnerability. Affected are all Red Hat Linux versions.

Comment 1 Mark J. Cox 2004-04-08 09:58:51 UTC
So this shouldn't affect any NPTL kernel which has entirely different
code.  

One of our kernel engineers said "A duplicate PID can be a security
issue if the duplicate replaces the previous task. In that case an
unprivileged user could "mask" the PID of a root daemon, and if
somewhere authentication is PID based, it could assume the identity of
that process." however since users cannot normally fill up the PID
space  there would not be a generic exploit for the default install.


Comment 2 Robert Scheck 2004-04-09 13:55:36 UTC
Hm, but why is Fedora Core's NPTL Kernel then patched against the
vulnerability, when it isn't affected?

Comment 3 Dave Jones 2004-04-12 11:12:21 UTC
The Fedora NPTL patch actually _removes_ that code. Again, it's
completely different.


Comment 4 Robert Scheck 2004-04-15 17:14:13 UTC
Okay...if you say that, then it isn't a bug :-)


Note You need to log in before you can comment on or make changes to this bug.