CVE-2017-7187

kernel: scsi: Stack-based buffer overflow in sg_ioctl function

Published Mar 20, 2017 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-16225 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.
Ubuntu USN Ubuntu USN USN-3291-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3291-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3291-3 Linux kernel (Xenial HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3293-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3361-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3422-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3422-2 Linux kernel (Trusty HWE) vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 3:56 PM
Reserved
Mar 20, 2017, 12:00 AM
Status
Modified
Published
Mar 20, 2017, 2:59 PM
Modified
Jun 17, 2026, 1:23 AM
Severity
Moderate
Public date
Mar 16, 2017, 12:00 AM