CVE-2025-22064

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

MEDIUM
5.5
CVSS Score
Published: April 16, 2025 at 02:12 PM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.3.36.13 ≤ v < 6.13.116.14 ≤ v < 6.14.26.3.3 ≤ v < 6.46.3.3 ≤ v < 6.6.876.4 ≤ v < 6.12.236.4 ≤ v < 6.13.116.4 ≤ v < 6.14.26.4 ≤ v < 6.156.4 ≤ v < 6.6.876.7 ≤ v < 6.12.236.3.36.4b9703ed44ffbfba85c103b9de01886a225e14b38d131ce7a319d3bff68d5a9d5509bb22e4ce33946
Vendor states this is fixed in 03d1fb457b696c18fe15661440c4f052b2374e7e (fixed)
Vendor states this is fixed in 6134d1ea1e1408e8e7c8c26545b3b301cbdf1eda (fixed)
Vendor states this is fixed in 688c15017d5cd5aac882400782e7213d40dc3556 (fixed)
Vendor states this is fixed in ce571eba07d54e3637bf334bc48376fbfa55defe (fixed)
Vendor states this is fixed in feb1fa2a03a27fec7001e93e4223be4120d1784b (fixed)
Vendor states this is fixed in 6.12.23 (unaffected)
Vendor states this is fixed in 6.13.11 (unaffected)
Vendor states this is fixed in 6.14.2 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)
Vendor states this is fixed in 6.6.87 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/03d1fb457b696c18fe15661440c4f052b2374e7e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6134d1ea1e1408e8e7c8c26545b3b301cbdf1eda
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/688c15017d5cd5aac882400782e7213d40dc3556
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ce571eba07d54e3637bf334bc48376fbfa55defe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/feb1fa2a03a27fec7001e93e4223be4120d1784b

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card