CVE-2026-53349·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack: destroy stale expectfn expectations on unregister NAT helpers such as nf_nat_h323 store a raw pointer to module text in exp->expectfn (e.g. ip_nat_q931_expect). nf_ct_helper_expectfn_unregister() only unlinks the callback descriptor and never walks the expectation table, so an expectation pending at module removal survives with a dangling exp->expectfn into freed module text. When the expected connection arrives, init_conntrack() invokes exp->expectfn(), now a stale pointer into the unloaded module. Reproduced on a KASAN build by loading the H.323 helpers, creating a Q.931 expectation, unloading nf_nat_h323, then connecting to the expected port: Oops: int3: 0000 [#1] SMP KASAN NOPTI RIP: 0010:0xffffffffa06102d1 init_conntrack.isra.0 (net/netfilter/nf_conntrack_core.c:1862) nf_conntrack_in (net/netfilter/nf_conntrack_core.c:2049) ipv4_conntrack_local (net/netfilter/nf_conntrack_proto.c:223) nf_hook_slow (net/netfilter/core.c:619) __ip_local_out (net/ipv4/ip_output.c:120) __tcp_transmit_skb (net/ipv4/tcp_output.c:1715) tcp_connect (net/ipv4/tcp_output.c:4374) tcp_v4_connect (net/ipv4/tcp_ipv4.c:345) __sys_connect (net/socket.c:2167) Modules linked in: nf_conntrack_h323 [last unloaded: nf_nat_h323] Reaching the dangling state requires CAP_SYS_MODULE in the initial user namespace to remove a NAT helper that still has live expectations, so this is a robustness fix; leaving an expectation pointing at freed text is wrong regardless. Add nf_ct_helper_expectfn_destroy(), which walks the expectation table and drops every expectation whose ->expectfn matches the descriptor being torn down. Call it from each NAT helper's exit path after the existing RCU grace period, so no expectation outlives the code it points at and no extra synchronize_rcu() is introduced. With the fix, the same reproducer runs to completion without the Oops.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.13
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.12% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.13
Fixed in: 7.0.13
How to fix this CVE
Update your Linux kernel to version 7.0.13 or later to resolve this netfilter vulnerability that allows dangling pointers into unloaded NAT helper modules. This fix ensures that stale connection expectations are properly cleaned up when NAT helpers are unregistered, preventing kernel crashes when expected connections arrive after module removal. Apply the update using your distribution's package manager and reboot your system to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version by running: uname -r
- Step 2: Verify if NAT H.323 helpers are loaded with: lsmod | grep -E 'nf_nat_h323|nf_conntrack_h323'
- Step 3: Search kernel logs for module unload events related to nf_nat_h323: sudo journalctl -k | grep -i 'unloading\|rmmod.*h323'
- Step 4: After patching, confirm the new kernel version is active: uname -r should show 7.0.13 or later
FAQ
What is CVE-2026-53349?
This vulnerability affects the Linux kernel's netfilter connection tracking system, where NAT helper modules store raw pointers to module code in expectation callbacks. When these modules are unloaded without properly cleaning up pending expectations, the kernel retains dangling pointers that execute freed code when expected connections arrive.
Is CVE-2026-53349 being actively exploited?
No, this vulnerability is not being actively exploited in the wild. It requires CAP_SYS_MODULE capability to remove NAT helpers, making it primarily a robustness issue affecting servers where kernel modules can be dynamically removed.
What versions of Kernel are affected by CVE-2026-53349?
Linux kernel versions 6.19 through 7.0.12 are vulnerable. Kernel 7.0.13 and later include the fix.
How do I check if my server is vulnerable to CVE-2026-53349?
Run: uname -r && lsmod | grep nf_nat_h323. If your kernel version is between 6.19 and 7.0.12 and the H.323 NAT helper modules are loaded, your system is vulnerable.
Does Defensia detect CVE-2026-53349?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-53349 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/29d8cc44bbdf7b83a1929912214afe6643c1b4f1
- https://git.kernel.org/stable/c/9d017671dcfcec23321fb7962dea624f9e71ddb1
- https://git.kernel.org/stable/c/bf8c0b5dd203be94c2ad50e264cec19267c6bd39
- https://git.kernel.org/stable/c/c3009418f9fa1dcb3eb86f4d8c92583537b5faa3
- https://git.kernel.org/stable/c/f92c90a2a3e6ff6f9f7fe88fde9004b4ca8f956d
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-53349. Free for 1 server.
Get started free