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.
Metrics
Affected Vendors & Products
| Source | ID | Title | 
|---|---|---|
|  Debian DLA | DLA-4102-1 | linux-6.1 security update | 
|  Debian DLA | DLA-4178-1 | linux security update | 
|  EUVD | EUVD-2025-6219 | 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. | 
|  Ubuntu USN | USN-7510-1 | Linux kernel vulnerabilities | 
|  Ubuntu USN | USN-7510-2 | Linux kernel (FIPS) vulnerabilities | 
|  Ubuntu USN | USN-7510-3 | Linux kernel vulnerabilities | 
|  Ubuntu USN | USN-7510-4 | Linux kernel (Real-time) vulnerabilities | 
|  Ubuntu USN | USN-7510-5 | Linux kernel (Azure FIPS) vulnerabilities | 
|  Ubuntu USN | USN-7510-6 | Linux kernel (AWS FIPS) vulnerabilities | 
|  Ubuntu USN | USN-7510-7 | Linux kernel vulnerabilities | 
|  Ubuntu USN | USN-7510-8 | Linux kernel (AWS) vulnerabilities | 
|  Ubuntu USN | USN-7511-1 | Linux kernel (GCP) vulnerabilities | 
|  Ubuntu USN | USN-7511-2 | Linux kernel (GCP FIPS) vulnerabilities | 
|  Ubuntu USN | USN-7511-3 | Linux kernel (GKE) vulnerabilities | 
|  Ubuntu USN | USN-7512-1 | Linux kernel (GCP) vulnerabilities | 
|  Ubuntu USN | USN-7521-1 | Linux kernel vulnerabilities | 
|  Ubuntu USN | USN-7521-2 | Linux kernel (AWS) vulnerabilities | 
|  Ubuntu USN | USN-7521-3 | Linux kernel vulnerabilities | 
|  Ubuntu USN | USN-7593-1 | Linux kernel (HWE) vulnerabilities | 
|  Ubuntu USN | USN-7602-1 | Linux kernel (Xilinx ZynqMP) vulnerabilities | 
|  Ubuntu USN | USN-7651-1 | Linux kernel vulnerabilities | 
|  Ubuntu USN | USN-7651-2 | Linux kernel vulnerabilities | 
|  Ubuntu USN | USN-7651-3 | Linux kernel vulnerabilities | 
|  Ubuntu USN | USN-7651-4 | Linux kernel (GCP) vulnerabilities | 
|  Ubuntu USN | USN-7651-5 | Linux kernel (Raspberry Pi Real-time) vulnerabilities | 
|  Ubuntu USN | USN-7651-6 | Linux kernel (Raspberry Pi) vulnerabilities | 
|  Ubuntu USN | USN-7652-1 | Linux kernel (Real-time) vulnerabilities | 
|  Ubuntu USN | USN-7653-1 | Linux kernel (HWE) vulnerabilities | 
|  Ubuntu USN | USN-7737-1 | Linux kernel (Azure) vulnerabilities | 
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Thu, 30 Oct 2025 21:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | Linux Linux linux Kernel | |
| Weaknesses | NVD-CWE-noinfo | |
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
| Vendors & Products | Linux Linux linux Kernel | |
| Metrics | cvssV3_1 
 | cvssV3_1 
 | 
Mon, 26 May 2025 15:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Weaknesses | CWE-682 | |
| Metrics | cvssV3_1 
 | cvssV3_1 
 | 
Thu, 13 Mar 2025 12:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References |  | 
Fri, 07 Mar 2025 02:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References |  | |
| Metrics | threat_severity 
 | cvssV3_1 
 
 | 
Thu, 06 Mar 2025 16:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| 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. | |
| Title | netfilter: nf_tables: reject mismatching sum of field_len with set key length | |
| References |  | 
 | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2025-05-04T13:06:39.017Z
Reserved: 2024-12-29T08:45:45.775Z
Link: CVE-2025-21826
 Vulnrichment
                        Vulnrichment
                    No data.
 NVD
                        NVD
                    Status : Analyzed
Published: 2025-03-06T16:15:54.863
Modified: 2025-10-30T21:39:29.003
Link: CVE-2025-21826
 Redhat
                        Redhat
                     OpenCVE Enrichment
                        OpenCVE Enrichment
                    No data.