CVE-2025-40282
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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) ------
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA missing skb_reset_mac_header() call in the uncompressed IPv6 receive path of the Bluetooth 6lowpan module causes a kernel BUG when AF_PACKET SOCK_RAW sockets attempt to process received packets. The compressed IPv6 path correctly calls lowpan_header_decompress() which handles this, but the uncompressed path lacks the equivalent header reset, leading to an invalid MAC header reference in skb->data.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Adjacent
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if 6lowpan interfaces existRun 'ip link show' or check 'ls /sys/kernel/debug/bluetooth/' for 6lowpan entries; look for interfaces named like 'bt0' or 'lowpan0'Affected if No 6lowpan interfaces are present in the system - the bug requires active 6lowpan netdev usage
-
Check if the 6lowpan kernel module is loadedRun 'lsmod | grep 6lowpan' or check 'modinfo bluetooth' for 6lowpan related module informationAffected if The 6lowpan module is not loaded - the flaw exists only when this module is active
-
Verify if AF_PACKET SOCK_RAW sockets are in use with 6lowpanUse 'ss -ax' or 'netstat -ax' to list raw packet sockets; check if any application binds to AF_PACKET SOCK_RAW on 6lowpan interfacesAffected if No AF_PACKET SOCK_RAW sockets exist for 6lowpan interfaces - the crash only occurs when such sockets receive packets
-
Confirm uncompressed IPv6 traffic over 6lowpanCapture packets on the 6lowpan interface (e.g., using tcpdump on bt0) and verify IPv6 packets without 6lowpan compression headers are presentAffected if Only compressed 6lowpan frames are being received - the bug specifically affects uncompressed IPv6 packets in the RX path
-
Compare kernel version against fixed versionRun 'uname -r' to get kernel version; the fix adds skb_reset_mac_header() call in net/bluetooth/6lowpan.c - check if your kernel version includes this patch by reviewing kernel source or release notesAffected if Kernel version predates the patch that adds the skb_reset_mac_header() call in the uncompressed IPv6 RX path
A system is affected if it runs a kernel without the fix, has active 6lowpan interfaces, uses AF_PACKET SOCK_RAW sockets on those interfaces, and receives uncompressed IPv6 packets through them - all four conditions must be true for the kernel crash to trigger.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataApply the Linux kernel patch that adds skb_reset_mac_header() to the uncompressed IPv6 RX path in net/bluetooth/6lowpan.c, or update to a kernel version containing this fix. Systems using Bluetooth 6lowpan with AF_PACKET raw sockets are affected.
- Consultation2.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,096.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-40282 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-40282 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data