CVE-2016-9576

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.
References
Link Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a0ac402cfcdc904f9772e1762b3fda112dcc56a0 Patch Vendor Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00040.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00041.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00057.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00062.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00072.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00075.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00081.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00088.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00091.html Mailing List Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2017-0817.html Third Party Advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14 Release Notes Vendor Advisory
http://www.openwall.com/lists/oss-security/2016/12/08/19 Mailing List Patch Third Party Advisory
http://www.securityfocus.com/bid/94821 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1842 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2077 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2669 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1403145 Issue Tracking Third Party Advisory
https://github.com/torvalds/linux/commit/a0ac402cfcdc904f9772e1762b3fda112dcc56a0 Patch Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

12 Feb 2023, 23:27

Type Values Removed Values Added
References
  • {'url': 'https://access.redhat.com/errata/RHSA-2017:0817', 'name': 'https://access.redhat.com/errata/RHSA-2017:0817', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/security/cve/CVE-2016-9576', 'name': 'https://access.redhat.com/security/cve/CVE-2016-9576', 'tags': [], 'refsource': 'MISC'}
Summary It was found that the blk_rq_map_user_iov() function in the Linux kernel's block device implementation did not properly restrict the type of iterator, which could allow a local attacker to read or write to arbitrary kernel memory locations or cause a denial of service (use-after-free) by leveraging write access to a /dev/sg device. 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.

02 Feb 2023, 21:17

Type Values Removed Values Added
References
  • (MISC) https://access.redhat.com/errata/RHSA-2017:0817 -
  • (MISC) https://access.redhat.com/security/cve/CVE-2016-9576 -
Summary 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. It was found that the blk_rq_map_user_iov() function in the Linux kernel's block device implementation did not properly restrict the type of iterator, which could allow a local attacker to read or write to arbitrary kernel memory locations or cause a denial of service (use-after-free) by leveraging write access to a /dev/sg device.

17 Jan 2023, 21:05

Type Values Removed Values Added
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00040.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00040.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00062.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00062.html - Mailing List, Third Party Advisory
References (CONFIRM) https://bugzilla.redhat.com/show_bug.cgi?id=1403145 - Issue Tracking (CONFIRM) https://bugzilla.redhat.com/show_bug.cgi?id=1403145 - Issue Tracking, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00091.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00091.html - Mailing List, Third Party Advisory
References (REDHAT) https://access.redhat.com/errata/RHSA-2017:1842 - (REDHAT) https://access.redhat.com/errata/RHSA-2017:1842 - Third Party Advisory
References (REDHAT) http://rhn.redhat.com/errata/RHSA-2017-0817.html - (REDHAT) http://rhn.redhat.com/errata/RHSA-2017-0817.html - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00075.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00075.html - Mailing List, Third Party Advisory
References (BID) http://www.securityfocus.com/bid/94821 - (BID) http://www.securityfocus.com/bid/94821 - Third Party Advisory, VDB Entry
References (REDHAT) https://access.redhat.com/errata/RHSA-2017:2669 - (REDHAT) https://access.redhat.com/errata/RHSA-2017:2669 - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00072.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00072.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00088.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00088.html - Mailing List, Third Party Advisory
References (CONFIRM) http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14 - Release Notes (CONFIRM) http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14 - Release Notes, Vendor Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00081.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00081.html - Mailing List, Third Party Advisory
References (REDHAT) https://access.redhat.com/errata/RHSA-2017:2077 - (REDHAT) https://access.redhat.com/errata/RHSA-2017:2077 - Third Party Advisory
References (MLIST) http://www.openwall.com/lists/oss-security/2016/12/08/19 - Mailing List, Patch (MLIST) http://www.openwall.com/lists/oss-security/2016/12/08/19 - Mailing List, Patch, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00057.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00057.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00041.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00041.html - Mailing List, Third Party Advisory

Information

Published : 2016-12-28 07:59

Updated : 2023-12-10 12:01


NVD link : CVE-2016-9576

Mitre link : CVE-2016-9576

CVE.ORG link : CVE-2016-9576


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free