[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025120718-CVE-2025-40282-cdda@gregkh>
Date: Sun, 7 Dec 2025 06:52:29 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40282: Bluetooth: 6lowpan: reset link-local header on ipv6 recv path
From: Greg Kroah-Hartman <gregkh@...nel.org>
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:
<IRQ>
...
packet_rcv (net/packet/af_packet.c:2152)
...
<TASK>
__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
Powered by blists - more mailing lists