CVE-2026-31413: Linux kernel · bpf: Fix unsound scalar forking in maybe_fork_scalars() for BPF_OR
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.8.0-1061.64~22.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1061.64~22.04.1, 6.8.0-1064.72~22.04.1, 6.8.0-1061.62~22.04.1 +25
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-aws-6.14pkg:deb/ubuntu/linux-aws-6.14?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure@6.8.0-1062.69?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied promptly. The vendor advisory from Ubuntu confirms that this vulnerability is fixed in Linux kernel versions 6.8.0 and later (including specific patched builds). Users should update their systems to the fixed kernel versions listed in the advisory. After updating, a system reboot is required to apply the changes. Additionally, due to an ABI change, third-party kernel modules must be recompiled and reinstalled. No other specific mitigations are indicated by the vendor advisory.
Description
A high-severity vulnerability (CVE-2026-31413) in the Linux kernel's BPF subsystem was fixed. The issue involves incorrect handling of scalar forking in the maybe_fork_scalars() function for the BPF_OR operation, leading to a verifier/runtime state divergence. This flaw could allow out-of-bounds map access. The vulnerability affects multiple Linux kernel versions prior to 6.8.0 and related builds. A patch is available and should be applied. The vulnerability has a CVSS score of 7.8, indicating high impact on confidentiality, integrity, and availability.
References
- ubuntu.com/security/CVE-2026-31413 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-31413 (opens in a new tab)
- git.kernel.org/linus/c845894ebd6fb43226b3118d6b017942550910c5 (opens in a new tab)
- git.kernel.org/stable/c/342aa1ee995ef5bbf876096dc3a5e51218d76fa4 (opens in a new tab)
- git.kernel.org/stable/c/58bd87d0e69204dbd739e4387a1edb0c4b1644e7 (opens in a new tab)
- git.kernel.org/stable/c/c845894ebd6fb43226b3118d6b017942550910c5 (opens in a new tab)
- git.kernel.org/stable/c/d13281ae7ea8902b21d99d10a2c8caf0bdec0455 (opens in a new tab)
- ubuntu.com/security/notices/USN-8567-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8574-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8574-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8595-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8596-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8595-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8608-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8574-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8595-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8665-1 (opens in a new tab)