CVE-2026-64079 netfilter: x_tables: allocate hook ops while under mutex

Medium 5.5 Published Updated

A race condition in Linux kernel netfilter allows a NULL pointer dereference during network namespace cleanup, causing a system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-64079?

CVE-2026-64079 is a medium-severity vulnerability in Linux kernel, published on 19 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: x_tables: allocate hook ops while under mutex

arp/ip(6)t_register_table() add the table to the per-netns list via xt_register_table() before allocating the per-netns hook ops copy via kmemdup_array(). This leaves a window where the table is visible in the list with ops=NULL.

If the pernet exit happens runs concurrently the pre_exit callback finds the table via xt_find_table() and passes the NULL ops pointer to nf_unregister_net_hooks(), causing a NULL dereference:

general protection fault in nf_unregister_net_hooks+0xbc/0x150 RIP: nf_unregister_net_hooks (net/netfilter/core.c:613) Call Trace: ipt_unregister_table_pre_exit iptable_mangle_net_pre_exit ops_pre_exit_list cleanup_net

Fix by moving the ops allocation into the xtables core so the table is never in the list without valid ops. Also ensure the table is no longer processing packets before its torn down on error unwind. nf_register_net_hooks might have published at least one hook; call synchronize_rcu() if there was an error.

audit log register message gets deferred until all operations have passed, this avoids need to emit another ureg message in case of error unwinding.

Based on earlier patch by Tristan Madani.

Weakness: CWE-476

Which versions are affected by CVE-2026-64079?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-64079?

Apply the vendor's patch.

Is CVE-2026-64079 being exploited?

There is no known exploitation of CVE-2026-64079 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-92724, BELL-CVE-2026-64079, DEBIAN-CVE-2026-64079, GHSA-vgxq-4vm2-qmp7, ROOT-OS-DEBIAN-12-CVE-2026-64079, ROOT-OS-UBUNTU-2204-CVE-2026-64079 and 1 more.

Is CVE-2026-64079 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free