VulnerabilityAwaiting classification

CVE-2025-40282

HIGH · 8.8 CVSS v3.1 Published 2025-12-06
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
93/100
Remediation priority · Urgent
No privileges Zero-click

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 · unedited
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) ------

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 confidence

A 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.

MitigationApply 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify if 6lowpan interfaces exist
    Run '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
  2. Check if the 6lowpan kernel module is loaded
    Run 'lsmod | grep 6lowpan' or check 'modinfo bluetooth' for 6lowpan related module information
    Affected if The 6lowpan module is not loaded - the flaw exists only when this module is active
  3. Verify if AF_PACKET SOCK_RAW sockets are in use with 6lowpan
    Use 'ss -ax' or 'netstat -ax' to list raw packet sockets; check if any application binds to AF_PACKET SOCK_RAW on 6lowpan interfaces
    Affected if No AF_PACKET SOCK_RAW sockets exist for 6lowpan interfaces - the crash only occurs when such sockets receive packets
  4. Confirm uncompressed IPv6 traffic over 6lowpan
    Capture packets on the 6lowpan interface (e.g., using tcpdump on bt0) and verify IPv6 packets without 6lowpan compression headers are present
    Affected if Only compressed 6lowpan frames are being received - the bug specifically affects uncompressed IPv6 packets in the RX path
  5. Compare kernel version against fixed version
    Run '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 notes
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Apply 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.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing6.0 h
  • Review / QA3.0 h
15.0 hours of engineering $2,560
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-40282 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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