Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 3.18.50 |
Related Weaknesses (CWE)
References
- http://www.securityfocus.com/bid/96989Third Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038086Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:1842Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2077Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2669Third Party Advisory
- https://gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1bThird Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.11/scsiIssue TrackingPatchVendor Advisory
- https://source.android.com/security/bulletin/pixel/2017-10-01Third Party Advisory
- http://www.securityfocus.com/bid/96989Third Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038086Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:1842Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2077Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2669Third Party Advisory
- https://gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1bThird Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.11/scsiIssue TrackingPatchVendor Advisory
FAQ
What is CVE-2017-7187?
CVE-2017-7187 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 vi...
How severe is CVE-2017-7187?
CVE-2017-7187 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-7187?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.