Description
net/xfrm/xfrm_policy.c in the Linux kernel through 4.12.3, when CONFIG_XFRM_MIGRATE is enabled, does not ensure that the dir value of xfrm_userpolicy_id is XFRM_POLICY_MAX or less, which allows local users to cause a denial of service (out-of-bounds access) or possibly have unspecified other impact via an XFRM_MSG_MIGRATE xfrm Netlink message.
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.12.6-1 | — |
| Debian 13 | linux | 4.12.6-1 | — |
| Debian 12 | linux | 4.12.6-1 | — |
| Debian 9 | linux | 4.9.30-2+deb9u5 | DSA-3981-1 |
| Debian 8 | linux | 3.16.43-2+deb8u5 | DSA-3981-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | linux | 3.2.93-1 | DLA-1099-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-azure | 4.13.0-1005.7 | — |
| Ubuntu 16.04 LTS | linux-gcp | 4.13.0-1002.5 | — |
| Ubuntu 16.04 LTS | linux-hwe | 4.13.0-32.35~16.04.1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +10 | 3.10.0-862.6.3.rt56.811.el7 | RHSA-2018:2003 |
| RHEL 7 | perf +18 | 3.10.0-862.6.3.el7 | RHSA-2018:1965 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7.4 EUS | perf +17 | 3.10.0-693.47.2.el7 | RHSA-2019:1170 |
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-693.47.2.rt56.641.el6rt | RHSA-2019:1190 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | kernel-docs +4 | 4.4.103-6.33.1 | SUSE-SU-2017:3398-1 |
| SLES 12 SP2 | kernel-docs +4 | 4.4.103-92.53.1 | SUSE-SU-2017:3410-1 |
| SLES 12 SP2 | kgraft-patch-SLE12-SP2_Update_13 | 11-2.1 | SUSE-SU-2018:2387-1 |
| SLES 12 SP1 | kernel-xen +3 | 3.12.74-60.64.69.1 | SUSE-SU-2018:0031-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_20 | 11-2.1 | SUSE-SU-2018:2355-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_21 | 10-2.1 | SUSE-SU-2018:2350-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_22 | 8-2.1 | SUSE-SU-2018:2353-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_23 | 7-2.1 | SUSE-SU-2018:2367-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_24 | 1-2.3.1 | SUSE-SU-2018:0031-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.61-52.111.1 | SUSE-SU-2018:0115-1, SUSE-SU-2018:0031-1 |
| SLES 12 | kgraft-patch-SLE12_Update_26 | 11-2.1 | SUSE-SU-2018:2352-1 |
| SLES 12 | kgraft-patch-SLE12_Update_27 | 10-2.1 | SUSE-SU-2018:2346-1 |
| SLES 12 | kgraft-patch-SLE12_Update_28 +1 | 8-2.1 | SUSE-SU-2018:2351-1, SUSE-SU-2018:2347-1 |
| SLES 11 SP4 | kernel-docs | 3.0.101-108.21.2 | SUSE-SU-2018:0011-1 |
| SLES 11 SP4 | kernel-ec2 +8 | 3.0.101-108.21.1 | SUSE-SU-2018:0011-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.106.11.1 | SUSE-SU-2018:0040-1 |
| SLES for SAP 12 SP3 | kernel-syms +2 | 4.4.103-6.33.1 | SUSE-SU-2017:3398-1 |
| SLES for SAP 12 SP2 | kernel-syms +2 | 4.4.103-92.53.1 | SUSE-SU-2017:3410-1 |
| SLES for SAP 12 SP2 | kgraft-patch-SLE12-SP2_Update_13 | 11-2.1 | SUSE-SU-2018:2387-1 |
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.74-60.64.69.1 | SUSE-SU-2018:0031-1 |
| SLES for SAP 12 SP1 | kgraft-patch-SLE12-SP1_Update_20 | 11-2.1 | SUSE-SU-2018:2355-1 |
| SLES for SAP 12 SP1 | kgraft-patch-SLE12-SP1_Update_21 | 10-2.1 | SUSE-SU-2018:2350-1 |
| SLES for SAP 12 SP1 | kgraft-patch-SLE12-SP1_Update_22 | 8-2.1 | SUSE-SU-2018:2353-1 |
| SLES for SAP 12 SP1 | kgraft-patch-SLE12-SP1_Update_23 | 7-2.1 | SUSE-SU-2018:2367-1 |
| SLES for SAP 12 SP1 | kgraft-patch-SLE12-SP1_Update_24 | 1-2.3.1 | SUSE-SU-2018:0031-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-108.21.1 | SUSE-SU-2018:0011-1 |
| SLE Real Time 12 SP2 | kernel-rt +3 | 4.4.104-24.1 | SUSE-SU-2018:0213-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-69.14.1 | SUSE-SU-2018:0180-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_1 | 11-2.1 | SUSE-SU-2018:2413-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_2 +1 | 10-2.1 | SUSE-SU-2018:2413-1 |
| SLE Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_6 | 1-4.3.1 | SUSE-SU-2017:3398-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_16 | 1-3.3.1 | SUSE-SU-2017:3410-1 |
| SUSE OpenStack Cloud 6 | kernel-xen +3 | 3.12.74-60.64.69.1 | SUSE-SU-2018:0031-1 |
| SUSE OpenStack Cloud 6 | kgraft-patch-SLE12-SP1_Update_24 | 1-2.3.1 | SUSE-SU-2018:0031-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.106.11.1 | SUSE-SU-2018:0040-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.22.1.el6uek | 0.4.5-3.el6 | ELSA-2018-4164 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.22.1.el7uek | 0.4.5-3.el7 | ELSA-2018-4164 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.22.1.el7uek | ELSA-2018-4164, ELSA-2018-4161 |
| Oracle Linux 7 | perf +11 | 3.10.0-862.6.3.el7 | ELSA-2018-1965 |
Advisories 27
- RHSA-2019:1190 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2019:1170 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:2003 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:1965 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-3981-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1099-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:2387-1 Security update for the Linux Kernel (Live Patch 13 for SLE 12 SP2) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:3410-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0213-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0115-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2353-1 Security update for the Linux Kernel (Live Patch 22 for SLE 12 SP1) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:3398-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2367-1 Security update for the Linux Kernel (Live Patch 23 for SLE 12 SP1) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0040-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2352-1 Security update for the Linux Kernel (Live Patch 26 for SLE 12) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0031-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2347-1 Security update for the Linux Kernel (Live Patch 29 for SLE 12) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2413-1 Security update for the Linux Kernel (Live Patch 2 for SLE 12 SP3) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2355-1 Security update for the Linux Kernel (Live Patch 20 for SLE 12 SP1) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2350-1 Security update for the Linux Kernel (Live Patch 21 for SLE 12 SP1) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2351-1 Security update for the Linux Kernel (Live Patch 28 for SLE 12) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0180-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0011-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2346-1 Security update for the Linux Kernel (Live Patch 27 for SLE 12) SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2018-4164 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jul 10, 2018
- ELSA-2018-4161 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jul 10, 2018
- ELSA-2018-1965 Important: kernel security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 27, 2018
References
- RHSA-2018:2003 vendor-advisory
- SUSE-SU-2018:0011 vendor-advisory
- RHSA-2018:1965 vendor-advisory
- 99928 vdb-entry
- DSA-3981 vendor-advisory
- https://source.android.com/security/bulletin/pixel/2017-11-01
- http://seclists.org/bugtraq/2017/Jul/30
- RHSA-2019:1170 vendor-advisory
- RHSA-2019:1190 vendor-advisory