Bug 149593 - CAN-2005-0178 tty/setsid race (ipf)
Summary: CAN-2005-0178 tty/setsid race (ipf)
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: kernel
Version: 2.1
Hardware: ia64
OS: Linux
medium
high
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard: impact=important,public=20050110
Keywords: Security
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-24 11:08 UTC by Mark J. Cox
Modified: 2015-01-04 22:17 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2005-02-24 11:13:49 UTC


Attachments (Terms of Use)

Description Mark J. Cox 2005-02-24 11:08:49 UTC
"Race condition in the setsid function in Linux before 2.6.8.1 allows
local users to cause a denial of service (crash) and possibly access
portions of kernel memory, related to TTY changes, locking, and
semaphores."

We originally believed this issue did not affect 2.4 kernels, however
this appears to be incorrect.

See bug #149591 for backported patch

Comment 1 Mark J. Cox 2005-02-24 11:13:49 UTC
Actually, Alan said "In the 2.4 case your controlling tty is
private not thread group so a setsid() can't race because you can't
setsid in the same thread as is opening current->tty."


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