CVE-2025-21826

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21826
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21826.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21826
Downstream
Related
Published
2025-03-06T16:15:54Z
Modified
2025-08-09T20:01:25Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nftables: reject mismatching sum of fieldlen 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.

References

Affected packages