5.5medium
netfilter: nf_tables: don't unregister hook when table is dormant
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b9703ed44ffbfba85c103b9de01886a225e14b38 before 6134d1ea1e1408e8e7c8c26545b3b301cbdf1eda, from b9703ed44ffbfba85c103b9de01886a225e14b38 before feb1fa2a03a27fec7001e93e4223be4120d1784b, from b9703ed44ffbfba85c103b9de01886a225e14b38 before 03d1fb457b696c18fe15661440c4f052b2374e7e, from b9703ed44ffbfba85c103b9de01886a225e14b38 before ce571eba07d54e3637bf334bc48376fbfa55defe, from b9703ed44ffbfba85c103b9de01886a225e14b38 before 688c15017d5cd5aac882400782e7213d40dc3556, d131ce7a319d3bff68d5a9d5509bb22e4ce33946, from 6.3.3 before 6.4, 6.4 Not affected: before 6.4, from 6.6.87 up to 6.6.*, from 6.12.23 up to 6.12.*, from 6.13.11 up to 6.13.*, from 6.14.2 up to 6.14.*, from 6.15 up to * | CVE List |
| linux 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 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: nf_tables: no anular el registro del gancho cuando la tabla está inactiva. Cuando nf_tables_updchain detecta un error, es necesario revertir el registro del gancho. Esto solo debe hacerse si el gancho ya está registrado, lo cual no ocurrirá si la tabla está inactiva. Simplemente mueva la asignación al bloque de registro.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22064 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2025-22064 changed 2026-06-17 | Public domain |