CVE-2026-72419: netfilter: nf_nat: avoid invalid nat_net pointer use on failed nf_nat_init()
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nfnat: avoid invalid natnet pointer use on failed nfnatinit()
We ran into below KASAN splat, which is mostly uninteresting, beside for having nfnatregisterfn() in the call chain as a cause for the offending access:
================================================================== BUG: KASAN: slab-out-of-bounds in nfnatregisterfn+0x5f9/0x640 Read of size 8 at addr ffff890031e54c20 by task iptables/9510
CPU: 0 UID: 0 PID: 9510 Comm: iptables Not tainted 6.18.18-grsec-full-20260320181326 #1 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: <TASK> […] dumpstacklvl+0xee/0x160 ffff88004117eeb8 […] printreport+0x6e/0x640 ffff88004117eee0 […] ? physaddr+0x8e/0x140 ffff88004117eef0 […] ? kasanaddrtoslab+0x51/0xe0 ffff88004117ef08 […] ? completereportinfo+0xec/0x1c0 ffff88004117ef20 […] ? nfnatregisterfn+0x5f9/0x640 ffff88004117ef48 […] kasanreport+0xbc/0x140 ffff88004117ef50 […] ? nfnatregisterfn+0x5f9/0x640 ffff88004117ef90 […] nfnatregisterfn+0x5f9/0x640 ffff88004117eff8 […] ? nfnaticmpreplytranslation+0x6e0/0x6e0 ffff88004117f070 […] nftablesregisterhook.part.0+0xa0/0x220 ffff88004117f080 […] nftablesaddchain.constprop.0+0x1054/0x1fc0 ffff88004117f0b8 […] ? nftchainlookup.part.0+0x4ce/0xac0 ffff88004117f130 […] ? nftablesabort+0x3d80/0x3d80 ffff88004117f190 […] ? nftablesdumpresetobj+0x100/0x100 ffff88004117f1c8 […] ? nfttablelookup.part.0+0x255/0x300 ffff88004117f310 […] ? nftablesnewchain+0x21a4/0x2fa0 ffff88004117f358 […] nftablesnewchain+0x21a4/0x2fa0 ffff88004117f360 […] ? nftablesaddchain.constprop.0+0x1fc0/0x1fc0 ffff88004117f458 […] ? nlagetrangesigned+0x4a0/0x4a0 ffff88004117f488 […] ? lockacquire+0x16f/0x320 ffff88004117f490 […] ? findheldlock+0x3b/0xe0 ffff88004117f4b0 […] ? nlaparse+0x45/0x80 ffff88004117f500 […] nfnetlinkrcvbatch+0xbca/0x19a0 ffff88004117f550 […] ? nfnetlinknetexitbatch+0x120/0x120 ffff88004117f618 […] ? sanitizercovtraceswitch+0x63/0xe0 ffff88004117f720 […] ? graclhandlemmap+0x1c4/0x320 ffff88004117f7c0 […] ? nlagetrangesigned+0x4a0/0x4a0 ffff88004117f7e8 […] ? griscapable+0x6f/0xe0 ffff88004117f830 […] ? nlaparse+0x45/0x80 ffff88004117f860 […] ? skbpull+0x103/0x1a0 ffff88004117f880 […] nfnetlinkrcv+0x3db/0x4a0 ffff88004117f8b0 […] ? nfnetlinkrcvbatch+0x19a0/0x19a0 ffff88004117f8d8 […] ? netlinklookup+0xe2/0x240 ffff88004117f900 […] netlinkunicast+0x74b/0xb00 ffff88004117f930 […] ? netlinkattachskb+0xb20/0xb20 ffff88004117f980 […] ? checkobjectsize+0x3e/0xaa0 ffff88004117f998 […] ? securitynetlinksend+0x51/0x160 ffff88004117f9c8 […] netlinksendmsg+0xa03/0x1200 ffff88004117f9f8 […] ? netlinkunicast+0xb00/0xb00 ffff88004117fa70 […] ? netlinkunicast+0xb00/0xb00 ffff88004117fac8 […] ? syssendmsg+0xe2a/0x1040 ffff88004117faf8 […] syssendmsg+0xe2a/0x1040 ffff88004117fb00 […] ? kernelrecvmsg+0x300/0x300 ffff88004117fb60 […] ? reacquireheldlocks+0xe9/0x260 ffff88004117fbc8 […] syssendmsg+0x138/0x200 ffff88004117fbf8 […] ? dorecvmmsg+0x7e0/0x7e0 ffff88004117fc30 […] ? lockdephardirqsonprepare+0x101/0x1e0 ffff88004117fc50 […] ? lockacquire+0x16f/0x320 ffff88004117fd20 […] ? lockacquire+0x16f/0x320 ffff88004117fd58 […] ? findheldlock+0x3b/0xe0 ffff88004117fd70 […] syssendmsg+0x17a/0x260 ffff88004117fdc8 […] ? syssendmsgsock+0x80/0x80 ffff88004117fdf0 […] ? syscalltraceenter+0x15e/0x2c0 ffff88004117fe98 […] dosyscall64+0x7d/0x400 ffff88004117fec8 […] entrySYSCALL64safestack+0x4a/0x60 ffff88004117fef8 </TASK> ==================================================================
The out-of-bounds report, though, is a red herring as it is f ---truncated---
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 6.8.0-147.147 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 6.8.0-1067.70 - Upgrade
Upgrade
ubuntu/linux-aws-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1014.14~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 6.8.0-1071.79 - Upgrade
Upgrade
ubuntu/linux-azure-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-fdeto a version that resolves this vulnerability.Fixed in 6.8.0-1069.76 - Upgrade
Upgrade
ubuntu/linux-azure-fde-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1016.16~24.04.1 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 6.8.0-1071.79 - Upgrade
Upgrade
ubuntu/linux-gcp-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1014.14~24.04.1 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 6.8.0-1066.74 - Upgrade
Upgrade
ubuntu/linux-gkeopto a version that resolves this vulnerability.Fixed in 6.8.0-1052.56 - Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-38.38~24.04.4 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 6.8.0-1067.68 - Upgrade
Upgrade
ubuntu/linux-lowlatencyto a version that resolves this vulnerability.Fixed in 6.8.0-147.147.1 - Upgrade
Upgrade
ubuntu/linux-nvidia-tegrato a version that resolves this vulnerability.Fixed in 6.8.0-1036.39 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 6.8.0-1064.67 - Upgrade
Upgrade
ubuntu/linux-oracle-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1013.13~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1~24.04.1 - Upgrade
Upgrade
ubuntu/linux-bluefieldto a version that resolves this vulnerability.Fixed in 6.8.0-1033.38 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 6.8.1-1062.63 - Upgrade
Upgrade
ubuntu/linux-aws-fipsto a version that resolves this vulnerability.Fixed in 6.8.0-1067.70+fips1 - Upgrade
Upgrade
ubuntu/linux-azure-fipsto a version that resolves this vulnerability.Fixed in 6.8.0-1071.79+fips1 - Upgrade
Upgrade
ubuntu/linux-fipsto a version that resolves this vulnerability.Fixed in 6.8.0-147.147+fips1 - Upgrade
Upgrade
ubuntu/linux-gcp-fipsto a version that resolves this vulnerability.Fixed in 6.8.0-1071.79+fips1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-38.38 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-azure-fdeto a version that resolves this vulnerability.Fixed in 7.0.0-1016.16 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 7.0.0-1008.9 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1015.15 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1015.15 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1013.13 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72419?
The severity of CVE-2026-72419 is rated at 34, indicating a medium risk level.
How do I fix CVE-2026-72419?
To resolve CVE-2026-72419, ensure that you upgrade to the patched version of the Linux kernel that addresses this vulnerability.
What systems are affected by CVE-2026-72419?
CVE-2026-72419 affects the Linux kernel, specifically the netfilter module associated with NAT operations.
What type of vulnerability is CVE-2026-72419?
CVE-2026-72419 is classified under CWE XEE, indicating it involves improper handling of a pointer leading to potential system instability.
What are the potential impacts of CVE-2026-72419?
The potential impacts of CVE-2026-72419 include system crashes or disruptions in NAT functionality due to invalid memory access.