# CVE-2026-74544: net/sched: cls_u32: validate offshift to prevent shift-out-of-bounds

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-15T12:27:53.941Z
- Modified: 2026-10-30T13:20:02.290Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7fd5b2287e5cf33e114fb7f0cef781a546039757; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 724c8edbacf1259988829cb9967f751222121d8a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 006a4598da9a6b02e0ddc3ca5042b97224774364; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9990cac513e8b191de2ee589051ea7ebf3cee940; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 313cb9ffc4101a885d791facf4b5ea3d5e06144d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before aef96eead2860cbfa371e4471d4f04412213b958; 2.6.12 (not affected: before 2.6.12; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/7fd5b2287e5cf33e114fb7f0cef781a546039757>
- <https://git.kernel.org/stable/c/724c8edbacf1259988829cb9967f751222121d8a>
- <https://git.kernel.org/stable/c/006a4598da9a6b02e0ddc3ca5042b97224774364>
- <https://git.kernel.org/stable/c/9990cac513e8b191de2ee589051ea7ebf3cee940>
- <https://git.kernel.org/stable/c/313cb9ffc4101a885d791facf4b5ea3d5e06144d>
- <https://git.kernel.org/stable/c/aef96eead2860cbfa371e4471d4f04412213b958>

## Sources

- CVE List: [CVE-2026-74544](https://www.cve.org/CVERecord?id=CVE-2026-74544), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-74544](https://nvd.nist.gov/vuln/detail/CVE-2026-74544), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-74544 · Whole record: https://cve.day/CVE-2026-74544.json · Rebuilt by cve.day 2026-11-25T22:59:33.251Z
