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 9A85F3AB5DE for ; Thu, 25 Jun 2026 09:45:37 +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=1782380738; cv=none; b=kYg+pnH+T7EDjW6M/lL1lPBiAo8fBbrHYt+UqC1Vpatu/dLf0TeHF7FYYHxrHOLISeW4MU4Ch2HpgJ/yFptHRYrKw6y+ubKSgDA7NZBYdH7DufDbqyzI0CD1Rz10ewxSBcsti+ru3Q/40qVW11f/lNgyhCkWDJdySwqmIRKPMLs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782380738; c=relaxed/simple; bh=q/QiqOYffuulmQloCteRoczqpO/D4/DnjOBiG/zjNdc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ODx/BrZi4JNv60Nfr/HtNhRfrqpYPbKZ3B9xiyVjQ20TbJhSKos5qdW0fAB/7MhqC6AId/G7Ix2/i9q/Ylvzs9217gTq3s9EaPCwUYITW/fzHIgxPUjXL4AtdvOx1lP2DM/udyM8HFGfl6eptZW1RCyszAsHdIlrr37bZy9VaYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dbb4GNCn; 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="dbb4GNCn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BABA21F00A3A; Thu, 25 Jun 2026 09:45:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782380737; bh=DbR8cQDSBON9KYvrxqx6OeQFL4Js45e2V7JiLnbxXFs=; h=From:To:Cc:Subject:Date:Reply-To; b=dbb4GNCn5aFGq7EGPc0l/SdPqmphTSGwxYUfxM2Jmyd4iEm4w2QBAxNeG5KVi9Fx1 YzeKZ/XYGj0W84edpaK8dX9mnFLvT3Uj9CZ5D67+gng+95Skos8MMNhfXSsZ2ojiKE dHleZ6gBjaCSYADpqdOBrivO7GfdquIKPM6Saa4o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53255: Bluetooth: MGMT: validate advertising TLV before type checks Date: Thu, 25 Jun 2026 09:41:43 +0100 Message-ID: <2026062514-CVE-2026-53255-7d38@gregkh> X-Mailer: git-send-email 2.54.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=3941; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eY/QY+soo8pJ0GcfsQLcWmQzyqkr5N3b8CE6oKeVYHE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L/O63t9z4vxaWiG6XkjQ4M6tl6nLzgSpRz7j5m2yE 2s4IWjaEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNJaGRYsFV1lfAs/peXvi5j 0va35fD3fHpoHsP8krL+T+uOMBjVcnT/vMPR6e3eahoPAA== 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: MGMT: validate advertising TLV before type checks tlv_data_is_valid() reads each advertising data field length from data[i], then inspects data[i + 1] for managed EIR types before checking that the current field still fits inside the supplied buffer. A malformed field whose length byte is the last byte of the buffer can therefore make the parser read one byte past the advertising data. KASAN reported the following when a malformed MGMT_OP_ADD_ADVERTISING request reached that path: BUG: KASAN: vmalloc-out-of-bounds in tlv_data_is_valid() Read of size 1 Call trace: tlv_data_is_valid() add_advertising() hci_mgmt_cmd() hci_sock_sendmsg() Move the existing element-length check before any type-octet inspection so each non-empty element is proven to contain its type byte before the parser looks at data[i + 1]. The Linux kernel CVE team has assigned CVE-2026-53255 to this issue. Affected and fixed versions =========================== Issue introduced in 4.9 with commit 2bb36870e8cb29949ef9acec37129cd8e70f1857 and fixed in 5.10.259 with commit 13ad995071a06570668dd8daab3616c247c72080 Issue introduced in 4.9 with commit 2bb36870e8cb29949ef9acec37129cd8e70f1857 and fixed in 5.15.210 with commit 06fcbd79c3c360a50f9be9d370769bbd738d0976 Issue introduced in 4.9 with commit 2bb36870e8cb29949ef9acec37129cd8e70f1857 and fixed in 6.1.176 with commit f7093ac233c1e7f51d125534f46067772a113175 Issue introduced in 4.9 with commit 2bb36870e8cb29949ef9acec37129cd8e70f1857 and fixed in 6.6.143 with commit 74c08e4db35a476c3462aeb65846f955be732626 Issue introduced in 4.9 with commit 2bb36870e8cb29949ef9acec37129cd8e70f1857 and fixed in 6.12.94 with commit 18fea1cb0c2599752e908c8217490f73ddd33e00 Issue introduced in 4.9 with commit 2bb36870e8cb29949ef9acec37129cd8e70f1857 and fixed in 6.18.36 with commit 1a3c8ffbb469859b076445af44bdfa6a711d483e Issue introduced in 4.9 with commit 2bb36870e8cb29949ef9acec37129cd8e70f1857 and fixed in 7.0.13 with commit 2a3f3ed9e198ae23c15859ace2f9ca6cfdc35b57 Issue introduced in 4.9 with commit 2bb36870e8cb29949ef9acec37129cd8e70f1857 and fixed in 7.1 with commit de23fb62259aa01d294f77238ae3b835eb674413 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-53255 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/13ad995071a06570668dd8daab3616c247c72080 https://git.kernel.org/stable/c/06fcbd79c3c360a50f9be9d370769bbd738d0976 https://git.kernel.org/stable/c/f7093ac233c1e7f51d125534f46067772a113175 https://git.kernel.org/stable/c/74c08e4db35a476c3462aeb65846f955be732626 https://git.kernel.org/stable/c/18fea1cb0c2599752e908c8217490f73ddd33e00 https://git.kernel.org/stable/c/1a3c8ffbb469859b076445af44bdfa6a711d483e https://git.kernel.org/stable/c/2a3f3ed9e198ae23c15859ace2f9ca6cfdc35b57 https://git.kernel.org/stable/c/de23fb62259aa01d294f77238ae3b835eb674413