CVE-2017-7187
publishedkernel: scsi: Stack-based buffer overflow in sg_ioctl function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Oracle Linux | 6 | dtrace-modules-3.8.13-118.17.4.el6uekx86_64 | Advisory build | 0:0.4.5-3.el6 | ELSA-2017-3534 |
| Red Hat Enterprise Linux | RHEL-7 | kernelppc64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Oracle Linux | 6 | dtrace-modules-4.1.12-61.1.33.el6uekx86_64 | Advisory build | 0:0.5.3-2.el6 | ELSA-2017-3533 |
| Oracle Linux | 6 | kernel-ueki686 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uekx86_64 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uekx86_64 | Advisory build | 0:3.8.13-118.17.4.el6uek | ELSA-2017-3534 |
| Oracle Linux | 6 | kernel-uekx86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | kernel-uek-debugi686 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uek-debugx86_64 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uek-debugx86_64 | Advisory build | 0:3.8.13-118.17.4.el6uek | ELSA-2017-3534 |
| Oracle Linux | 6 | kernel-uek-debugx86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 6 | kernel-uek-debug-develi686 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uek-debug-develx86_64 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uek-debug-develx86_64 | Advisory build | 0:3.8.13-118.17.4.el6uek | ELSA-2017-3534 |
| Oracle Linux | 6 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 6 | kernel-uek-develi686 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uek-develx86_64 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uek-develx86_64 | Advisory build | 0:3.8.13-118.17.4.el6uek | ELSA-2017-3534 |
| Oracle Linux | 6 | kernel-uek-develx86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 6 | kernel-uek-doci686 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uek-docx86_64 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uek-docx86_64 | Advisory build | 0:3.8.13-118.17.4.el6uek | ELSA-2017-3534 |
| Oracle Linux | 6 | kernel-uek-docx86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 6 | kernel-uek-firmwarei686 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uek-firmwarex86_64 | Advisory build | 0:2.6.39-400.294.6.el6uek | ELSA-2017-3535 |
| Oracle Linux | 6 | kernel-uek-firmwarex86_64 | Advisory build | 0:3.8.13-118.17.4.el6uek | ELSA-2017-3534 |
| Oracle Linux | 6 | kernel-uek-firmwarex86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 7 | dtrace-modules-3.8.13-118.17.4.el7uekx86_64 | Advisory build | 0:0.4.5-3.el7 | ELSA-2017-3534 |
| Oracle Linux | 7 | dtrace-modules-4.1.12-61.1.33.el7uekx86_64 | Advisory build | 0:0.5.3-2.el7 | ELSA-2017-3533 |
| Oracle Linux | 7 | kernelx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernelx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-abi-whitelistsx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-abi-whitelistsx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-debugx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-debugx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-debug-develx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-debug-develx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-develx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-develx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-docx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-docx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-headersx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-headersx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-toolsx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-toolsx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-tools-libsx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-tools-libsx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-tools-libs-develx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-tools-libs-develx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:3.8.13-118.17.4.el7uek | ELSA-2017-3534 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:3.8.13-118.17.4.el7uek | ELSA-2017-3534 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:3.8.13-118.17.4.el7uek | ELSA-2017-3534 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:3.8.13-118.17.4.el7uek | ELSA-2017-3534 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:3.8.13-118.17.4.el7uek | ELSA-2017-3534 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | kernel-uek-firmwarex86_64 | Advisory build | 0:3.8.13-118.17.4.el7uek | ELSA-2017-3534 |
| Oracle Linux | 7 | kernel-uek-firmwarex86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | perfx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | perfx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | python-perfx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | python-perfx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernelppc64le | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernels390x | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernelsrc | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernelx86_64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-abi-whitelistsnoarch | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-bootwrapperppc64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-bootwrapperppc64le | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debugppc64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debugppc64le | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debugs390x | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debugx86_64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debug-debuginfoppc64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debug-debuginfoppc64le | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debug-debuginfos390x | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debug-debuginfox86_64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debug-develppc64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debug-develppc64le | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debug-devels390x | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debug-develx86_64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debuginfoppc64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debuginfoppc64le | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debuginfos390x | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debuginfox86_64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debuginfo-common-ppc64ppc64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debuginfo-common-s390xs390x | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-develppc64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-develppc64le | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-devels390x | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-develx86_64 | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-docnoarch | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-kdumps390x | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-kdump-debuginfos390x | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
| Red Hat Enterprise Linux | RHEL-7 | kernel-kdump-devels390x | Advisory build | 3.10.0-693.el7 | RHSA-2017:1842 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- 96989 http://www.securityfocus.com/bid/96989
- 1038086 http://www.securitytracker.com/id/1038086
- RHSA-2017:1842 https://access.redhat.com/errata/RHSA-2017:1842
- RHSA-2017:2077 https://access.redhat.com/errata/RHSA-2017:2077
- RHSA-2017:2669 https://access.redhat.com/errata/RHSA-2017:2669
- https://gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1b
- https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.11/scsi-fixes&id=bf33f87dd04c371ea33feb821b60d63d754e3124
- https://source.android.com/security/bulletin/pixel/2017-10-01
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 286df92db84e3caeb6d79547398f59a815e7fe1d46d2022353e060e9190a0070
- Ingested
- 23 Sep 2026, 07:42:53 UTC
- Source record
- Official CVE record