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 151BB194AD7 for ; Sat, 6 Dec 2025 21:52:46 +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=1765057967; cv=none; b=gJX2gDvqMK0d62Kli74AlBArXkLKqZ9OJjEvlMspet4FhdJUoINh41TWwgAY+DNpBpgCP3w5t9+PqhMspbJzHz1TNZI4mAUxkl4WRwjqED53MP7N+UgGIthfmrCA0ED8Y5b+Jcf0VXUQ4VMCIVJPalFsFbwvYR5sui1QtrN6BOg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765057967; c=relaxed/simple; bh=h/iHsuCY51THUvqycrgPC5HdV4oj/MkHBxZRkL2TeeU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DjbfHaoprCt/LWpl73DivRVC0Ogmzly0aKqC4ZIE1+luzNpdXC9x36h/lKNSELo1oHVX/HUkkLTkJB6LYAVV5HPQIpkrQrp70YArBjL6cEhptsvcbowVso49V//WdWrpk4pzvi4UjShEIwmNC4Di30X8PjFP7T8QLvMQcDXafqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=17fhhIPb; 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="17fhhIPb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DD9CC4CEF5; Sat, 6 Dec 2025 21:52:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765057966; bh=h/iHsuCY51THUvqycrgPC5HdV4oj/MkHBxZRkL2TeeU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=17fhhIPb8TIR2Fc56t0nM+uzvhjY43Ohrt9nhkcVza7T9jR8W9+7aePXFvyB92KMY 9YDZ8+5xWnZh+HhI8Bk1eh6Gkevgf4m4emU5sSPxANoxQhZVQ0KrGO7oihHnvYBNk9 zhb+g1x8G7PJRWTxVmWp5eGR8LfY36skzc4nUGZ0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40282: Bluetooth: 6lowpan: reset link-local header on ipv6 recv path Date: Sun, 7 Dec 2025 06:52:29 +0900 Message-ID: <2025120718-CVE-2025-40282-cdda@gregkh> X-Mailer: git-send-email 2.52.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=3762; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LSDLiQZ9LyUaxLpnzzYR+phW2X/727j1Pv+mT6XP5gg=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkmSyed3s95U7aqsqE7KyRh+vcnW46llL6s9W2JeOm9e +balpZFHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRiKcM8/MtmllDWXY8v3Vw T2tLyv0zvyo+b2RY0BzPrMDhYv3FxOS5wOX4/tYbfvE/AA== 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: 6lowpan: reset link-local header on ipv6 recv path Bluetooth 6lowpan.c netdev has header_ops, so it must set link-local header for RX skb, otherwise things crash, eg. with AF_PACKET SOCK_RAW Add missing skb_reset_mac_header() for uncompressed ipv6 RX path. For the compressed one, it is done in lowpan_header_decompress(). Log: (BlueZ 6lowpan-tester Client Recv Raw - Success) ------ kernel BUG at net/core/skbuff.c:212! Call Trace: ... packet_rcv (net/packet/af_packet.c:2152) ... __local_bh_enable_ip (kernel/softirq.c:407) netif_rx (net/core/dev.c:5648) chan_recv_cb (net/bluetooth/6lowpan.c:294 net/bluetooth/6lowpan.c:359) ------ The Linux kernel CVE team has assigned CVE-2025-40282 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit 18722c247023035b9e2e2a08a887adec2a9a6e49 and fixed in 5.4.302 with commit ea46a1d217bc82e01cf3d0424e50ebfe251e34bf Issue introduced in 3.14 with commit 18722c247023035b9e2e2a08a887adec2a9a6e49 and fixed in 5.10.247 with commit 973e0271754c77db3e1b6b69adf2de85a79a4c8b Issue introduced in 3.14 with commit 18722c247023035b9e2e2a08a887adec2a9a6e49 and fixed in 5.15.197 with commit d566e9a2bfc848941b091ffd5f4e12c4e889d818 Issue introduced in 3.14 with commit 18722c247023035b9e2e2a08a887adec2a9a6e49 and fixed in 6.1.159 with commit 4ebb90c3c309e6375dc3e841af92e2a039843e62 Issue introduced in 3.14 with commit 18722c247023035b9e2e2a08a887adec2a9a6e49 and fixed in 6.6.117 with commit c24ac6cfe4f9a47180a65592c47e7a310d2f9d93 Issue introduced in 3.14 with commit 18722c247023035b9e2e2a08a887adec2a9a6e49 and fixed in 6.12.59 with commit 11cd7e068381666f842ad41d1cc58eecd0c75237 Issue introduced in 3.14 with commit 18722c247023035b9e2e2a08a887adec2a9a6e49 and fixed in 6.17.9 with commit 70d84e7c3a44b81020a3c3d650a64c63593405bd Issue introduced in 3.14 with commit 18722c247023035b9e2e2a08a887adec2a9a6e49 and fixed in 6.18 with commit 3b78f50918276ab28fb22eac9aa49401ac436a3b 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-40282 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/6lowpan.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/ea46a1d217bc82e01cf3d0424e50ebfe251e34bf https://git.kernel.org/stable/c/973e0271754c77db3e1b6b69adf2de85a79a4c8b https://git.kernel.org/stable/c/d566e9a2bfc848941b091ffd5f4e12c4e889d818 https://git.kernel.org/stable/c/4ebb90c3c309e6375dc3e841af92e2a039843e62 https://git.kernel.org/stable/c/c24ac6cfe4f9a47180a65592c47e7a310d2f9d93 https://git.kernel.org/stable/c/11cd7e068381666f842ad41d1cc58eecd0c75237 https://git.kernel.org/stable/c/70d84e7c3a44b81020a3c3d650a64c63593405bd https://git.kernel.org/stable/c/3b78f50918276ab28fb22eac9aa49401ac436a3b