CVE-2026-64079

Source
https://cve.org/CVERecord?id=CVE-2026-64079
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64079.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64079
Downstream
Published
2026-07-19T15:39:52.192Z
Modified
2026-07-21T03:47:54.620785340Z
Summary
netfilter: x_tables: allocate hook ops while under mutex
Details

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

netfilter: x_tables: allocate hook ops while under mutex

arp/ip(6)tregistertable() add the table to the per-netns list via xtregistertable() 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 preexit callback finds the table via xtfindtable() and passes the NULL ops pointer to nfunregisternethooks(), causing a NULL dereference:

general protection fault in nfunregisternethooks+0xbc/0x150 RIP: nfunregisternethooks (net/netfilter/core.c:613) Call Trace: iptunregistertablepreexit iptablemanglenetpreexit opspreexitlist cleanupnet

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. nfregisternethooks might have published at least one hook; call synchronizercu() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64079.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ae689334225ff0e4ef112459ecd24aea932c2b00
Fixed
2f92c5f923979f37ab1d5445381e4b8378a196cc
Fixed
b62eb8dcf2c47d4d676a434efbd57c4f776f7829

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64079.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.13.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64079.json"