Description
The sg_ioctl function in drivers/scsi/sg.c in the Linux kernel before 4.13.4 allows local users to obtain sensitive information from uninitialized kernel heap-memory locations via an SG_GET_REQUEST_TABLE ioctl call for /dev/sg0.
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.13.4-1 | — |
| Debian 13 | linux | 4.13.4-1 | — |
| Debian 12 | linux | 4.13.4-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 16.04 LTS | linux | 4.4.0-98.121 | USN-3469-1 |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1039.48 | USN-3469-1 |
| Ubuntu 16.04 LTS | linux-azure | 4.13.0-1005.7 | — |
| Ubuntu 16.04 LTS | linux-gcp | 4.13.0-1002.5 | — |
| Ubuntu 16.04 LTS | linux-gke | 4.4.0-1033.33 | USN-3469-1 |
| Ubuntu 16.04 LTS | linux-hwe | 4.13.0-32.35~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-kvm | 4.4.0-1009.14 | USN-3469-1 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1076.84 | USN-3469-1 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1078.83 | USN-3469-1 |
| Ubuntu 14.04 LTS | linux | 3.13.0-157.207 | USN-3754-1 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-98.121~14.04.1 | USN-3469-2 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.40.1.el6uek | 0.4.5-3.el6 | ELSA-2019-4854 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.40.1.el7uek | 0.4.5-3.el7 | ELSA-2019-4854 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.40.1.el7uek | ELSA-2019-4854, ELSA-2019-4823 |
Advisories 5
- USN-3754-1 linux vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-3469-1 linux, linux-aws, linux-gke, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-3469-2 linux-lts-xenial vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- ELSA-2019-4854 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 20, 2019
- ELSA-2019-4823 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 16, 2019
References
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.4
- https://github.com/torvalds/linux/commit/3e0097499839e0fe3af380410eababe5a47c4cf9
- 101187 vdb-entry
- USN-3754-1 vendor-advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3e0097499839e0fe3af380410eababe5a47c4cf9