Skip to contentSkip to conversation

CVE-2025-38303: Bluetooth: eir: Fix possible crashes on eir_create_adv_data

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 10, 2025

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: eir: Fix possible crashes on eir_create_adv_data

eir_create_adv_data may attempt to add EIR_FLAGS and EIR_TX_POWER without checking if that would fit.

The Linux kernel CVE team has assigned CVE-2025-38303 to this issue.

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

	Issue introduced in 5.16 with commit 01ce70b0a274bd76a5a311fb90d4d446d9bdfea1 and fixed in 6.12.34 with commit 2af40d795d3fb0ee5c074b7ac56ab22402aa6e4f
	Issue introduced in 5.16 with commit 01ce70b0a274bd76a5a311fb90d4d446d9bdfea1 and fixed in 6.15.3 with commit b9db0c27e73b7c8a19384a44af527edfda74ff3d
	Issue introduced in 5.16 with commit 01ce70b0a274bd76a5a311fb90d4d446d9bdfea1 and fixed in 6.16-rc2 with commit 47c03902269aff377f959dc3fd94a9733aa31d6e

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-2025-38303

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/eir.c
net/bluetooth/eir.h
net/bluetooth/hci_sync.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/2af40d795d3fb0ee5c074b7ac56ab22402aa6e4f
	https://git.kernel.org/stable/c/b9db0c27e73b7c8a19384a44af527edfda74ff3d
	https://git.kernel.org/stable/c/47c03902269aff377f959dc3fd94a9733aa31d6e