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()
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: impact=moderate,public=20120720,repor...
Keywords: Security
Depends On: 1097759 1097760
Blocks: 1097133
TreeView+ depends on / blocked
 
Reported: 2014-05-14 12:48 UTC by Prasad J Pandit
Modified: 2019-06-08 20:02 UTC (History)
33 users (show)

(edit)
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:
(edit)
Last Closed: 2014-07-29 16:16:03 UTC


Attachments (Terms of Use)


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

Description Prasad J 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 J 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.