VDB

CVE-2025-37918

CVE-2025-37918 PUBLISHED CVSS 8.8 HIGH

Bluetooth: btusb: avoid NULL pointer dereference in skb_dequeue()

Reported by linux · Published May 20, 2025

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: avoid NULL pointer dereference in skb_dequeue() A NULL pointer dereference can occur in skb_dequeue() when processing a QCA firmware crash dump on WCN7851 (0489:e0f3). [ 93.672166] Bluetooth: hci0: ACL memdump size(589824) [ 93.672475] BUG: kernel NULL pointer dereference, address: 0000000000000008 [ 93.672517] Workqueue: hci0 hci_devcd_rx [bluetooth] [ 93.672598] RIP: 0010:skb_dequeue+0x50/0x80 The issue stems from handle_dump_pkt_qca() returning 0 even when a dump packet is successfully processed. This is because it incorrectly forwards the return value of hci_devcd_init() (which returns 0 on success). As a result, the caller (btusb_recv_acl_qca() or btusb_recv_evt_qca()) assumes the packet was not handled and passes it to hci_recv_frame(), leading to premature kfree() of the skb. Later, hci_devcd_rx() attempts to dequeue the same skb from the dump queue, resulting in a NULL pointer dereference. Fix this by: 1. Making handle_dump_pkt_qca() return 0 on success and negative errno on failure, consistent with kernel conventions. 2. Splitting dump packet detection into separate functions for ACL and event packets for better structure and readability. This ensures dump packets are properly identified and consumed, avoiding double handling and preventing NULL pointer access.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.14.6, 6.12.28, 6.6.90
LinuxLinux0317b033abcd1d8dd2798f0e2de5e84543d0bd22

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux20981ce2d5a5f79d17da1ace3a93df7b3c6ba3d6, 20981ce2d5a5f79d17da1ace3a93df7b3c6ba3d6, 20981ce2d5a5f79d17da1ace3a93df7b3c6ba3d6
LinuxLinux6.4, 0, 6.6.90
LinuxLinux6.12.28, 0, 6.6.90
linuxlinux_kernel6.4, 6.4, 6.4

Timeline

  • May 20, 2025 CVE Published
  • May 21, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (6 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (217 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (226 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-37918
vulnetix vdb fixes CVE-2025-37918

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37918/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›