Description
The do_shmat function in ipc/shm.c in the Linux kernel through 4.9.12 does not restrict the address calculated by a certain rounding operation, which allows local users to map page zero, and consequently bypass a protection mechanism that exists for the mmap system call, by making crafted shmget and shmat system calls in a privileged context.
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.9.13-1 | — |
| Debian 13 | linux | 4.9.13-1 | — |
| Debian 12 | linux | 4.9.13-1 | — |
| Debian 8 | linux | 3.16.39-1+deb8u2 | DSA-3804-1 |
| Debian 7 | linux | 3.2.86-1 | DLA-849-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-gcp +4 | No fix yet | — |
| Ubuntu 16.04 LTS | linux | 4.4.0-75.96 | USN-3265-1 |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1016.25 | USN-3265-1 |
| Ubuntu 16.04 LTS | linux-gke | 4.4.0-1012.12 | USN-3265-1 |
| Ubuntu 16.04 LTS | linux-hwe | 4.10.0-32.36~16.04.1 | USN-3361-1 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1054.61 | USN-3265-1 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1057.61 | USN-3265-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | linux | 3.13.0-142.191 | USN-3583-1 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-75.96~14.04.1 | USN-3265-2 |
| Ubuntu Pro 20.04 LTS | linux-azure-fde-5.15 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | kernel-docs | 3.12.74-60.64.40.4 | SUSE-SU-2017:1360-1 |
| SLES 12 SP1 | kernel-xen +4 | 3.12.74-60.64.40.1 | SUSE-SU-2017:1360-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.61-52.72.1 | SUSE-SU-2017:1360-1, SUSE-SU-2017:1247-1 |
| SLES 12 | kgraft-patch-SLE12_Update_21 | 1-2.1 | SUSE-SU-2017:1247-1 |
| SLES 11 SP4 | kernel-docs | 3.0.101-100.2 | SUSE-SU-2017:1301-1 |
| SLES 11 SP4 | kernel-ec2 +8 | 3.0.101-100.1 | SUSE-SU-2017:1301-1 |
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.106.5.1 | SUSE-SU-2017:2525-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.74-60.64.40.1 | SUSE-SU-2017:1360-1 |
| SLES for SAP 12 | kernel-xen +3 | 3.12.61-52.72.1 | SUSE-SU-2017:1247-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_21 | 1-2.1 | SUSE-SU-2017:1247-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-100.1 | SUSE-SU-2017:1301-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-69.5.1 | SUSE-SU-2017:2342-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_15 | 1-4.1 | SUSE-SU-2017:1360-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.106.5.1 | SUSE-SU-2017:2525-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.18.2.el6uek | 0.4.5-3.el6 | ELSA-2017-3566 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.18.2.el7uek | 0.4.5-3.el7 | ELSA-2017-3566 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.18.2.el7uek | ELSA-2017-3566 |
Advisories 12
- USN-3361-1 linux-hwe vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-3583-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-3265-1 linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-849-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3804-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3265-2 linux-lts-xenial vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2017:1247-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2525-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1360-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1301-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2342-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2017-3566 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · May 16, 2017
References
- USN-3583-2 vendor-advisory
- USN-3583-1 vendor-advisory
- 1037918 vdb-entry
- 96754 vdb-entry
- DSA-3804 vendor-advisory
- https://bugzilla.kernel.org/show_bug.cgi?id=192931
- https://github.com/torvalds/linux/commit/95e91b831f87ac8e1f8ed50c14d709089b4e01b8
- https://github.com/torvalds/linux/commit/e1d35d4dc7f089e6c9c080d556feedf9c706f0c7