CVE-2017-7187

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedMar 20, 2017
First seenMar 20, 2017

How to fix

Update
  • linux linux_kernel3.18.50, 4.1.40, 4.4.60, 4.9.21, 4.10.9 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 3.18.50, 3.19 ≤ v < 4.1.40, 4.2 ≤ v < 4.4.60, 4.5 ≤ v < 4.9.21, 4.10 ≤ v < 4.10.93.18.50, 4.1.40, 4.4.60, 4.9.21, 4.10.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.