Description
net/netfilter/nf_dup_netdev.c in the Linux kernel 5.4 through 5.6.10 allows local users to gain privileges because of a heap out-of-bounds write. This is related to nf_tables_offload.
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 | 5.16.11-1 | — |
| Debian 13 | linux | 5.16.11-1 | — |
| Debian 12 | linux | 5.16.11-1 | — |
| Debian 11 | linux | 5.10.103-1 | DSA-5095-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-realtime +1 | No fix yet | — |
| Ubuntu 20.04 LTS | linux | 5.4.0-104.118 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-aws | 5.4.0-1068.72 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-aws-5.13 +1 | 5.13.0-1017.19~20.04.1 | USN-5317-1 |
| Ubuntu 20.04 LTS | linux-azure | 5.4.0-1072.75 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-azure-fde | 5.4.0-1072.75+cvm1.1 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-bluefield | 5.4.0-1030.33 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-gcp | 5.4.0-1067.71 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-gcp-5.13 | 5.13.0-1019.23~20.04.1 | USN-5317-1 |
| Ubuntu 20.04 LTS | linux-gke | 5.4.0-1065.68 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-gkeop | 5.4.0-1036.37 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-hwe-5.13 | 5.13.0-35.40~20.04.1 | USN-5317-1 |
| Ubuntu 20.04 LTS | linux-ibm | 5.4.0-1017.19 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-intel-5.13 | 5.13.0-1010.10 | USN-5362-1 |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1008.11~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-kvm | 5.4.0-1058.61 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-oem-5.14 | 5.14.0-1027.30 | USN-5317-1 |
| Ubuntu 20.04 LTS | linux-oracle | 5.4.0-1066.71 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-oracle-5.13 | 5.13.0-1021.26~20.04.1 | USN-5317-1 |
| Ubuntu 20.04 LTS | linux-raspi | 5.4.0-1055.62 | USN-5318-1 |
| Ubuntu 20.04 LTS | linux-riscv +16 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-aws-5.4 | 5.4.0-1068.72~18.04.1 | USN-5318-1 |
| Ubuntu 18.04 LTS | linux-azure-5.4 | 5.4.0-1072.75~18.04.1 | USN-5318-1 |
| Ubuntu 18.04 LTS | linux-gcp +11 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp-5.4 | 5.4.0-1067.71~18.04.1 | USN-5318-1 |
| Ubuntu 18.04 LTS | linux-gke-5.4 | 5.4.0-1065.68~18.04.1 | USN-5318-1 |
| Ubuntu 18.04 LTS | linux-gkeop-5.4 | 5.4.0-1036.37~18.04.1 | USN-5318-1 |
| Ubuntu 18.04 LTS | linux-hwe-5.4 | 5.4.0-104.118~18.04.1 | USN-5318-1 |
| Ubuntu 18.04 LTS | linux-ibm-5.4 | 5.4.0-1017.19~18.04.1 | USN-5318-1 |
| Ubuntu 18.04 LTS | linux-oracle-5.4 | 5.4.0-1066.71~18.04.1 | USN-5318-1 |
| Ubuntu 18.04 LTS | linux-raspi-5.4 | 5.4.0-1055.62~18.04.1 | USN-5318-1 |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-aws-fips | 5.4.0-1069.73+fips2 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-azure-fips | 5.4.0-1073.76+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips | 5.4.0-1045.51 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-gcp-fips | 5.4.0-1067.71~20.04.1 | — |
| Ubuntu Pro 20.04 LTS | linux | 5.4.0-105.119 | LSN-0085-1 |
| Ubuntu Pro 20.04 LTS | linux-aws | 5.4.0-1069.73 | LSN-0085-1 |
| Ubuntu Pro 20.04 LTS | linux-azure | 5.4.0-1073.76 | LSN-0085-1 |
| Ubuntu Pro 20.04 LTS | linux-gcp | 5.4.0-1068.72 | LSN-0085-1 |
| Ubuntu Pro 20.04 LTS | linux-gke | 5.4.0-1066.69 | LSN-0085-1 |
| Ubuntu Pro 20.04 LTS | linux-gkeop | 5.4.0-1037.38 | LSN-0085-1 |
| Ubuntu Pro 20.04 LTS | linux-ibm | 5.4.0-1018.20 | LSN-0085-1 |
| Ubuntu Pro 18.04 LTS | linux | 4.15.0-173.182 | LSN-0085-1 |
| Ubuntu Pro 18.04 LTS | linux-aws | 4.15.0-1124.133 | LSN-0085-1 |
| Ubuntu Pro 18.04 LTS | linux-azure-4.15 | 4.15.0-1134.147 | LSN-0085-1 |
| Ubuntu Pro 18.04 LTS | linux-gke-5.4 | 5.4.0-1066.69~18.04.1 | LSN-0085-1 |
| Ubuntu Pro 18.04 LTS | linux-gkeop-5.4 | 5.4.0-1037.38~18.04.1 | LSN-0085-1 |
| Ubuntu Pro 18.04 LTS | linux-hwe-5.4 | 5.4.0-105.119~18.04.1 | LSN-0085-1 |
| Ubuntu Pro 18.04 LTS | linux-ibm-5.4 | 5.4.0-1018.20~18.04.1 | LSN-0085-1 |
| Ubuntu Pro 18.04 LTS | linux-oem +1 | No fix yet | LSN-0085-1 |
| Ubuntu Pro 16.04 LTS | linux | 4.4.0-222.255 | LSN-0085-1 |
| Ubuntu Pro 16.04 LTS | linux-aws | 4.4.0-1138.152 | LSN-0085-1 |
| Ubuntu Pro 16.04 LTS | linux-azure | 4.15.0-1134.147~16.04.1 | LSN-0085-1 |
| Ubuntu Pro 16.04 LTS | linux-hwe | 4.15.0-173.182~16.04.1 | LSN-0085-1 |
| Ubuntu Pro 14.04 LTS | linux-lts-xenial | 4.4.0-222.255~14.04.1 | LSN-0085-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | kernel-rt +12 | 4.18.0-348.23.1.rt7.153.el8_5 | RHSA-2022:1555 |
| RHEL 8 | kpatch-patch-4_18_0-348 | 1-4.el8 | RHSA-2022:1535 |
| RHEL 8 | kpatch-patch-4_18_0-348_12_2 | 1-2.el8_5 | RHSA-2022:1535 |
| RHEL 8 | kpatch-patch-4_18_0-348_20_1 | 1-1.el8_5 | RHSA-2022:1535 |
| RHEL 8 | kpatch-patch-4_18_0-348_2_1 +1 | 1-3.el8_5 | RHSA-2022:1535 |
| RHEL 8 | perf +26 | 4.18.0-348.23.1.el8_5 | RHSA-2022:1550 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhev Hypervisor 4 | redhat-virtualization-host +1 | 4.5.0-202205291010_8.6 | RHSA-2022:4896 |
| RHEL 8.4 EUS | kernel-rt +12 | 4.18.0-305.45.1.rt7.117.el8_4 | RHSA-2022:1413 |
| RHEL 8.4 EUS | kpatch-patch-4_18_0-305 | 1-12.el8 | RHSA-2022:1418 |
| RHEL 8.4 EUS | kpatch-patch-4_18_0-305_10_2 | 1-9.el8_4 | RHSA-2022:1418 |
| RHEL 8.4 EUS | kpatch-patch-4_18_0-305_12_1 | 1-8.el8_4 | RHSA-2022:1418 |
| RHEL 8.4 EUS | kpatch-patch-4_18_0-305_17_1 +1 | 1-7.el8_4 | RHSA-2022:1418 |
| RHEL 8.4 EUS | kpatch-patch-4_18_0-305_25_1 | 1-6.el8_4 | RHSA-2022:1418 |
| RHEL 8.4 EUS | kpatch-patch-4_18_0-305_28_1 +1 | 1-4.el8_4 | RHSA-2022:1418 |
| RHEL 8.4 EUS | kpatch-patch-4_18_0-305_34_2 | 1-2.el8_4 | RHSA-2022:1418 |
| RHEL 8.4 EUS | kpatch-patch-4_18_0-305_3_1 | 1-11.el8_4 | RHSA-2022:1418 |
| RHEL 8.4 EUS | kpatch-patch-4_18_0-305_40_1 +1 | 1-1.el8_4 | RHSA-2022:1418 |
| RHEL 8.4 EUS | kpatch-patch-4_18_0-305_7_1 | 1-10.el8_4 | RHSA-2022:1418 |
| RHEL 8.4 EUS | perf +26 | 4.18.0-305.45.1.el8_4 | RHSA-2022:1455 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | kernel-tools-libs-devel | 4.18.0-348.23.1.el8_5 | ALSA-2022:1550 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | kernel | 4.18.0-348.23.1.el8_5 | RLSA-2022:1550 |
| Rocky Linux 8 | kernel-rt | 4.18.0-348.23.1.rt7.153.el8_5 | RLSA-2022:1555 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | kernel-64kb +7 | 5.3.18-150300.59.60.4 | SUSE-SU-2022:1039-1 |
| SLES 15 SP3 | kernel-azure +2 | 5.3.18-150300.38.50.1 | SUSE-SU-2022:1037-1 |
| SLES 15 SP3 | kernel-default-base | 5.3.18-150300.59.60.4.150300.18.37.5 | SUSE-SU-2022:1039-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.1 | kernel-default | 5.3.18-150300.59.60.4 | SUSE-SU-2022:1039-1 |
| SLE Micro 5.1 | kernel-default-base | 5.3.18-150300.59.60.4.150300.18.37.5 | SUSE-SU-2022:1039-1 |
| SLE Micro 5.1 | kernel-rt | 5.3.18-150300.82.1 | SUSE-SU-2022:1038-1 |
| SLE Live Patching 15 SP3 | kernel-default | 5.3.18-150300.59.60.4 | SUSE-SU-2022:1039-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_0 | 13-150200.3.1 | SUSE-SU-2022:0978-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_1 +2 | 11-150300.2.1 | SUSE-SU-2022:0978-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_10 +1 | 5-150300.2.1 | SUSE-SU-2022:0998-1, SUSE-SU-2022:0984-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_12 +1 | 4-150300.2.1 | SUSE-SU-2022:0998-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_14 | 3-150300.2.1 | SUSE-SU-2022:0998-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_15 | 2-150300.2.1 | SUSE-SU-2022:1034-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_16 | 1-150300.7.5.3 | SUSE-SU-2022:1039-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_4 | 10-150300.2.1 | SUSE-SU-2022:0978-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_5 | 9-150300.2.1 | SUSE-SU-2022:0984-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_6 +1 | 7-150300.2.1 | SUSE-SU-2022:0984-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_9 | 6-150300.2.1 | SUSE-SU-2022:0984-1 |
| SUSE Real Time Module 15 SP3 | kernel-rt +3 | 5.3.18-150300.82.1 | SUSE-SU-2022:1038-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | dtb-aarch64 +11 | 5.3.18-150300.59.60.4 | openSUSE-SU-2022:1039-1 |
| openSUSE Leap 15.3 | kernel-azure +2 | 5.3.18-150300.38.50.1 | openSUSE-SU-2022:1037-1 |
| openSUSE Leap 15.3 | kernel-default-base | 5.3.18-150300.59.60.4.150300.18.37.5 | openSUSE-SU-2022:1039-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | kernel-livepatch-6.1.10-15.42 | 1.0-0.amzn2023 | ALAS2023-2023-070 |
| Amazon Linux 2023 | perf +12 | 6.1.10-15.42.amzn2023 | ALAS2023-2023-070 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | perf +19 | 4.18.0-348.23.1.el8_5 | ELSA-2022-1550 |
| Oracle Linux 7 | kernel-uek +4 | 5.4.17-2136.304.4.2.el8uek | ELSA-2022-9244, ELSA-2022-9181 |
| Oracle Linux 7 | kernel-uek-container +1 | 5.4.17-2136.304.4.2.el8 | ELSA-2022-9245, ELSA-2022-9182 |
| Oracle Linux 7 | perf +3 | 5.4.17-2136.304.4.2.el7uek | ELSA-2022-9244, ELSA-2022-9181 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
Bonfee/CVE-2022-25636 ★ 438 · Mar 7, 2022
CVE-2022-25636
-
veritas501/CVE-2022-25636-PipeVersion ★ 19 · Apr 5, 2022
CVE-2022-25636 exploit rewritten with pipe primitive
-
chenaotian/CVE-2022-25636 ★ 3 · Mar 24, 2022
CVE-2022-0185 analysis write up
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 30
- ALSA-2022:1550 Important: kernel security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:4896 Red Hat Security Advisory: Red Hat Virtualization security, bug fix, and enhancement update [ovirt-4.5.0] Red Hat Security Advisories (RHSA) · Oct 9, 2026
- USN-5362-1 linux-intel-5.13 vulnerabilities Ubuntu Security Notices (USN) · Sep 14, 2026
- RHSA-2022:1550 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2022:1555 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2022:1535 Red Hat Security Advisory: kpatch-patch security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2022:1418 Red Hat Security Advisory: kpatch-patch security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2022:1455 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2022:1413 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- USN-5317-1 linux, linux-aws, linux-aws-5.13, linux-azure, linux-azure-5.13, linux-gcp, linux-gcp-5.13, linux-hwe-5.13, linux-kvm, linux-oem-5.14, linux-oracle, linux-oracle-5.13, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-5318-1 linux, linux-aws, linux-aws-5.4, linux-azure, linux-azure-5.4, linux-azure-fde, linux-bluefield, linux-gcp, linux-gcp-5.4, linux-gke, linux-gke-5.4, linux-gkeop, linux-gkeop-5.4, linux-hwe-5.4, linux-ibm, linux-ibm-5.4, linux-kvm, linux-oracle, linux-oracle-5.4, linux-raspi, linux-raspi-5.4 vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- LSN-0085-1 Kernel Live Patch Security Notice Ubuntu Security Notices (USN) · Jun 3, 2026
- DSA-5095-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:1550 Important: kernel security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2022:1555 Important: kernel-rt security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2022:1037-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1038-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:1039-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0984-1 Security update for the Linux Kernel (Live Patch 10 for SLE 15 SP3) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1034-1 Security update for the Linux Kernel (Live Patch 15 for SLE 15 SP3) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1037-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1039-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0978-1 Security update for the Linux Kernel (Live Patch 4 for SLE 15 SP3) SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0998-1 Security update for the Linux Kernel (Live Patch 14 for SLE 15 SP3) SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2023-2023-070 Important: kernel security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 10, 2024
- ELSA-2022-1550 Important: kernel security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 27, 2022
- ELSA-2022-9244 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 23, 2022
- ELSA-2022-9245 Important: Unbreakable Enterprise kernel-container security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 23, 2022
- ELSA-2022-9182 Important: Unbreakable Enterprise kernel-container security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Feb 28, 2022
- ELSA-2022-9181 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Feb 28, 2022
References
- https://www.openwall.com/lists/oss-security/2022/02/21/2
- https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git/commit/?id=b1a5983f56e371046dcf164f90bfaf704d2b89f6
- [oss-security] 20220222 Re: Linux kernel: heap out of bounds write in nf_dup_netdev.c since 5.4 mailing-list
- DSA-5095 vendor-advisory
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://nickgregory.me/linux/security/2022/03/12/cve-2022-25636/
- https://github.com/Bonfee/CVE-2022-25636
- http://packetstormsecurity.com/files/166444/Kernel-Live-Patch-Security-Notice-LSN-0085-1.html
- https://security.netapp.com/advisory/ntap-20220325-0002/