Skip to contentSkip to conversation

CVE-2026-43017: Bluetooth: MGMT: validate mesh send advertising payload length

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 mesh send advertising payload length

mesh_send() currently bounds MGMT_OP_MESH_SEND by total command length, but it never verifies that the bytes supplied for the flexible adv_data[] array actually match the embedded adv_data_len field. MGMT_MESH_SEND_SIZE only covers the fixed header, so a truncated command can still pass the existing 20..50 byte range check and later drive the async mesh send path past the end of the queued command buffer.

Keep rejecting zero-length and oversized advertising payloads, but validate adv_data_len explicitly and require the command length to exactly match the flexible array size before queueing the request.

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

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

	Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 6.1.168 with commit 24fa32369cf15d8fc918bdfe94097b12e6acada0
	Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 6.6.134 with commit 244b639e6a3a8e26241e201004a3a9f764476631
	Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 6.12.81 with commit 0b706fb2294aff3adfd54653bda1b5e356ad4566
	Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 6.18.22 with commit edb5898cfa91afe7e8f83eda18d93034c953d632
	Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 6.19.12 with commit 562ed1954f0c1bff3422b7b752bd3dacf185edbf
	Issue introduced in 6.1 with commit b338d91703fae6f6afd67f3f75caa3b8f36ddef3 and fixed in 7.0 with commit bda93eec78cdbfe5cda00785cefebd443e56b88b

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

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/24fa32369cf15d8fc918bdfe94097b12e6acada0
	https://git.kernel.org/stable/c/244b639e6a3a8e26241e201004a3a9f764476631
	https://git.kernel.org/stable/c/0b706fb2294aff3adfd54653bda1b5e356ad4566
	https://git.kernel.org/stable/c/edb5898cfa91afe7e8f83eda18d93034c953d632
	https://git.kernel.org/stable/c/562ed1954f0c1bff3422b7b752bd3dacf185edbf
	https://git.kernel.org/stable/c/bda93eec78cdbfe5cda00785cefebd443e56b88b