Security mailing lists by PureSourceCode

CVE-2025-37918

MEDIUM 5.5CVSS 3.1

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.

Published
20 May 2025
Last modified
15 Oct 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Weakness
CWE-476
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.4, < 6.6.90 6.6.90
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7, < 6.12.28 6.12.28
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.13, < 6.14.6 6.14.6
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
= 6.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
= 6.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
= 6.15
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*
= 6.15

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 20 May 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.