CVE-2025-40282 Bluetooth: 6lowpan: reset link-local header on ipv6 recv path
A missing header reset in the Linux kernel Bluetooth 6lowpan module causes a kernel crash when receiving raw IPv6 packets.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-40282?
CVE-2025-40282 is a high-severity vulnerability in Linux, published on 6 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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) ------
Which versions are affected by CVE-2025-40282?
How do I fix CVE-2025-40282?
Apply the vendor's patch.
Is CVE-2025-40282 being exploited?
There is no known exploitation of CVE-2025-40282 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-40282, DEBIAN-CVE-2025-40282, GHSA-5r7j-r8w6-f8xc, ROOT-OS-DEBIAN-12-CVE-2025-40282, ROOT-OS-DEBIAN-13-CVE-2025-40282, ROOT-OS-UBUNTU-2204-CVE-2025-40282 and 2 more.