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 9DA8F28A40D for ; Thu, 10 Jul 2025 07:43:48 +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=1752133428; cv=none; b=gu4ojRUt9EnhGQvnk5tTgxnEZeJJpx9r8MSOExxTBR7vuCDDRJ7AqoBjCadEYB6U/NmNRH8ngq/ZmvSdddjgEwDQj9cURue247AnCy6cAh9GbHwz773O83ujTTb/nrD7W96m/akPXWjaqBUkQWKRXzZniKvMbTjO7NGwymMAd0g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133428; c=relaxed/simple; bh=lzW2LJL8Ra4IRZhXDK+wteW8wBC2BJNU+ifcj2k/uC0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EZlnZUN+0kmyN68gtHiOv6AyT4ww0cEFk9u6ZmYsYPexEjc3hSFNPSJKbyGsgEEdihNORVN06qffcLBF6XJOub0/BNAsVNXqlou5VWFkBg5gYgPVFzDlc/XEIb35+UKrCvfIz1vAOt7APPU4IJ157WNK56BnVU6fsRKiwPBG0Xs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=niaYtrTk; 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="niaYtrTk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8495C4CEE3; Thu, 10 Jul 2025 07:43:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133428; bh=lzW2LJL8Ra4IRZhXDK+wteW8wBC2BJNU+ifcj2k/uC0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=niaYtrTkPEbdP3qAeHhx7WuI+cxh5nGkLv+hbHnxOOcQsMmHxzvFvtW81O8/yMMrM X/9RaqaOWUzPrMI7ns73UlFvUzH5TD8yi7XyJWU6S3ija7kW0QmYh7gHn9d6a1Za3F vDii7EaYbo9iswJ7L358pcCev0CaKCccKME0s82c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38304: Bluetooth: Fix NULL pointer deference on eir_get_service_data Date: Thu, 10 Jul 2025 09:42:45 +0200 Message-ID: <2025071013-CVE-2025-38304-d021@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=2582; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aiwgJ/tvS1K6K4NZR849dJ/wtwYISghzHNvg62oa+bw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5eVcn/WyzWf3jocjU8LaqlKfvOzgXqAoEfpJVnOAvc mCqZEB9RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk+RqGBbfMzv63TTscIvzq /eEYN0E5HXetFwxzRcOWb7q0y9ZsRRrPY8+DWtaK/g+VAQ== 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: Fix NULL pointer deference on eir_get_service_data The len parameter is considered optional so it can be NULL so it cannot be used for skipping to next entry of EIR_SERVICE_DATA. The Linux kernel CVE team has assigned CVE-2025-38304 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 8f9ae5b3ae80f168a6224529e3787f4fb27f299a and fixed in 6.1.142 with commit 497c9d2d7d3983826bb02c10fb4a5818be6550fb Issue introduced in 5.19 with commit 8f9ae5b3ae80f168a6224529e3787f4fb27f299a and fixed in 6.6.94 with commit 4bf29910570666e668a60d953f8da78e95bb7fa2 Issue introduced in 5.19 with commit 8f9ae5b3ae80f168a6224529e3787f4fb27f299a and fixed in 6.12.34 with commit 842f7c3154d5b25ca11753c02ee8cf6ee64c0142 Issue introduced in 5.19 with commit 8f9ae5b3ae80f168a6224529e3787f4fb27f299a and fixed in 6.15.3 with commit 7d99cc0f8e6fa0f35570887899f178122a61d44e Issue introduced in 5.19 with commit 8f9ae5b3ae80f168a6224529e3787f4fb27f299a and fixed in 6.16-rc2 with commit 20a2aa01f5aeb6daad9aeaa7c33dd512c58d81eb 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-38304 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 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/497c9d2d7d3983826bb02c10fb4a5818be6550fb https://git.kernel.org/stable/c/4bf29910570666e668a60d953f8da78e95bb7fa2 https://git.kernel.org/stable/c/842f7c3154d5b25ca11753c02ee8cf6ee64c0142 https://git.kernel.org/stable/c/7d99cc0f8e6fa0f35570887899f178122a61d44e https://git.kernel.org/stable/c/20a2aa01f5aeb6daad9aeaa7c33dd512c58d81eb