CVE-2026-98107

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

No CVSS score yet EPSS 0.18%

Published 25 Sep 2026 Updated 21 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98107

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98107 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.11% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from da49b602f7f75ccc91386e1274b3ef71676cd092, before fabc5e04f123225daf980d03f2c5a05e7f0f0a7f
affected from da49b602f7f75ccc91386e1274b3ef71676cd092, before ce0927eb3ee2939fab5ce3f9334bfd2fafb38481
affected from da49b602f7f75ccc91386e1274b3ef71676cd092, before 6da5c0331fc3ef0c7b8df8269523fc3b2cce1e65
affected from da49b602f7f75ccc91386e1274b3ef71676cd092, before df8c3af6132640da4788e96a02d653e642059803
affected from da49b602f7f75ccc91386e1274b3ef71676cd092, before 56c2b5831d39dc84aad2573dc3e197af1a872a05
Other versions: unaffected
Linux
affected 5.7
unaffected before 5.7
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.111 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected from 7.2.7 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98107 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98107

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98107
trivy image --scanners vuln IMAGE | grep CVE-2026-98107

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98107 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.