Skip to contentSkip to conversation

CVE-2026-63975: Bluetooth: L2CAP: Fix possible crash on l2cap_ecred_conn_rsp

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: L2CAP: Fix possible crash on l2cap_ecred_conn_rsp

If dcid is received for an already-assigned destination CID the spec requires that both channels to be discarded, but calling l2cap_chan_del may invalidate the tmp cursor created by list_for_each_entry_safe and in fact it is the wrong procedure as the chan->dcid may be assigned previously it really needs to be disconnected.

Calling l2cap_chan_clone directly may still lead to l2cap_chan_del so instead schedule l2cap_chan_timeout with delay 0 to close the channel asynchronously.

The Linux kernel CVE team has assigned CVE-2026-63975 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 5.10.259 with commit 3c8eaa91eb433c450426539290be4ffe282e9f00
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 5.15.210 with commit ecfed1e0d8efecad6737a0d83e21d2fd021d8c48
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 6.1.176 with commit e6833e737a51db1e5ea0401322acf5e22abd8be6
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 6.6.143 with commit 6319b38fe69f56ed95680ade485b957a53fff642
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 6.12.93 with commit 291eec1041c918c460dc9702e44edd17794b4a4b
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 6.18.35 with commit 41e29548b5e8b5e5fcf708786b3bea67cab107fa
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 7.0.12 with commit d153b8898c0051eb8b6a083b35cbe304a5886bd5
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 7.1 with commit 41c2713b204e6cb6a94587bc6bf6935107df5479

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-63975

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/bluetooth/l2cap_core.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/3c8eaa91eb433c450426539290be4ffe282e9f00
	https://git.kernel.org/stable/c/ecfed1e0d8efecad6737a0d83e21d2fd021d8c48
	https://git.kernel.org/stable/c/e6833e737a51db1e5ea0401322acf5e22abd8be6
	https://git.kernel.org/stable/c/6319b38fe69f56ed95680ade485b957a53fff642
	https://git.kernel.org/stable/c/291eec1041c918c460dc9702e44edd17794b4a4b
	https://git.kernel.org/stable/c/41e29548b5e8b5e5fcf708786b3bea67cab107fa
	https://git.kernel.org/stable/c/d153b8898c0051eb8b6a083b35cbe304a5886bd5
	https://git.kernel.org/stable/c/41c2713b204e6cb6a94587bc6bf6935107df5479