{"id":"CVE-2026-74544","aliases":["CVE-2026-74544"],"related":[],"kind":"vulnerability","state":"published","title":"net/sched: cls_u32: validate offshift to prevent shift-out-of-bounds","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: cls_u32: validate offshift to prevent shift-out-of-bounds\n\nu32_change() copies the user-provided tc_u32_sel.offshift (unsigned char,\n0-255) into the kernel knode object without bounds validation. When a\npacket later hits u32_classify() with TC_U32_VAROFFSET set, it evaluates\n`ntohs(offmask & *data) >> offshift` where the left operand is a 16-bit\nvalue promoted to a 32-bit int. Any offshift >= 32 is undefined behavior\nper C11 6.5.7p3, triggerable by an unprivileged user via user/network\nnamespaces.\n\nUBSAN: shift-out-of-bounds in net/sched/cls_u32.c:236:43\nshift exponent 32 is too large for 32-bit type int\n\nFix this by rejecting offshift >= 16 during filter creation in\nu32_change().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: cls_u32: validate offshift to prevent shift-out-of-bounds\n\nu32_change() copies the user-provided tc_u32_sel.offshift (unsigned char,\n0-255) into the kernel knode object without bounds validation. When a\npacket later hits u32_classify() with TC_U32_VAROFFSET set, it evaluates\n`ntohs(offmask & *data) >> offshift` where the left operand is a 16-bit\nvalue promoted to a 32-bit int. Any offshift >= 32 is undefined behavior\nper C11 6.5.7p3, triggerable by an unprivileged user via user/network\nnamespaces.\n\nUBSAN: shift-out-of-bounds in net/sched/cls_u32.c:236:43\nshift exponent 32 is too large for 32-bit type int\n\nFix this by rejecting offshift >= 16 during filter creation in\nu32_change().","source":"cvelist"}],"published":"2026-08-15T12:27:53.941Z","modified":"2026-10-30T13:20:02.290Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"7fd5b2287e5cf33e114fb7f0cef781a546039757","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"724c8edbacf1259988829cb9967f751222121d8a","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"006a4598da9a6b02e0ddc3ca5042b97224774364","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"9990cac513e8b191de2ee589051ea7ebf3cee940","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"313cb9ffc4101a885d791facf4b5ea3d5e06144d","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"aef96eead2860cbfa371e4471d4f04412213b958","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7fd5b2287e5cf33e114fb7f0cef781a546039757","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/724c8edbacf1259988829cb9967f751222121d8a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/006a4598da9a6b02e0ddc3ca5042b97224774364","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9990cac513e8b191de2ee589051ea7ebf3cee940","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/313cb9ffc4101a885d791facf4b5ea3d5e06144d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aef96eead2860cbfa371e4471d4f04412213b958","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:59:49.230Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74544","url":"https://www.cve.org/CVERecord?id=CVE-2026-74544","licence":"CVE Terms of Use","modified":"2026-10-30T12:30:09.940Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74544","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74544","licence":"Public domain","modified":"2026-10-30T13:20:02.290Z"}],"updatedAt":"2026-11-25T22:59:33.251Z","epss":{"score":0.00175,"percentile":0.07355,"date":"2026-12-01T12:00:22.000Z"}}