VDB

CVE-2026-98107

CVE-2026-98107 PUBLISHED

Bluetooth: L2CAP: fix out-of-bounds write in l2cap_ecred_connect

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: fix out-of-bounds write in l2cap_ecred_connect l2cap_chan_connect() tries to ensure there are no more than L2CAP_ECRED_CONN_SCID_MAX pending ECRED channels, so they fit in the same L2CAP_ECRED_CONN_REQ that l2cap_ecred_connect() constructs. However, the check only counts deferred channels. If 6 L2CAP sockets are connected at the same time in order DDDDND (D=deferred, N=non-deferred), the last can bump the total to max+1. It results to one __le16 written out of bounds of the scid array, and an invalid ECRED_CONN_REQ being sent. Fix by leaving room for the non-deferred pending ECRED channels in the counting in l2cap_chan_connect(), so the limit can't be exceeded. Move counting under same critical section where the channel is added. Although race conditions involving this appear unreachable, it's easier to see. Also add WARN_ON_ONCE check in l2cap_ecred_defer_connect() to make this less brittle.

EPSS 0.13% · 2.6th percentile

Risk scores

EPSS Score
0.13%
2.6th percentile

Affected products

VendorProductVersions
LinuxLinuxda49b602f7f75ccc91386e1274b3ef71676cd092, da49b602f7f75ccc91386e1274b3ef71676cd092, da49b602f7f75ccc91386e1274b3ef71676cd092
LinuxLinux5.7, 0, 6.6.160
linuxlinux_kernel5.7, 5.7, 5.7
LinuxLinux*, *, *

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (7 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98107
vulnetix vdb fixes CVE-2026-98107

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98107/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›