Linux kernel: net/sched: cls_u32: validate offshift to prevent shift-out-of-bounds
Overview
In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_u32: validate offshift to prevent shift-out-of-bounds u32_change() copies the user-provided tc_u32_sel.offshift (unsigned char, 0-255) into the kernel knode object without bounds validation. When a packet later hits u32_classify() with TC_U32_VAROFFSET set, it evaluates `ntohs(offmask & *data) >> offshift` where the left operand is a 16-bit value promoted to a 32-bit int. Any offshift >= 32 is undefined behavior per C11 6.5.7p3, triggerable by an unprivileged user via user/network namespaces. UBSAN: shift-out-of-bounds in net/sched/cls_u32.c:236:43 shift exponent 32 is too large for 32-bit type int Fix this by rejecting offshift >= 16 during filter creation in u32_change().
- Published
- 8/15/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7fd5b2287e5cf33e114fb7f0cef781a546039757 | Verify advisory | Source |
Linux Linux | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 724c8edbacf1259988829cb9967f751222121d8a | Verify advisory | Source |
Linux Linux | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 006a4598da9a6b02e0ddc3ca5042b97224774364 | Verify advisory | Source |
Linux Linux | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9990cac513e8b191de2ee589051ea7ebf3cee940 | Verify advisory | Source |
Linux Linux | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 313cb9ffc4101a885d791facf4b5ea3d5e06144d | Verify advisory | Source |
Linux Linux | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aef96eead2860cbfa371e4471d4f04412213b958 | Verify advisory | Source |
Linux Linux | 2.6.12 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.