CVE-2026-31413
linux linux kernel
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.2 %
- Percentile
- 15
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: bpf: Fix unsound scalar forking in maybe_fork_scalars() for BPF_OR maybe_fork_scalars() is called for both BPF_AND and BPF_OR when the source operand is a constant. When dst has signed range [-1, 0], it forks the verifier state: the pushed path gets dst = 0, the current path gets dst = -1. For BPF_AND this is correct: 0 & K == 0. For BPF_OR this is wrong: 0 | K == K, not 0. The pushed path therefore tracks dst as 0 when the runtime value is K, producing an exploitable verifier/runtime divergence that allows out-of-bounds map access. Fix this by passing env->insn_idx (instead of env->insn_idx + 1) to push_stack(), so the pushed path re-executes the ALU instruction with dst = 0 and naturally computes the correct result for any opcode.
- Vendor / product
- linux linux kernel
- Published
- 12.04.2026
- Modified
- 17.06.2026
- CWE
- CWE-125
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
10- Ubuntu: USN-8665-1 – Linux kernel (Raspberry Pi) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8595-3 – Linux kernel (AWS) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-3 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8608-1 – Linux kernel (Azure FIPS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-2 – Linux kernel (AWS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8596-1 – Linux kernel (NVIDIA) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-1 – Linux kernel (Oracle) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-2 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-1 – Linux kernel (GCP FIPS) vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8567-1 – Linux kernel vulnerabilities 20.07.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.