CVE-2025-40282

Summary

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)

Affected Software

VendorProductVersion RangeStatus
LinuxLinux18722c247023035b9e2e2a08a887adec2a9a6e49 < ea46a1d217bc82e01cf3d0424e50ebfe251e34bfaffected
LinuxLinux18722c247023035b9e2e2a08a887adec2a9a6e49 < 973e0271754c77db3e1b6b69adf2de85a79a4c8baffected
LinuxLinux18722c247023035b9e2e2a08a887adec2a9a6e49 < d566e9a2bfc848941b091ffd5f4e12c4e889d818affected
LinuxLinux18722c247023035b9e2e2a08a887adec2a9a6e49 < 4ebb90c3c309e6375dc3e841af92e2a039843e62affected
LinuxLinux18722c247023035b9e2e2a08a887adec2a9a6e49 < c24ac6cfe4f9a47180a65592c47e7a310d2f9d93affected
LinuxLinux18722c247023035b9e2e2a08a887adec2a9a6e49 < 11cd7e068381666f842ad41d1cc58eecd0c75237affected
LinuxLinux18722c247023035b9e2e2a08a887adec2a9a6e49 < 70d84e7c3a44b81020a3c3d650a64c63593405bdaffected
LinuxLinux18722c247023035b9e2e2a08a887adec2a9a6e49 < 3b78f50918276ab28fb22eac9aa49401ac436a3baffected
LinuxLinux3.14affected
LinuxLinux0 < 3.14unaffected
LinuxLinux5.4.302 <= 5.4.*unaffected
LinuxLinux5.10.247 <= 5.10.*unaffected
LinuxLinux5.15.197 <= 5.15.*unaffected
LinuxLinux6.1.159 <= 6.1.*unaffected
LinuxLinux6.6.117 <= 6.6.*unaffected
LinuxLinux6.12.59 <= 6.12.*unaffected
LinuxLinux6.17.9 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References