Medium severity · published Mar 6, 2025
CVE-2025-21826
netfilter: nf_tables: reject mismatching sum of field_len with set key length
5.5
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 10% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
5.10.209 before 5.10.235; 5.15.148 before 5.15.179; 6.1.75 before 6.1.129; 6.6.14 before 6.6.76; 6.7.2 before 6.12.13; 6.13 before 6.13.2 · source: NVD
LI
Linux · Linux
2d4c0798a1ef8db15b3277697ac2def4eda42312 before 6b467c8feac759f4c5c86d708beca2aa2b29584f; 77be8c495a3f841e88b46508cc20d3d7d3289da3 before 5083a7ae45003456c253e981b30a43f71230b4a3; 9cb084df01e198119de477ac691d682fb01e80f3 before 2ac254343d3cf228ae0738b2615fedf85d000752; dc45bb00e66a33de1abb29e3d587880e1d4d9a7e before 82e491e085719068179ff6a5466b7387cc4bbf32; 3ce67e3793f48c1b9635beb9bb71116ca1e51b58 before 49b7182b97bafbd5645414aff054b4a65d05823d; 3ce67e3793f48c1b9635beb9bb71116ca1e51b58 before ab50d0eff4a939d20c37721fd9766347efcdb6f6; +8 more · source: vendor
SS
SIMATIC S7-1500 TM MFP - BIOS · Siemens
0 · source: CISA
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
0 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-21826
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-21826
Patch
https://git.kernel.org/stable/c/1b9335a8000fb70742f7db10af314104b6ace220
Patch
https://git.kernel.org/stable/c/2ac254343d3cf228ae0738b2615fedf85d000752
Patch
https://git.kernel.org/stable/c/49b7182b97bafbd5645414aff054b4a65d05823d
Patch
https://git.kernel.org/stable/c/5083a7ae45003456c253e981b30a43f71230b4a3
Patch
https://git.kernel.org/stable/c/6b467c8feac759f4c5c86d708beca2aa2b29584f
Patch
https://git.kernel.org/stable/c/82e491e085719068179ff6a5466b7387cc4bbf32
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
