Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 245AE381B0D for ; Sat, 15 Aug 2026 06:33:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775625; cv=none; b=n8D5EC7DW7Fdh/bik7qPcuLSjrBN2gdtMRWqp+9EfPjSd5R/AXkbNmt3yDIR6NtM5X2KtnaBqNRv1ZkqF04bR+iL2aHZ/7tvTS3HnnaTcamlR0YgOyiLTS8zSFeF5NnIrxhfdmc8X0AchAZhkNjLYDftQ6DQJxRKuPzbQshARa8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775625; c=relaxed/simple; bh=fTD3vt544q5LosEwNRxk2wRSxf3oqyryLP9q1dRBKmE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ci5mezkQXcuuBHeY23yndtGe5NrEh/pWFQpc3xA5jYwL8uKNXPCbS8YY3JwnzKRoS4EwT9MS622Qy3/ROwEwagEIscWjO0zN26EOIJjW827uklDmiVmALLgfpfNBvOpZeNEs1BsPICFxoIZGYbjWmF2wOonmxFMrwmJTGWZM8yo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aSMyN/Km; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="aSMyN/Km" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20A521F000E9; Sat, 15 Aug 2026 06:33:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775623; bh=XLpsq9TVMpHf0vmNh1zVGQ9PH05s3h3UJR+lirj1WYY=; h=From:To:Cc:Subject:Date:Reply-To; b=aSMyN/KmXEMYGyuP8favPg4ZSWIqV+ewd8Gv5NU5a4OA7UIGiTP3XwuQWJv3EiB8J rwAey0+afPquhBcDwAgv34SD7JGkiCV9YS28SP/722+QtKdaJstIIC/ycy5yxGwEeO WW4E8hhETmryT/TBFY/rjJLrsZwUaIgMMgnhQMWM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74300: Bluetooth: hci: validate codec capability element length Date: Sat, 15 Aug 2026 15:10:27 +0900 Message-ID: <2026081549-CVE-2026-74300-c70a@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3475; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o1xU543edJHzSNZxaEVg0Af0+jEa8v9pwfVp4SQscWs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjJwyXFPqdl6VYl10+2H9CoY6g20TbNwe2zp43txWy Tez67dXRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyEnZthwcTdnhNNpszMLQ6d zVOZey/ITWhRMsNMRobQJiFGj0cnpRf5iDS5VQlVaJ0CAA== 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: hci: validate codec capability element length Read Local Codec Capabilities returns a sequence of capability elements. Each element starts with a one-byte length followed by that many payload bytes. hci_read_codec_capabilities() checks that the skb contains the length byte, but then validates only caps->len against the remaining skb length. A malformed controller response with one remaining byte and caps->len set to one passes that check even though the element needs two bytes. The parser then records a two-byte capability and copies one byte beyond the advertised response payload into the codec list. Validate the full element size, including the length byte, before adding it to the accumulated capability length. This preserves all well-formed capability elements and drops only truncated controller responses. The Linux kernel CVE team has assigned CVE-2026-74300 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit 8961987f3f5fa2f2618e72304d013c8dd5e604a6 and fixed in 6.1.178 with commit fc97fc8cf7f53fd3619db63e09050d20a3a0c4b1 Issue introduced in 5.16 with commit 8961987f3f5fa2f2618e72304d013c8dd5e604a6 and fixed in 6.6.145 with commit 290b36f9d1eb9b2f72b40d826f26b4a182ab15f7 Issue introduced in 5.16 with commit 8961987f3f5fa2f2618e72304d013c8dd5e604a6 and fixed in 6.12.97 with commit f2ad01f55e07f9531efcea736087e6b8658a3440 Issue introduced in 5.16 with commit 8961987f3f5fa2f2618e72304d013c8dd5e604a6 and fixed in 6.18.40 with commit ec4d352747a62c1082f16c11a74b37d6eb85a5a3 Issue introduced in 5.16 with commit 8961987f3f5fa2f2618e72304d013c8dd5e604a6 and fixed in 7.1.5 with commit 4bc16db0f11918e07edf9fdcda4a30cf4c9df45c Issue introduced in 5.16 with commit 8961987f3f5fa2f2618e72304d013c8dd5e604a6 and fixed in 7.2-rc1 with commit c38fbcdc407925c7088f7e5f11c1fff73d2d35a2 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-74300 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/hci_codec.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/fc97fc8cf7f53fd3619db63e09050d20a3a0c4b1 https://git.kernel.org/stable/c/290b36f9d1eb9b2f72b40d826f26b4a182ab15f7 https://git.kernel.org/stable/c/f2ad01f55e07f9531efcea736087e6b8658a3440 https://git.kernel.org/stable/c/ec4d352747a62c1082f16c11a74b37d6eb85a5a3 https://git.kernel.org/stable/c/4bc16db0f11918e07edf9fdcda4a30cf4c9df45c https://git.kernel.org/stable/c/c38fbcdc407925c7088f7e5f11c1fff73d2d35a2