Bug 2350392 (CVE-2025-21826) - CVE-2025-21826 kernel: netfilter: nf_tables: reject mismatching sum of field_len with set key length
Summary: CVE-2025-21826 kernel: netfilter: nf_tables: reject mismatching sum of field_...
Keywords:
Status: NEW
Alias: CVE-2025-21826
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-06 17:01 UTC by OSIDB Bzimport
Modified: 2025-03-06 18:31 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-06 17:01:33 UTC
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.

Comment 1 Mauro Matteo Cascella 2025-03-06 18:26:46 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025030630-CVE-2025-21826-c263@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.