7.8
HIGH
CVE-2016-9576
Linux Kernel blk_rq_map_user_iov Use-After-Free and Arbitrary Memory Access
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.

INFO

Published Date :

Dec. 28, 2016, 7:59 a.m.

Last Modified :

Nov. 21, 2024, 3:01 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2016-9576 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-9576 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-9576.

URL 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
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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 3 weeks, 5 days ago
10 stars 1 fork 1 watcher
Born at : Aug. 30, 2017, 2:37 p.m. This repo has been linked 1269 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-9576 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-9576 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 12, 2023

    Action Type Old Value New Value
    Changed Description 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.
    Removed CVSS V2 Red Hat, Inc. (AV:L/AC:H/Au:N/C:C/I:C/A:C)
    Removed CVSS V3 Red Hat, Inc. AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Removed Reference https://access.redhat.com/errata/RHSA-2017:0817 [No Types Assigned]
    Removed Reference https://access.redhat.com/security/cve/CVE-2016-9576 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed 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. 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.
    Added CVSS V2 Red Hat, Inc. (AV:L/AC:H/Au:N/C:C/I:C/A:C)
    Added CVSS V3 Red Hat, Inc. AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added Reference https://access.redhat.com/security/cve/CVE-2016-9576 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2017:0817 [No Types Assigned]
  • Modified Analysis by [email protected]

    Jan. 17, 2023

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00040.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00040.html Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00041.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00041.html Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00057.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00057.html Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00062.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00062.html Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00072.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00072.html Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00075.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00075.html Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00081.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00081.html Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00088.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00088.html Mailing List, Third Party Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00091.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00091.html Mailing List, Third Party Advisory
    Changed Reference Type http://rhn.redhat.com/errata/RHSA-2017-0817.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2017-0817.html Third Party Advisory
    Changed Reference Type http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14 Release Notes http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14 Release Notes, Vendor Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/12/08/19 Mailing List, Patch http://www.openwall.com/lists/oss-security/2016/12/08/19 Mailing List, Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/94821 No Types Assigned http://www.securityfocus.com/bid/94821 Third Party Advisory, VDB Entry
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:1842 No Types Assigned https://access.redhat.com/errata/RHSA-2017:1842 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2077 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2077 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2669 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2669 Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1403145 Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=1403145 Issue Tracking, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 4.8.13 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.0 up to (excluding) 4.4.38 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.8.14
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:2077 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2017:1842 [No Types Assigned]
    Added Reference http://rhn.redhat.com/errata/RHSA-2017-0817.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 31, 2017

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:2669 [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 18, 2017

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00091.html [No Types Assigned]
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00088.html [No Types Assigned]
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00081.html [No Types Assigned]
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00075.html [No Types Assigned]
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00072.html [No Types Assigned]
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00062.html [No Types Assigned]
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00057.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 07, 2017

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00041.html [No Types Assigned]
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00040.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 31, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/94821 [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 28, 2016

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/torvalds/linux/commit/a0ac402cfcdc904f9772e1762b3fda112dcc56a0 No Types Assigned https://github.com/torvalds/linux/commit/a0ac402cfcdc904f9772e1762b3fda112dcc56a0 Vendor Advisory, Patch
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/12/08/19 No Types Assigned http://www.openwall.com/lists/oss-security/2016/12/08/19 Mailing List, Patch
    Changed Reference Type http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a0ac402cfcdc904f9772e1762b3fda112dcc56a0 No Types Assigned http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a0ac402cfcdc904f9772e1762b3fda112dcc56a0 Vendor Advisory, Patch
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1403145 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1403145 Issue Tracking
    Changed Reference Type http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14 No Types Assigned http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14 Release Notes
    Added CWE CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:4.8.13:*:*:*:*:*:*:* (and previous)
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-9576 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-9576 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.08236

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability