
CVE catalog
CVE-2026-31526
In the Linux kernel, the following vulnerability has…
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix exception exit lock checking for subprogs process_bpf_exit_full() passes check_lock = !curframe to check_resource_leak(), which is false in cases when bpf_throw() is called from a static subprog. This makes check_resource_leak() to skip validation of active_rcu_locks, active_preempt_locks, and active_irq_id on exception exits from subprogs. At runtime bpf_throw() unwinds the stack via ORC without releasing any user-acquired locks, which may cause various issues as the result. Fix by setting check_lock = true for exception exits regardless of curframe, since exceptions bypass all intermediate frame cleanup. Update the error message prefix to "bpf_throw" for exception exits to distinguish them from normal BPF_EXIT. Fix reject_subprog_with_rcu_read_lock test which was previously passing for the wrong reason. Test program returned directly from the subprog call without closing the RCU section, so the error was triggered by the unclosed RCU lock on normal exit, not by bpf_throw. Update __msg annotations for affected tests to match the new "bpf_throw" error prefix. The spin_lock case is not affected because they are already checked [1] at the call site in do_check_insn() before bpf_throw can run. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/kernel/bpf/verifier.c?h=v7.0-rc4#n21098
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.13% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "linux",
"status": "fixed",
"release": "sid",
"version": "7.2.13-1"
},
{
"name": "linux",
"status": "fixed",
"release": "forky",
"version": "7.2.12-1"
},
{
"name": "linux",
"status": "vulnerable",
"release": "trixie",
"version": "6.12.107-1"
},
{
"name": "linux",
"status": "vulnerable",
"release": "trixie-security",
"version": "6.12.113-1"
},
{
"name": "linux",
"status": "not affected",
"release": "bookworm",
"version": "6.1.176-1"
},
{
"name": "linux",
"status": "not affected",
"release": "bookworm-security",
"version": "6.1.190-1"
}
],
"fixed_versions": [
{
"bug": null,
"name": "linux",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "6.19.11-1"
},
{
"bug": null,
"name": "linux",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "6.19.11-1"
},
{
"bug": null,
"name": "linux",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": null,
"name": "linux",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "unimportant",
"fixed_version": "0"
}
],
"distribution_packages": [
{
"name": "linux_kernel",
"ecosystem": "cpe",
"fixed_version": "6.18.21"
},
{
"name": "linux_kernel",
"ecosystem": "cpe",
"fixed_version": "6.19.11"
},
{
"name": "linux_kernel",
"ecosystem": "cpe",
"fixed_version": ""
},
{
"name": "linux_kernel",
"ranges": [],
"ecosystem": "cpe",
"fixed_version": "",
"provider_record_id": "NVD-CVE-2026-31526"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [bpftool]Unknown
Source package: [linux]
Details (6)
7.1.0+6.1.176-1· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
7.1.0+6.1.176-1· arm64 · bookwormNot affected
nvd · linux · debian · bookworm
7.5.0+6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
7.5.0+6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
7.1.0+6.1.180-1· amd64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
7.1.0+6.1.180-1· arm64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
- [hyperv-daemons]Unknown
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
6.1.176-1· arm64 · bookwormNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
- [intel-sdsi]Unknown
Source package: [linux]
Details (1)
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
- [libcpupower1]Unknown
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
6.1.176-1· arm64 · bookwormNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
- [libcpupower-dev]Unknown
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
6.1.176-1· arm64 · bookwormNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
- [linux-bpf-dev]Unknown
Source package: [linux]
Details (2)
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
- [linux-compiler-gcc-12-x86]Unknown
Source package: [linux]
Details (2)
6.1.176-1· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
- [linux-config-6.1]Unknown
Source package: [linux]
Details (4)
6.1.176-1· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
6.1.176-1· arm64 · bookwormNot affected
nvd · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
- [linux-cpupower]Unknown
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
6.1.176-1· arm64 · bookwormNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityNot affected
nvd · linux · debian · bookworm
- [linux-doc]Unknown
Source package: [linux]
Details (32)
6.1.170-3· all · bookwormNot affected
nvd · linux · debian · bookworm
6.1.170-3· all · bookwormNot affected
nvd · linux · debian · bookworm
6.1.176-1· all · bookwormNot affected
nvd · linux · debian · bookworm
6.1.176-1· all · bookwormNot affected
nvd · linux · debian · bookworm
6.12.43-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.43-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.57-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.57-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.63-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.63-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.69-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.69-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.73-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.73-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.74-2~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.74-2~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.85-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.85-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.86-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.86-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.88-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.88-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.90-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.90-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.90-2~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.90-2~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.94-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.94-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.12.95-1~bpo12+1· all · bookworm-backportsNot affected
nvd · linux · debian · bookworm
6.1.180-1· all · bookworm-securityNot affected
nvd · linux · debian · bookworm
6.1.180-1· all · bookworm-securityNot affected
nvd · linux · debian · bookworm
- [linux-doc-6.1]Unknown
Source package: [linux]
Details (6)
6.1.170-3· all · bookwormNot affected
nvd · linux · debian · bookworm
6.1.170-3· all · bookwormNot affected
nvd · linux · debian · bookworm
6.1.176-1· all · bookwormNot affected
nvd · linux · debian · bookworm
6.1.176-1· all · bookwormNot affected
nvd · linux · debian · bookworm
6.1.180-1· all · bookworm-securityNot affected
nvd · linux · debian · bookworm
6.1.180-1· all · bookworm-securityNot affected
nvd · linux · debian · bookworm
- [linux-headers-6.1.0-47-amd64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
- [linux-headers-6.1.0-47-arm64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· arm64 · bookwormNot affected
nvd · linux · debian · bookworm
- [linux-headers-6.1.0-47-cloud-amd64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
- [linux-headers-6.1.0-47-cloud-arm64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· arm64 · bookwormNot affected
nvd · linux · debian · bookworm
- [linux-headers-6.1.0-47-common]Unknown
Source package: [linux]
Details (2)
6.1.170-3· all · bookwormNot affected
nvd · linux · debian · bookworm
6.1.170-3· all · bookwormNot affected
nvd · linux · debian · bookworm
- [linux-headers-6.1.0-47-common-rt]Unknown
Source package: [linux]
Details (2)
6.1.170-3· all · bookwormNot affected
nvd · linux · debian · bookworm
6.1.170-3· all · bookwormNot affected
nvd · linux · debian · bookworm
- [linux-headers-6.1.0-47-rt-amd64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
- [linux-headers-6.1.0-47-rt-arm64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· arm64 · bookwormNot affected
nvd · linux · debian · bookworm
- [linux-headers-6.1.0-50-amd64]Unknown
Source package: [linux]
Details (1)
6.1.176-1· amd64 · bookwormNot affected
nvd · linux · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_21834-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-31526]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-31526]
- [https://security-tracker.debian.org/tracker/CVE-2026-31526]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31526.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1252.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]