Description
Linux Kernel version 3.18 to 4.16 incorrectly handles an SG_IO ioctl on /dev/sg0 with dxfer_direction=SG_DXFER_FROM_DEV and an empty 6-byte cmdp. This may lead to copying up to 1000 kernel heap pages to the userspace. This has been fixed upstream in https://github.com/torvalds/linux/commit/a45b599ad808c3c982fdcdc12b0b8611c2f92824 already. The problem has limited scope, as users don't usually have permissions to access SCSI devices. On the other hand, e.g. the Nero user manual suggests doing `chmod o+r+w /dev/sg*` to make the devices accessible. NOTE: third parties dispute the relevance of this report, noting that the requirement for an attacker to have both the CAP_SYS_ADMIN and CAP_SYS_RAWIO capabilities makes it "virtually impossible to exploit.
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.12-1 | — |
| Debian 13 | linux | 4.16.12-1 | — |
| Debian 12 | linux | 4.16.12-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 24.04 LTS | linux-gcp-6.11 +4 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| 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 | 4.4.0-130.156 | USN-3696-1 |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1062.71 | USN-3696-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 |
| Ubuntu 16.04 LTS | linux-kvm | 4.4.0-1029.34 | USN-3696-1 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1092.100 | USN-3696-1 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1095.100 | USN-3696-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | linux | 3.13.0-157.207 | USN-3754-1 |
| Ubuntu 14.04 LTS | linux-aws | 4.4.0-1024.25 | USN-3696-2 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-130.156~14.04.1 | USN-3696-2 |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | 4.4.0-1008.10 | — |
| Ubuntu Pro 20.04 LTS | linux-azure-fde-5.15 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | perf +14 | 4.14.0-115.el7a | RHSA-2018:2948 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | kernel-docs +6 | 4.12.14-25.3.1 | SUSE-SU-2018:2092-1 |
| SLES 12 SP3 | kernel-docs +1 | 4.4.178-94.91.2 | SUSE-SU-2019:1245-1 |
| SLES 12 SP3 | kernel-syms +2 | 4.4.178-94.91.1 | SUSE-SU-2019:1245-1 |
| SLES 12 SP2 | kernel-syms +2 | 4.4.121-92.85.1 | SUSE-SU-2018:1855-2, SUSE-SU-2018:1855-1 |
| SLES 12 SP2 | kgraft-patch-SLE12-SP2_Update_23 | 1-3.5.1 | SUSE-SU-2018:1855-2, SUSE-SU-2018:1855-1 |
| SLES 12 SP1 | kernel-xen +3 | 3.12.74-60.64.96.1 | SUSE-SU-2018:1761-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_29 | 1-2.3.1 | SUSE-SU-2018:1761-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.61-52.136.1 | SUSE-SU-2018:1762-1, SUSE-SU-2018:1761-1 |
| SLES 12 | kgraft-patch-SLE12_Update_36 | 1-1.3.1 | SUSE-SU-2018:1762-1 |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | kernel-ec2 +9 | 3.0.101-108.68.1 | SUSE-SU-2018:2332-1 |
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.106.43.1 | SUSE-SU-2018:2366-1 |
| SLES for SAP 12 SP3 | kernel-default | 4.4.178-94.91.2 | SUSE-SU-2019:1245-1 |
| SLES for SAP 12 SP3 | kernel-syms +1 | 4.4.178-94.91.1 | SUSE-SU-2019:1245-1 |
| SLES for SAP 12 SP2 | kernel-syms +2 | 4.4.121-92.85.1 | SUSE-SU-2018:1855-1 |
| SLES for SAP 12 SP2 | kgraft-patch-SLE12-SP2_Update_23 | 1-3.5.1 | SUSE-SU-2018:1855-1 |
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.74-60.64.96.1 | SUSE-SU-2018:1761-1 |
| SLES for SAP 12 SP1 | kgraft-patch-SLE12-SP1_Update_29 | 1-2.3.1 | SUSE-SU-2018:1761-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-108.68.1 | SUSE-SU-2018:2332-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-69.33.1 | SUSE-SU-2018:2637-1 |
| SLE Live Patching 15 | kernel-default | 4.12.14-25.3.1 | SUSE-SU-2018:2092-1 |
| SLE Live Patching 15 | kernel-livepatch-SLE15_Update_1 | 1-1.3.1 | SUSE-SU-2018:2092-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_25 | 1-4.3.1 | SUSE-SU-2019:1245-1 |
| SUSE OpenStack Cloud 7 | kernel-syms +2 | 4.4.121-92.85.1 | SUSE-SU-2018:1855-1 |
| SUSE OpenStack Cloud 7 | kgraft-patch-SLE12-SP2_Update_23 | 1-3.5.1 | SUSE-SU-2018:1855-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.106.43.1 | SUSE-SU-2018:2366-1 |
| SUSE Enterprise Storage 4 | kernel-syms +2 | 4.4.121-92.85.1 | SUSE-SU-2018:1855-1 |
| SUSE Enterprise Storage 4 | kgraft-patch-SLE12-SP2_Update_23 | 1-3.5.1 | SUSE-SU-2018:1855-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | kernel-uek +34 | 6.12.0-108.64.6.3.el10uek | ELSA-2026-50112 |
| Oracle Linux 8 | bpftool +18 | 5.15.0-317.197.5.1.el9uek | ELSA-2026-50113 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.28.1.el6uek +1 | 0.4.5-3.el6 | ELSA-2019-4316, ELSA-2018-4300 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.28.1.el7uek +1 | 0.4.5-3.el7 | ELSA-2019-4316, ELSA-2018-4300 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.28.1.el7uek | ELSA-2019-4316, ELSA-2018-4300, ELSA-2018-4288 |
Advisories 24
- WID-SEC-2025-2868 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- RHSA-2018:2948 Red Hat Security Advisory: kernel-alt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- USN-3754-1 linux vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 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
- USN-3696-1 linux, linux-aws, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 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
- ELSA-2026-50112 Important: Unbreakable Enterprise kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Feb 20, 2026
- ELSA-2026-50113 Important: Unbreakable Enterprise kernel security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Feb 15, 2026
- USN-3696-2 linux-lts-xenial, linux-aws vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2018:1855-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2092-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1762-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2366-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:1245-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1855-2 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2332-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1761-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2018:2637-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2019-4316 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 4, 2019
- ELSA-2018-4300 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Dec 6, 2018
- ELSA-2018-4288 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 28, 2018
References
- USN-3752-2 vendor-advisory
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1422-1] linux security update mailing-list
- USN-3696-1 vendor-advisory
- USN-3752-3 vendor-advisory
- [debian-lts-announce] 20180715 [SECURITY] [DLA 1422-2] linux security update mailing-list
- http://www.openwall.com/lists/oss-security/2018/06/26/3
- USN-3754-1 vendor-advisory
- [debian-lts-announce] 20180718 [SECURITY] [DLA 1423-1] linux-4.9 new package mailing-list
- RHSA-2018:2948 vendor-advisory
- https://github.com/torvalds/linux/commit/a45b599ad808c3c982fdcdc12b0b8611c2f92824
- USN-3696-2 vendor-advisory
- USN-3752-1 vendor-advisory
- openSUSE-SU-2019:1407 vendor-advisory