CVE-2017-7187
Reported by mitre · Published March 20, 2017
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux | Ubuntu:16.04:LTS | 4.4.0-78.99 |
| linux_kernel | linux | 4.10.9, 4.9.21, 4.4.60, 4.1.40, 3.18.50 |
| linux | Ubuntu:14.04:LTS | 3.13.0-132.181 |
| linux-aws | Ubuntu:16.04:LTS | 4.4.0-1017.26 |
| linux-gke | Ubuntu:16.04:LTS | 4.4.0-1013.13 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Mar 20, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Feb 17, 2026 CVE Updated
- Mar 6, 2026 Distribution Patch (33 in total, the first dated here)
- Mar 6, 2026 Security Advisory (11 in total, the first dated here)
- Sep 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-7187
vulnetix vdb fixes CVE-2017-7187
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-7187/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- RHSA-2017:2669 vendor-advisoryx_refsource_REDHAT
- 1038086 vdb-entryx_refsource_SECTRACK
- RHSA-2017:2077 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- RHSA-2017:1842 vendor-advisoryx_refsource_REDHAT
- 96989 vdb-entryx_refsource_BID