Bug 1097746 (CVE-2012-6647) - CVE-2012-6647 Kernel: futex: forbid uaddr == uaddr2 in futex_wait_requeue_pi()
Summary: CVE-2012-6647 Kernel: futex: forbid uaddr == uaddr2 in futex_wait_requeue_pi()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-6647
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1097759 1097760
Blocks: 1097133
TreeView+ depends on / blocked
 
Reported: 2014-05-14 12:48 UTC by Prasad Pandit
Modified: 2021-02-17 06:33 UTC (History)
33 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A NULL pointer dereference flaw was found in the way the futex_wait_requeue_pi() function of the Linux kernel's futex subsystem handled the requeuing of certain Priority Inheritance (PI) futexes. A local, unprivileged user could use this flaw to crash the system.
Clone Of:
Environment:
Last Closed: 2014-07-29 16:16:03 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:0981 0 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2014-07-29 19:51:12 UTC

Description Prasad Pandit 2014-05-14 12:48:01 UTC
Linux kernel built with the fast userspace mutexes(CONFIG_FUTEX) support is
vulnerable to a NULL pointer dereference flaw. It could occur when a waiting
task requests wait to be re-queued from non-PI futex to a PI-aware futex via
FUTEX_WAIT_REQUEUE_PI operation.

An unprivileged user/program could use this flaw to crash the system kernel
resulting in DoS.

Upstream fix:
-------------
  -> https://git.kernel.org/linus/6f7b0a2a5c0fb03be7c25bd1745baa50582348ef

Introduced in:
--------------
  -> https://git.kernel.org/linus/52400ba946759af28442dee6265c5c0180ac7122

Comment 1 Prasad Pandit 2014-05-14 13:16:53 UTC
Statement:

This issue does not affect the versions of the kernel package as shipped with
Red Hat Enterprise Linux 5 and 7, and Red Hat Enterprise MRG 2.

Comment 4 Martin Prpič 2014-07-29 11:20:57 UTC
IssueDescription:

A NULL pointer dereference flaw was found in the way the futex_wait_requeue_pi() function of the Linux kernel's futex subsystem handled the requeuing of certain Priority Inheritance (PI) futexes. A local, unprivileged user could use this flaw to crash the system.

Comment 5 errata-xmlrpc 2014-07-29 15:53:38 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:0981 https://rhn.redhat.com/errata/RHSA-2014-0981.html


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