Vulnerabilities · 2025 · Linux
CVE-2025-21826
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1b9335a8000fb70742f7db10af314104b6ace220 · Patch
- git.kernel.org/stable/c/2ac254343d3cf228ae0738b2615fedf85d000752 · Patch
- git.kernel.org/stable/c/49b7182b97bafbd5645414aff054b4a65d05823d · Patch
- git.kernel.org/stable/c/5083a7ae45003456c253e981b30a43f71230b4a3 · Patch
- git.kernel.org/stable/c/6b467c8feac759f4c5c86d708beca2aa2b29584f · Patch
- git.kernel.org/stable/c/82e491e085719068179ff6a5466b7387cc4bbf32 · Patch
- git.kernel.org/stable/c/ab50d0eff4a939d20c37721fd9766347efcdb6f6 · Patch
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- nvd.nist.gov/vuln/detail/CVE-2025-21826
- cve.org/CVERecord?id=CVE-2025-21826
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.