Skip to contentSkip to conversation

CVE-2026-45836: Bluetooth: L2CAP: Fix null-ptr-deref in l2cap_sock_get_sndtimeo_cb()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 26

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 null-ptr-deref in l2cap_sock_get_sndtimeo_cb()

Add the same NULL guard already present in
l2cap_sock_resume_cb() and l2cap_sock_ready_cb().

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

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

	Issue introduced in 3.13 with commit 8d836d71e2223b8961b21112bb4ce89ef8231682 and fixed in 6.6.140 with commit cf1fd517f892ded88168df878f834b625133f86d
	Issue introduced in 3.13 with commit 8d836d71e2223b8961b21112bb4ce89ef8231682 and fixed in 6.12.90 with commit 58dc5e3d8768e121907608e6e196a908512fb083
	Issue introduced in 3.13 with commit 8d836d71e2223b8961b21112bb4ce89ef8231682 and fixed in 6.18.30 with commit 32bd343803d4ba47cc516f9d5f037f01b855d767
	Issue introduced in 3.13 with commit 8d836d71e2223b8961b21112bb4ce89ef8231682 and fixed in 7.0.7 with commit a93d66907dd4d29b65c9797a93784bf61906d6d6
	Issue introduced in 3.13 with commit 8d836d71e2223b8961b21112bb4ce89ef8231682 and fixed in 7.1-rc3 with commit 78a88d43dab8d23aeef934ed8ce34d40e6b3d613

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-45836

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_sock.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/cf1fd517f892ded88168df878f834b625133f86d
	https://git.kernel.org/stable/c/58dc5e3d8768e121907608e6e196a908512fb083
	https://git.kernel.org/stable/c/32bd343803d4ba47cc516f9d5f037f01b855d767
	https://git.kernel.org/stable/c/a93d66907dd4d29b65c9797a93784bf61906d6d6
	https://git.kernel.org/stable/c/78a88d43dab8d23aeef934ed8ce34d40e6b3d613