What’s Vulnerable › Vulnerabilities
CVE-2025-22064: netfilter: nf_tables: don't unregister hook when table is dormant
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-16 · updated 2026-06-17
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.
Affected products
- Linux kernel: from 6.3.3 before 6.6.87; from 6.7 before 6.12.23; from 6.13 before 6.13.11; from 6.14 before 6.14.2 — fixed in 6.12.23, 6.13.11, 6.14.2, 6.6.87
How to fix
Upgrade to a fixed version: Linux kernel 6.12.23, 6.13.11, 6.14.2, 6.6.87. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/03d1fb457b696c18fe15661440c4f052b2374e7e
- https://git.kernel.org/stable/c/6134d1ea1e1408e8e7c8c26545b3b301cbdf1eda
- https://git.kernel.org/stable/c/688c15017d5cd5aac882400782e7213d40dc3556
- https://git.kernel.org/stable/c/ce571eba07d54e3637bf334bc48376fbfa55defe
- https://git.kernel.org/stable/c/feb1fa2a03a27fec7001e93e4223be4120d1784b
Get alerted when CVE-2025-22064 or the next vulnerability affects your stack