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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2017-03-20T14:00:00

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 : Modified

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

Modified: 2024-11-21T03:31:20.483

Link: CVE-2017-7187

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2017-7187 - Bugzilla