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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T15:56:36.142Z

Reserved: 2017-03-20T00:00:00

Link: CVE-2017-7187

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-03-20T14:59:00.153

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-7187

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-03-16T00:00:00Z

Links: CVE-2017-7187 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses