Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC1CA28A40D for ; Thu, 10 Jul 2025 07:43:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133424; cv=none; b=fEmS/UpCEQSBXuKu1Eaj8cXsTIbXW8rcPW2kLCv2Oiz/ODf5mXuZRHz+HAv/JwPYvkV+lLms3onT0H1SQXTI1IyUr0kfHCSckAVy7E9CKPd51VMzlV2gKV/IZIG+Npe+e6NbzlOL+XlWaaWM4W7bSHcOQLM7107LnBDNmSLSXlk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133424; c=relaxed/simple; bh=yQqjPPYJ02Fr1C92OQ7C5NzxfmTbjivZktQ1YDcatto=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jgUGuO2+SrqSxciUVXEHUqoZpNOf+UwRqJWaNClCHzutjOX97Dldrey78lXd65P/GXlsbxzr6gcien5hEdQUQ8sUoFUmaXfXHUOVToFamY4QYVmK26COqakw2mviAkx8yOjoa3KLCh2V1tpDIH5w60AXCrKz5xMnoFyDAb/Pz1I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r+FVW/M7; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="r+FVW/M7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32830C4CEE3; Thu, 10 Jul 2025 07:43:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133424; bh=yQqjPPYJ02Fr1C92OQ7C5NzxfmTbjivZktQ1YDcatto=; h=From:To:Cc:Subject:Date:Reply-to:From; b=r+FVW/M77SwVMbiCtBw2boBVdtVqT/+EU+hZI0l5KsX1kB2MQQUfk/rl2C3fDMFwQ Zf6wsGEdObbW2JNtCd1GFqZHJVRoyW+3VzZZ1+wA8mljUITwaG0sWrydio81gC7usH RZFz/Ra8Rw9T/o7FXF9dzG6TpwA9Xdlv6cpOli64= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38303: Bluetooth: eir: Fix possible crashes on eir_create_adv_data Date: Thu, 10 Jul 2025 09:42:44 +0200 Message-ID: <2025071013-CVE-2025-38303-b6ab@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2146; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2/Pz8e0SCZWRlmVXdJIbteJSPtcukuM/4PSqZnijkII=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5eVfz7ZQd1m6+cOnAG9Ea5eUXRB323pRm3Vr7Q7AyR yrNd9/BjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIlgHDXNkr/LePMbTtnL78 s+5Ez4zFoaskGxkWLKrKVk8M+b7xzzmpBKdN/x/bPJ28HwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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