CVE-2026-31513
published high CVSS 3.1 · 8.1Bluetooth: L2CAP: Fix stack-out-of-bounds read in l2cap_ecred_conn_req
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux935f324e4b2461df2cf7f02b4195082b4304c708 to < c8e1a27edb8b4e5afb56b384acd7b6c2dec1b7cc · e981a9392800ce2c5bca196a6ab2c55e9370efaa to < 5b35f8211a913cfe7ab9d54fa36a272d2059a588 · f3fdf2e7276a3edc5df55454275da20eac186970 to < a3d9c50d69785ae02e153f000da1b5fd6dbfdf1b · c28d2bff70444a85b3b86aaf241ece9408c7858c to < 9d87cb22195b2c67405f5485d525190747ad5493 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.12.75 to < 6.12.80 · 6.18.16 to < 6.18.21 · 6.19.6 to < 6.19.11 · Other versions: unaffected | Affected | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix stack-out-of-bounds read in l2cap_ecred_conn_req Syzbot reported a KASAN stack-out-of-bounds read in l2cap_build_cmd() that is triggered by a malformed Enhanced Credit Based Connection Request. The vulnerability stems from l2cap_ecred_conn_req(). The function allocates a local stack buffer (`pdu`) designed to hold a maximum of 5 Source Channel IDs (SCIDs), totaling 18 bytes. When an attacker sends a request with more than 5 SCIDs, the function calculates `rsp_len` based on this unvalidated `cmd_len` before checking if the number of SCIDs exceeds L2CAP_ECRED_MAX_CID. If the SCID count is too high, the function correctly jumps to the `response` label to reject the packet, but `rsp_len` retains the attacker's oversized value. Consequently, l2cap_send_cmd() is instructed to read past the end of the 18-byte `pdu` buffer, triggering a KASAN panic. Fix this by moving the assignment of `rsp_len` to after the `num_scid` boundary check. If the packet is rejected, `rsp_len` will safely remain 0, and the error response will only read the 8-byte base header from the stack.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:A - The vulnerable code is reached by a Bluetooth LE L2CAP signaling packet from a nearby Bluetooth peer, so exploitation requires adjacent radio proximity rather than internet routing or local code execution. AC:L - The attacker only needs to send a malformed Enhanced Credit Based Connection Request with more than 5 SCIDs; the bad length is used deterministically before the bounds check. PR:N - The vulnerable path is reached before PSM lookup and before `smp_sufficient_security()`, so no pairing, authentication, service authorization, or local privilege is required. UI:N - Once the target is reachable over Bluetooth LE, the malformed signaling request is processed by the kernel without requiring a victim user action. S:U - The impact is within the kernel Bluetooth stack on the same host security authority; this is not a cross-VM, IOMMU, or sandbox boundary escape by itself. C:H - The oversized response length causes `l2cap_send_cmd()` to copy beyond an 18-byte stack buffer into an outbound L2CAP response, exposing attacker-sized kernel stack contents rather than a strictly bounded few bytes. I:N - The bug is an out-of-bounds read used to build a response packet; it does not provide an out-of-bounds write or direct modification of kernel data. A:H - The same malformed packet triggers a demonstrated KASAN stack-out-of-bounds panic, and a sufficiently large kernel stack read can reasonably crash the kernel even outside KASAN builds.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 935f324e4b2461df2cf7f02b4195082b4304c708 to < c8e1a27edb8b4e5afb56b384acd7b6c2dec1b7cc (affected · git)e981a9392800ce2c5bca196a6ab2c55e9370efaa to < 5b35f8211a913cfe7ab9d54fa36a272d2059a588 (affected · git)f3fdf2e7276a3edc5df55454275da20eac186970 to < a3d9c50d69785ae02e153f000da1b5fd6dbfdf1b (affected · git)c28d2bff70444a85b3b86aaf241ece9408c7858c to < 9d87cb22195b2c67405f5485d525190747ad5493 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.12.75 to < 6.12.80 (affected · semver)6.18.16 to < 6.18.21 (affected · semver)6.19.6 to < 6.19.11 (affected · semver)Default: unaffected | Linux · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
4Provider assertions
2Linux · cna
Bluetooth: L2CAP: Fix stack-out-of-bounds read in l2cap_ecred_conn_req
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 57c419b7c23a950e7a00e4946ba6c12a4c7e7a80a16a8d2d815df89c534a1a9d
- Ingested
- 19 Oct 2026, 18:57:59 UTC
- Source record
- Official CVE record