CVE catalog

CVE-2026-31526

In the Linux kernel, the following vulnerability has…

[CVE catalog]

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.5CVSS: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 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 7.1.0+6.1.176-1 · arm64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 7.5.0+6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 7.5.0+6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 7.1.0+6.1.180-1 · amd64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

    • 7.1.0+6.1.180-1 · arm64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.176-1 · arm64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · arm64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

  • [intel-sdsi]Unknown

    Source package: [linux]

    Details (1)
    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

  • [libcpupower1]Unknown

    Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.176-1 · arm64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · arm64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.176-1 · arm64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · arm64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

  • [linux-bpf-dev]Unknown

    Source package: [linux]

    Details (2)
    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (2)
    • 6.1.176-1 · amd64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (4)
    • 6.1.176-1 · amd64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.176-1 · arm64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · arm64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.176-1 · arm64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · arm64 · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

  • [linux-doc]Unknown

    Source package: [linux]

    Details (32)
    • 6.1.170-3 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.170-3 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.176-1 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.176-1 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.43-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.43-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.57-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.57-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.63-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.63-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.69-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.69-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.73-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.73-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.74-2~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.74-2~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.85-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.85-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.86-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.86-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.88-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.88-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.90-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.90-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.90-2~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.90-2~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.94-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.94-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · all · bookworm-backports

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · all · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · all · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

  • [linux-doc-6.1]Unknown

    Source package: [linux]

    Details (6)
    • 6.1.170-3 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.170-3 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.176-1 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.176-1 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · all · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.180-1 · all · bookworm-security

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · amd64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · arm64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · amd64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · arm64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (2)
    • 6.1.170-3 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.170-3 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (2)
    • 6.1.170-3 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

    • 6.1.170-3 · all · bookworm

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · amd64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · arm64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.176-1 · amd64 · bookworm

      Not affected

      nvd · linux · debian · bookworm

Next results

Observed:

References