CVE-2025-22064 netfilter: nf_tables: don't unregister hook when table is dormant
A logic error in Linux kernel nf_tables allows a denial of service when unregistering hooks for dormant tables due to improper state handling.
- 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-2025-22064?
CVE-2025-22064 is a medium-severity vulnerability in Linux kernel, published on 16 Apr 2025. 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: nf_tables: don't unregister hook when table is dormant
When nf_tables_updchain encounters an error, hook registration needs to be rolled back.
This should only be done if the hook has been registered, which won't happen when the table is flagged as dormant (inactive).
Just move the assignment into the registration block.
Which versions are affected by CVE-2025-22064?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-22064?
Apply the vendor's patch.
Is CVE-2025-22064 being exploited?
There is no known exploitation of CVE-2025-22064 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-22064, DEBIAN-CVE-2025-22064, GHSA-wv2q-ghh7-v3v5, ROOT-OS-UBUNTU-2404-CVE-2025-22064, UBUNTU-CVE-2025-22064.