CVE-2017-7187Linux Kernel
High 7.8
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | < 3.18.50 |
| linux | linux_kernel | ≥ 3.19 < 4.1.40 |
| linux | linux_kernel | ≥ 4.2 < 4.4.60 |
| linux | linux_kernel | ≥ 4.5 < 4.9.21 |
| linux | linux_kernel | ≥ 4.10 < 4.10.9 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- gist.github.com Third Party Advisory
- git.kernel.org Issue Tracking Patch Vendor Advisory
- source.android.com Third Party Advisory