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
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel   
(Show other bugs)
Version: 7.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
Keywords: Security
Depends On:
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:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-12 14:16:39 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2001:047 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@avet.com.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.