CVE-2025-21826

netfilter: nf_tables: reject mismatching sum of field_len with set key length

MEDIUM
5.5
CVSS Score
Published: March 6, 2025 at 04:04 PM UTC
Updated: October 15, 2026 at 01:04 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

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.2%

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: reject mismatching sum of field_len with set key length The field length description provides the length of each separated key field in the concatenation, each field gets rounded up to 32-bits to calculate the pipapo rule width from pipapo_init(). The set key length provides the total size of the key aligned to 32-bits. Register-based arithmetics still allows for combining mismatching set key length and field length description, eg. set key length 10 and field description [ 5, 4 ] leading to pipapo width of 12.

Affected

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

v ≥ 6.7.25.10.209 ≤ v < 5.10.2355.15.148 ≤ v < 5.15.1796.1.75 ≤ v < 6.1.1296.13 ≤ v < 6.13.26.6.14 ≤ v < 6.6.766.7.2 ≤ v < 6.12.136.7.2 ≤ v < 6.86.8 ≤ v < 6.12.136.8 ≤ v < 6.13.26.8 ≤ v < 6.142d4c0798a1ef8db15b3277697ac2def4eda423123ce67e3793f48c1b9635beb9bb71116ca1e51b585.10.2095.15.1486.1.756.6.146.7.26.877be8c495a3f841e88b46508cc20d3d7d3289da39cb084df01e198119de477ac691d682fb01e80f3dc45bb00e66a33de1abb29e3d587880e1d4d9a7eff67e3e488090908dc015ba04d7407d8bd467f7e
Vendor states this is fixed in 1b9335a8000fb70742f7db10af314104b6ace220 (fixed)
Vendor states this is fixed in 2ac254343d3cf228ae0738b2615fedf85d000752 (fixed)
Vendor states this is fixed in 49b7182b97bafbd5645414aff054b4a65d05823d (fixed)
Vendor states this is fixed in 5083a7ae45003456c253e981b30a43f71230b4a3 (fixed)
Vendor states this is fixed in 6b467c8feac759f4c5c86d708beca2aa2b29584f (fixed)
Vendor states this is fixed in 82e491e085719068179ff6a5466b7387cc4bbf32 (fixed)
Vendor states this is fixed in ab50d0eff4a939d20c37721fd9766347efcdb6f6 (fixed)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.13 (unaffected)
Vendor states this is fixed in 6.13.2 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.76 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1b9335a8000fb70742f7db10af314104b6ace220
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2ac254343d3cf228ae0738b2615fedf85d000752
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/49b7182b97bafbd5645414aff054b4a65d05823d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5083a7ae45003456c253e981b30a43f71230b4a3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6b467c8feac759f4c5c86d708beca2aa2b29584f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/82e491e085719068179ff6a5466b7387cc4bbf32
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ab50d0eff4a939d20c37721fd9766347efcdb6f6
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html

CVSS

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

Quick Info

StatusMODIFIED
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