Bug 27140 - ptrace bug is not fixed in kernel-2.2.17-14.i386.rpm
Summary: ptrace bug is not fixed in kernel-2.2.17-14.i386.rpm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.0
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-12 13:57 UTC by Nergal
Modified: 2007-03-27 03:40 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-02-12 14:16:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2001:047 0 normal SHIPPED_LIVE : Linux kernel 2.2.19 now available, provides security fixes, enhancements 2001-04-10 04:00:00 UTC

Description Nergal 2001-02-12 13:57:10 UTC
only the flush_old_exec() function is protected. this is clearly not enough. In
particular, copy_from_user() may sleep, so during args/env copying a thread
can be blocked. Args/environment are copied after must_not_trace_exec()
(which checks if a binary is being traced), but before compute_creds() (which
sets new euid). At this moment, a binary can be attached with ptrace, even
in case of kernel-2.2.17-14.i386.rpm.
Contact nergal.pl for a patch and additional info.

Comment 1 Arjan van de Ven 2001-04-17 07:55:55 UTC
Fixed by the errata 2.2.19 kernel


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