PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-31513 Linux CVE debrief

A stack-out-of-bounds read vulnerability exists in the Linux kernel's Bluetooth L2CAP component. The issue arises from a malformed Enhanced Credit Based Connection Request, which can trigger a KASAN panic. The vulnerability has been resolved through a patch that adjusts the assignment of `rsp_len` to after the `num_scid` boundary check. This fix prevents the stack-out-of-bounds read by ensuring that `rsp_len` remains 0 if the packet is rejected. Linux kernel developers and maintainers, Bluetooth L2CAP component users, and Linux distribution maintainers should assess exposure and apply the patch to prevent potential exploitation. The CVE record was published on 2026-04-22T13:54:30.

Vendor
Linux
Product
Unknown
CVSS
HIGH 8.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-22
Original CVE updated
2026-10-19
Advisory published
2026-04-22
Advisory updated
2026-10-19

Who should care

Linux kernel developers and maintainers, Bluetooth L2CAP component users, and Linux distribution maintainers should assess exposure and apply the patch to prevent potential exploitation.

Why it matters

The CVE-2026-31513 vulnerability in the Linux kernel's Bluetooth L2CAP component can lead to a stack-out-of-bounds read, potentially causing a KASAN panic. Defenders should prioritize patch application and monitoring of Bluetooth L2CAP traffic.

  • Verify patch application to prevent stack-out-of-bounds reads
  • Monitor Bluetooth L2CAP traffic for potential exploitation attempts
  • Update Linux kernel versions to include the fix

Technical summary

The vulnerability exists in the Linux kernel's Bluetooth L2CAP component, specifically in the `l2cap_ecred_conn_req` function. A malformed Enhanced Credit Based Connection Request can trigger a stack-out-of-bounds read, leading to a KASAN panic. The fix involves moving the assignment of `rsp_len` to after the `num_scid` boundary check. This ensures that `rsp_len` remains 0 if the packet is rejected, preventing a stack-out-of-bounds read. The vulnerability was reported by Syzbot and resolved by this patch. Linux kernel developers should review and apply the patch to prevent potential exploitation.

Defensive priority

High

Recommended defensive actions

  • Review and apply the patch to ensure the vulnerability is resolved
  • Verify that the Linux kernel version is updated to include the fix
  • Monitor Bluetooth L2CAP traffic for potential exploitation attempts
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed

Evidence notes

The vulnerability was reported by Syzbot and resolved by moving the assignment of `rsp_len` to after the `num_scid` boundary check. The fix ensures that `rsp_len` remains 0 if the packet is rejected, preventing a stack-out-of-bounds read.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-31513 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-31513

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-31513 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-31513

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Bluetooth: L2CAP: Fix stack-out-of-bounds read in l2cap_ecred_conn_req

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/31xxx/CVE-2026-31513.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/c8e1a27edb8b4e5afb56b384acd7b6c2dec1b7cc

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5b35f8211a913cfe7ab9d54fa36a272d2059a588

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/a3d9c50d69785ae02e153f000da1b5fd6dbfdf1b

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/9d87cb22195b2c67405f5485d525190747ad5493

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.