Description
The sr_do_ioctl function in drivers/scsi/sr_ioctl.c in the Linux kernel through 4.16.12 allows local users to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact because sense buffers have different sizes at the CDROM layer and the SCSI layer, as demonstrated by a CDROMREADMODE2 ioctl call.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.16.16-1 | — |
| Debian 13 | linux | 4.16.16-1 | — |
| Debian 12 | linux | 4.16.16-1 | — |
| Debian 8 | linux | 3.16.57-1 | DLA-1422-1 |
| Debian 8 | linux-4.9 | 4.9.110-1~deb8u1 | DLA-1423-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | linux | 4.15.0-33.36 | USN-3752-1 |
| Ubuntu 18.04 LTS | linux-aws +1 | 4.15.0-1020.20 | USN-3752-1 |
| Ubuntu 18.04 LTS | linux-azure | 4.15.0-1022.23 | USN-3752-3 |
| Ubuntu 18.04 LTS | linux-gcp | 4.15.0-1018.19 | USN-3752-1 |
| Ubuntu 18.04 LTS | linux-oem | 4.15.0-1017.20 | USN-3752-3 |
| Ubuntu 18.04 LTS | linux-raspi2 | 4.15.0-1021.23 | USN-3752-1 |
| Ubuntu 16.04 LTS | linux-azure | 4.15.0-1022.22~16.04.1 | USN-3752-3 |
| Ubuntu 16.04 LTS | linux-gcp | 4.15.0-1018.19~16.04.2 | USN-3752-3 |
| Ubuntu 16.04 LTS | linux-hwe | 4.15.0-33.36~16.04.1 | USN-3752-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | perf +14 | 4.14.0-115.el7a | RHSA-2018:2948 |
Advisories 6
- RHSA-2018:2948 Red Hat Security Advisory: kernel-alt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- USN-3752-1 linux, linux-aws, linux-gcp, linux-kvm, linux-raspi2 vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-3752-3 linux-azure, linux-oem, linux-gcp vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-3752-2 linux-hwe vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- DLA-1422-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1423-1 linux-4.9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- USN-3752-2 vendor-advisory
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1422-1] linux security update mailing-list
- https://twitter.com/efrmv/status/1001574894273007616
- USN-3752-3 vendor-advisory
- [debian-lts-announce] 20180715 [SECURITY] [DLA 1422-2] linux security update mailing-list
- [debian-lts-announce] 20180718 [SECURITY] [DLA 1423-1] linux-4.9 new package mailing-list
- https://github.com/torvalds/linux/commit/f7068114d45ec55996b9040e98111afa56e010fe
- RHSA-2018:2948 vendor-advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f7068114d45ec55996b9040e98111afa56e010fe
- USN-3752-1 vendor-advisory