From mboxrd@z Thu Jan 1 00:00:00 1970 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 001063A873A for ; Sun, 19 Jul 2026 15:46:22 +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=1784475984; cv=none; b=qr76zH6CPj10Q1YmNVPz1k0/BjJ4rG/4MJJMRFNTURMnjtz/FtjqFU9w/qIbSDqlQtIPjhzn7NlFUTjf3Xi7xDD3B2jyL1MRWGkTLq2fI7Sqzvo3qTh54iggonmTJ1X6wRj5GrdUEv9hB2+Jjy+XFmjjeeiPYksqHS01QwRO5ls= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475984; c=relaxed/simple; bh=UrFTEVQE6+4/OtDMQCYfenWKg5AisaG0XKcd2d2xaLs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XRJG7gpCtyhIhMK98L7oxNwqtUlEH2fI9Q7F+EcurJHCX9/8EGL+UcnKq7eove26a6lb0WQPfUhob+Gswq0t0M3hdBYwjKuL6cTf6uq1JLGOu0nAGQlYo38mALLI2ma950/Bg/rVaNCnhZbg1ROEa0QTuHejvUJjoE40wy2xt3w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WTS+EQ1d; 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="WTS+EQ1d" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FA711F000E9; Sun, 19 Jul 2026 15:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475982; bh=Txt+a0nUtj5cCkubCsl5c20g1wGAj3EkU1sBmYUAnVg=; h=From:To:Cc:Subject:Date:Reply-To; b=WTS+EQ1dTPSuXbo4vnS1wcFgkWoOala6CD3JFBUrSv0ztEB8Qc+daA4ceDoTp7EFx 0NMYkYteryhxakgJjGBavJPLPPIBDjgQQotC7T01MaQkR+jIIfBz6BCSykuH4/zkLu NUdkesxGiBjnV9w2/BAr+Zjzr5bCOxwdslgLpxAE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64126: Bluetooth: MGMT: validate Add Extended Advertising Data length Date: Sun, 19 Jul 2026 17:39:48 +0200 Message-ID: <2026071925-CVE-2026-64126-a17e@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=3768; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ksZmTfdACEra/MgnEzTnHyGOT8L5H+G4gBvbFDP4eDA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx74uCHmhqTc7+fP/uwoIfL9SPSc91XLDB90bem9hF/ x5zpwf96IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJyKkyzE/TuMEanKw3S7Ah MvtM0JEG928a8QzzLBvz14YdPyRsJbrTKujcU5l1T7R5AA== 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 Add Extended Advertising Data length MGMT_OP_ADD_EXT_ADV_DATA is registered as a variable-length command, with MGMT_ADD_EXT_ADV_DATA_SIZE as the fixed header size. The handler then uses cp->adv_data_len and cp->scan_rsp_len to validate and copy cp->data, but it never checks that those bytes are part of the mgmt command payload. A short command can therefore make add_ext_adv_data() pass an out-of-bounds pointer into tlv_data_is_valid(). If the bytes beyond the command buffer are addressable, they can also be copied into the advertising instance as scan response data, where the caller can read them back via MGMT_OP_GET_ADV_INSTANCE. The trigger requires CAP_NET_ADMIN in the initial user namespace; KASAN reports an 8-byte slab-out-of-bounds read. Reject commands whose length does not match the fixed header plus both advertising data lengths before parsing cp->data. The Linux kernel CVE team has assigned CVE-2026-64126 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 12410572833a283ce92fcf9679ca8a2f372097ee and fixed in 5.15.210 with commit 0d5104390b445e7bd664ad583837e4c04d892c9d Issue introduced in 5.11 with commit 12410572833a283ce92fcf9679ca8a2f372097ee and fixed in 6.1.175 with commit 14b01b9cba04e6ce82825f68fc4c4322fa4ffa43 Issue introduced in 5.11 with commit 12410572833a283ce92fcf9679ca8a2f372097ee and fixed in 6.6.142 with commit a143ce77a5292f2c9285137433d879ce71d190a7 Issue introduced in 5.11 with commit 12410572833a283ce92fcf9679ca8a2f372097ee and fixed in 6.12.92 with commit a6c75a3fad226ccbd8ef9110dee87c92c299f2ab Issue introduced in 5.11 with commit 12410572833a283ce92fcf9679ca8a2f372097ee and fixed in 6.18.34 with commit f1febe93ef075314615f970a87681d9ab86691d1 Issue introduced in 5.11 with commit 12410572833a283ce92fcf9679ca8a2f372097ee and fixed in 7.0.11 with commit 0bc1a5a69f541859293d79db72bd7854ac48df51 Issue introduced in 5.11 with commit 12410572833a283ce92fcf9679ca8a2f372097ee and fixed in 7.1 with commit d3f7d17960ed50df3a6709c5158caff989c8c905 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-64126 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/0d5104390b445e7bd664ad583837e4c04d892c9d https://git.kernel.org/stable/c/14b01b9cba04e6ce82825f68fc4c4322fa4ffa43 https://git.kernel.org/stable/c/a143ce77a5292f2c9285137433d879ce71d190a7 https://git.kernel.org/stable/c/a6c75a3fad226ccbd8ef9110dee87c92c299f2ab https://git.kernel.org/stable/c/f1febe93ef075314615f970a87681d9ab86691d1 https://git.kernel.org/stable/c/0bc1a5a69f541859293d79db72bd7854ac48df51 https://git.kernel.org/stable/c/d3f7d17960ed50df3a6709c5158caff989c8c905