CVE-2016-9576
Vulnerability Summary
Timeline
Description
The blk_rq_map_user_iov function in block/blk-map.c in the Linux kernel before 4.8.14 does not properly restrict the type of iterator, which allows local users to read or write to arbitrary kernel memory locations or cause a denial of service (use-after-free) by leveraging access to a /dev/sg device.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.2AV:L/AC:L/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 0.05%• Percentile: 16%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- linux•linux_kernel
≥ 4.0, < 4.4.38 | ≥ 4.5, < 4.8.14
References (19)
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00057.html
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00088.html
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a0ac402cfcdc904f9772e1762b3fda112dcc56a0
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00040.html
- https://github.com/torvalds/linux/commit/a0ac402cfcdc904f9772e1762b3fda112dcc56a0
- https://access.redhat.com/errata/RHSA-2017:2669
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00072.html
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00041.html
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00062.html
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00075.html
- http://rhn.redhat.com/errata/RHSA-2017-0817.html
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00081.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1403145
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14
- http://www.openwall.com/lists/oss-security/2016/12/08/19
- https://access.redhat.com/errata/RHSA-2017:2077
- https://access.redhat.com/errata/RHSA-2017:1842
- http://www.securityfocus.com/bid/94821
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00091.html