Skip to contentSkip to conversation

CVE-2026-43020: Bluetooth: MGMT: validate LTK enc_size on load

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 1

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: MGMT: validate LTK enc_size on load

Load Long Term Keys stores the user-provided enc_size and later uses it to size fixed-size stack operations when replying to LE LTK requests. An enc_size larger than the 16-byte key buffer can therefore overflow the reply stack buffer.

Reject oversized enc_size values while validating the management LTK record so invalid keys never reach the stored key state.

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

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

	Issue introduced in 3.4 with commit 346af67b8d116f01ef696fd47959a55deb2db8b6 and fixed in 5.10.253 with commit 0f37d1e65c6d71ad94ccfb5c602163c525db789d
	Issue introduced in 3.4 with commit 346af67b8d116f01ef696fd47959a55deb2db8b6 and fixed in 5.15.203 with commit 257cdb960d8ff6d60bb6461b03c814b6cf0c9e64
	Issue introduced in 3.4 with commit 346af67b8d116f01ef696fd47959a55deb2db8b6 and fixed in 6.1.168 with commit c34577f517b556fb6ca173d45bf7e766ae2564ce
	Issue introduced in 3.4 with commit 346af67b8d116f01ef696fd47959a55deb2db8b6 and fixed in 6.6.134 with commit f71695e81f4cb428f3c7e2138eae88199005b52c
	Issue introduced in 3.4 with commit 346af67b8d116f01ef696fd47959a55deb2db8b6 and fixed in 6.12.81 with commit 82f342b3b006ca1d65f4890c05f2ec32fcb808b6
	Issue introduced in 3.4 with commit 346af67b8d116f01ef696fd47959a55deb2db8b6 and fixed in 6.18.22 with commit 50fb64defa72a3fecd0af1ca7c6b47b5c5c2b257
	Issue introduced in 3.4 with commit 346af67b8d116f01ef696fd47959a55deb2db8b6 and fixed in 6.19.12 with commit 40ba329e8b4cd2fb11b0caf5e6a543ceaebb6009
	Issue introduced in 3.4 with commit 346af67b8d116f01ef696fd47959a55deb2db8b6 and fixed in 7.0 with commit b8dbe9648d69059cfe3a28917bfbf7e61efd7f15

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

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/mgmt.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/0f37d1e65c6d71ad94ccfb5c602163c525db789d
	https://git.kernel.org/stable/c/257cdb960d8ff6d60bb6461b03c814b6cf0c9e64
	https://git.kernel.org/stable/c/c34577f517b556fb6ca173d45bf7e766ae2564ce
	https://git.kernel.org/stable/c/f71695e81f4cb428f3c7e2138eae88199005b52c
	https://git.kernel.org/stable/c/82f342b3b006ca1d65f4890c05f2ec32fcb808b6
	https://git.kernel.org/stable/c/50fb64defa72a3fecd0af1ca7c6b47b5c5c2b257
	https://git.kernel.org/stable/c/40ba329e8b4cd2fb11b0caf5e6a543ceaebb6009
	https://git.kernel.org/stable/c/b8dbe9648d69059cfe3a28917bfbf7e61efd7f15