CVE-2025-40282

Bluetooth: 6lowpan: reset link-local header on ipv6 recv path

State
Published
Severity
8.8 High
Published
Dec 6, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.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) ------

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 18722c247023035b9e2e2a08a887adec2a9a6e49 to before ea46a1d217bc82e01cf3d0424e50ebfe251e34bfAffected
  • 18722c247023035b9e2e2a08a887adec2a9a6e49 to before 973e0271754c77db3e1b6b69adf2de85a79a4c8bAffected
  • 18722c247023035b9e2e2a08a887adec2a9a6e49 to before d566e9a2bfc848941b091ffd5f4e12c4e889d818Affected
  • 18722c247023035b9e2e2a08a887adec2a9a6e49 to before 4ebb90c3c309e6375dc3e841af92e2a039843e62Affected
  • 18722c247023035b9e2e2a08a887adec2a9a6e49 to before c24ac6cfe4f9a47180a65592c47e7a310d2f9d93Affected
  • 18722c247023035b9e2e2a08a887adec2a9a6e49 to before 11cd7e068381666f842ad41d1cc58eecd0c75237Affected
  • 18722c247023035b9e2e2a08a887adec2a9a6e49 to before 70d84e7c3a44b81020a3c3d650a64c63593405bdAffected
  • 18722c247023035b9e2e2a08a887adec2a9a6e49 to before 3b78f50918276ab28fb22eac9aa49401ac436a3bAffected
LinuxLinux
  • 3.14Affected
  • before 3.14Not affected
  • 5.4.302 through 5.4.*Not affected
  • 5.10.247 through 5.10.*Not affected
  • 5.15.197 through 5.15.*Not affected
  • 6.1.159 through 6.1.*Not affected
  • 6.6.117 through 6.6.*Not affected
  • 6.12.59 through 6.12.*Not affected
  • 6.17.9 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.