{"id":"CVE-2026-68295","aliases":["CVE-2026-68295"],"related":[],"kind":"vulnerability","state":"published","title":"LoongArch: BPF: Zero-extend signed ALU32 div/mod results","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: BPF: Zero-extend signed ALU32 div/mod results\n\nALU32 operations write a 32-bit result and leave the upper 32 bits of\nthe BPF register zero. The LoongArch JIT sign-extends the result of\nsigned ALU32 BPF_DIV and BPF_MOD (off=1), so a negative 32-bit quotient\nor remainder leaves bits 63:32 set in JITted code while the verifier\nand interpreter model those bits as zero.\n\nKeep sign-extension on the operands, which signed divide needs, and\nzero-extend the ALU32 result after the divide or modulo instruction,\nmatching the unsigned ALU32 div/mod paths and every other ALU32\noperation in this JIT.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: BPF: Zero-extend signed ALU32 div/mod results\n\nALU32 operations write a 32-bit result and leave the upper 32 bits of\nthe BPF register zero. The LoongArch JIT sign-extends the result of\nsigned ALU32 BPF_DIV and BPF_MOD (off=1), so a negative 32-bit quotient\nor remainder leaves bits 63:32 set in JITted code while the verifier\nand interpreter model those bits as zero.\n\nKeep sign-extension on the operands, which signed divide needs, and\nzero-extend the ALU32 result after the divide or modulo instruction,\nmatching the unsigned ALU32 div/mod paths and every other ALU32\noperation in this JIT.","source":"cvelist"}],"published":"2026-08-10T12:02:28.412Z","modified":"2026-10-21T13:19:27.540Z","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":"2425c9e002d2a1fdca34261b2fa6713eafef2163","fixed":"7577cca85f2d4590c9d9423ba72ef54181a713c9","status":"affected"},{"type":"git","introduced":"2425c9e002d2a1fdca34261b2fa6713eafef2163","fixed":"16656c3d734693be3d8a36dbf9d09142b69f3ddc","status":"affected"},{"type":"git","introduced":"2425c9e002d2a1fdca34261b2fa6713eafef2163","fixed":"716cb29dbed4d62e9e108950a1a82bcba4cc2d45","status":"affected"},{"type":"git","introduced":"2425c9e002d2a1fdca34261b2fa6713eafef2163","fixed":"dacd348b8a993373576fe2ee2d8b114740ba57a6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","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.6","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/7577cca85f2d4590c9d9423ba72ef54181a713c9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16656c3d734693be3d8a36dbf9d09142b69f3ddc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/716cb29dbed4d62e9e108950a1a82bcba4cc2d45","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dacd348b8a993373576fe2ee2d8b114740ba57a6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68295","url":"https://www.cve.org/CVERecord?id=CVE-2026-68295","licence":"CVE Terms of Use","modified":"2026-10-21T12:43:47.769Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68295","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68295","licence":"Public domain","modified":"2026-10-21T13:19:27.540Z"}],"updatedAt":"2026-11-25T22:59:32.074Z","epss":{"score":0.00163,"percentile":0.05777,"date":"2026-12-01T12:00:22.000Z"}}