CVE-2025-21826
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
06/03/2025
Last modified:
13/03/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
netfilter: nf_tables: reject mismatching sum of field_len with set key length<br />
<br />
The field length description provides the length of each separated key<br />
field in the concatenation, each field gets rounded up to 32-bits to<br />
calculate the pipapo rule width from pipapo_init(). The set key length<br />
provides the total size of the key aligned to 32-bits.<br />
<br />
Register-based arithmetics still allows for combining mismatching set<br />
key length and field length description, eg. set key length 10 and field<br />
description [ 5, 4 ] leading to pipapo width of 12.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/1b9335a8000fb70742f7db10af314104b6ace220
- https://git.kernel.org/stable/c/2ac254343d3cf228ae0738b2615fedf85d000752
- https://git.kernel.org/stable/c/49b7182b97bafbd5645414aff054b4a65d05823d
- https://git.kernel.org/stable/c/5083a7ae45003456c253e981b30a43f71230b4a3
- https://git.kernel.org/stable/c/6b467c8feac759f4c5c86d708beca2aa2b29584f
- https://git.kernel.org/stable/c/82e491e085719068179ff6a5466b7387cc4bbf32
- https://git.kernel.org/stable/c/ab50d0eff4a939d20c37721fd9766347efcdb6f6