netfilter: nf_tables: don't unregister hook when table is dormant (Linux Linux)

CVE-2025-22064
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected b9703ed44ffbfba85c103b9de01886a225e14b38 < 6134d1ea1e1408e8e7c8c26545b3b301cbdf1eda ; affected b9703ed44ffbfba85c103b9de01886a225e14b38 < feb1fa2a03a27fec7001e93e4223be4120d1784b ; affected b9703ed44ffbfba85c103b9de01886a225e14b38 < 03d1fb457b696c18fe15661440c4f052b2374e7e ; affected b9703ed44ffbfba85c103b9de01886a225e14b38 < ce571eba07d54e3637bf334bc48376fbfa55defe ; affected b9703ed44ffbfba85c103b9de01886a225e14b38 < 688c15017d5cd5aac882400782e7213d40dc3556 ; affected d131ce7a319d3bff68d5a9d5509bb22e4ce33946
Linux · Linuxaffected 6.4 ; unaffected 0 < 6.4 ; unaffected 6.6.87 ≤ 6.6.* ; unaffected 6.12.23 ≤ 6.12.* ; unaffected 6.13.11 ≤ 6.13.* ; unaffected 6.14.2 ≤ 6.14.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD