Bug 152560 - CAN-2005-0937 futex mmap_sem deadlock
Summary: CAN-2005-0937 futex mmap_sem deadlock
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
(Show other bugs)
Version: 4.0
Hardware: All Linux
Target Milestone: ---
: ---
Assignee: Jason Baron
QA Contact: Brian Brock
Whiteboard: impact=important,public=20050222,repo...
Keywords: Security
Depends On:
Blocks: 147461
TreeView+ depends on / blocked
Reported: 2005-03-30 12:30 UTC by Mark J. Cox
Modified: 2013-03-06 05:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-26 12:21:51 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Mark J. Cox 2005-03-30 12:30:37 UTC
"Some futex functions do get_user calls while holding mmap_sem
        for reading. If get_user() faults, and another thread happens
        to be in mmap (or somewhere else holding waiting on down_write
        for the same semaphore), then do_page_fault will
        deadlock. Most architectures seem to be exposed to this."


        fixed=2.6-bk (cset@421cfc11zFsK9gxvSJ2t__FCmuUd3Q)

This would allow a local user to easily cause a system crash.  CVE applied for.

Comment 1 Mark J. Cox 2005-07-26 12:21:51 UTC
This is fixed by linux-2.6.9-futex-mmap_sem-deadlock.patch in RHSA-2005:420

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