Live threats

All CVEs / Linux

CVE-2017-7187Linux Kernel

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.4%
probability of exploitation in 30 days · percentile 27
Auth required
Yes
Published
Mar 20, 2017
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-119
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel< 3.18.50
linuxlinux_kernel≥ 3.19 < 4.1.40
linuxlinux_kernel≥ 4.2 < 4.4.60
linuxlinux_kernel≥ 4.5 < 4.9.21
linuxlinux_kernel≥ 4.10 < 4.10.9

Official sources

References

Links published by the sources. Open them with care.