{
  "id": "CVE-2025-37918",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37918",
  "published_at": "2025-05-20T15:21:48.473Z",
  "title": "Bluetooth: btusb: avoid NULL pointer dereference in skb_dequeue()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btusb: avoid NULL pointer dereference in skb_dequeue()\n\nA NULL pointer dereference can occur in skb_dequeue() when processing a\nQCA firmware crash dump on WCN7851 (0489:e0f3).\n\n[ 93.672166] Bluetooth: hci0: ACL memdump size(589824)\n\n[ 93.672475] BUG: kernel NULL pointer dereference, address: 0000000000000008\n[ 93.672517] Workqueue: hci0 hci_devcd_rx [bluetooth]\n[ 93.672598] RIP: 0010:skb_dequeue+0x50/0x80\n\nThe issue stems from handle_dump_pkt_qca() returning 0 even when a dump\npacket is successfully processed. This is because it incorrectly\nforwards the return value of hci_devcd_init() (which returns 0 on\nsuccess). As a result, the caller (btusb_recv_acl_qca() or\nbtusb_recv_evt_qca()) assumes the packet was not handled and passes it\nto hci_recv_frame(), leading to premature kfree() of the skb.\n\nLater, hci_devcd_rx() attempts to dequeue the same skb from the dump\nqueue, resulting in a NULL pointer dereference.\n\nFix this by:\n1. Making handle_dump_pkt_qca() return 0 on success and negative errno\n   on failure, consistent with kernel conventions.\n2. Splitting dump packet detection into separate functions for ACL\n   and event packets for better structure and readability.\n\nThis ensures dump packets are properly identified and consumed, avoiding\ndouble handling and preventing NULL pointer access.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 20981ce2d5a5f79d17da1ace3a93df7b3c6ba3d6, \u003c 2e8d44ebaa7babdd5c5ab50ca275826e241920d6",
          "\u003e= 20981ce2d5a5f79d17da1ace3a93df7b3c6ba3d6, \u003c b70b41591ec48c78ec6a885e1f57bfc4029e5e13",
          "\u003e= 20981ce2d5a5f79d17da1ace3a93df7b3c6ba3d6, \u003c 8563d9fabd8a4b726ba7acab4737c438bf11a059",
          "\u003e= 20981ce2d5a5f79d17da1ace3a93df7b3c6ba3d6, \u003c 0317b033abcd1d8dd2798f0e2de5e84543d0bd22"
        ],
        "fixed_in": [
          "2e8d44ebaa7babdd5c5ab50ca275826e241920d6",
          "b70b41591ec48c78ec6a885e1f57bfc4029e5e13",
          "8563d9fabd8a4b726ba7acab4737c438bf11a059",
          "0317b033abcd1d8dd2798f0e2de5e84543d0bd22"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.4"
        ],
        "fixed_in": [
          "0",
          "6.6.90",
          "6.12.28",
          "6.14.6",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 2e8d44ebaa7babdd5c5ab50ca275826e241920d6 or b70b41591ec48c78ec6a885e1f57bfc4029e5e13 or 8563d9fabd8a4b726ba7acab4737c438bf11a059 or 0317b033abcd1d8dd2798f0e2de5e84543d0bd22 or later.",
      "Upgrade Linux to 0 or 6.6.90 or 6.12.28 or 6.14.6 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
