CVE-2017-7187

7.8 HIGH
Published: March 20, 2017 Modified: May 13, 2026
View on NVD

Description

The sg_ioctl function in drivers/scsi/sg.c in the Linux kernel through 4.10.4 allows local users to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a large command size in an SG_NEXT_CMD_LEN ioctl call, leading to out-of-bounds write access in the sg_write function.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.securityfocus.com/bid/96989
Source: cve@mitre.org
Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1038086
Source: cve@mitre.org
Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1842
Source: cve@mitre.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2077
Source: cve@mitre.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2669
Source: cve@mitre.org
Third Party Advisory
https://source.android.com/security/bulletin/pixel/2017-10-01
Source: cve@mitre.org
Third Party Advisory
http://www.securityfocus.com/bid/96989
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1038086
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1842
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2077
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2669
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1b
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://source.android.com/security/bulletin/pixel/2017-10-01
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

16 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.8 / 10.0
EPSS (Exploit Probability)
0.4%
33th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

linux