Skip to content
Heist/ feed
Back to feed
UnratedFix available

Bluetooth: qca: fix NULL-deref on non-serdev suspend

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: qca: fix NULL-deref on non-serdev suspend Qualcomm ROME controllers can be registered from the Bluetooth line discipline and in this case the HCI UART serdev pointer is NULL. Add the missing sanity check to prevent a NULL-pointer dereference when wakeup() is called for a non-serdev controller during suspend. Just return true for now to restore the original behaviour and address the crash with pre-6.2 kernels, which do not have commit e9b3e5b8c657 ("Bluetooth: hci_qca: only assign wakeup with serial port support") that causes the crash to happen already at setup() time.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.158, 6.1.90, 6.6.30, 6.8.9
CVEs
CVE-2024-35851
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 10:46 UTC · Revision 1

Source evidence

Bluetooth: qca: fix NULL-deref on non-serdev suspend

core-osv · Original source

Published 17 May 2024, 14:47 UTC

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: qca: fix NULL-deref on non-serdev suspend Qualcomm ROME controllers can be registered from the Bluetooth line discipline and in this case the HCI UART serdev pointer is NULL. Add the missing sanity check to prevent a NULL-pointer dereference when wakeup() is called for a non-serdev controller during suspend. Just return true for now to restore the original behaviour and address the crash with pre-6.2 kernels, which do not have commit e9b3e5b8c657 ("Bluetooth: hci_qca: only assign wakeup with serial port support") that causes the crash to happen already at setup() time.

osv:CVE-2024-35851

Kernel

Fixed versions: 5.15.158, 6.1.90, 6.6.30, 6.8.9

Complete source record
{
  "id": "25a5e197aa7c2d852773e3ddcab15cb3c035ae56d32bd2a1d2e5b3bd8616d469",
  "url": "https://osv.dev/vulnerability/CVE-2024-35851",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Bluetooth: qca: fix NULL-deref on non-serdev suspend",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: Bluetooth: qca: fix NULL-deref on non-serdev suspend Qualcomm ROME controllers can be registered from the Bluetooth line discipline and in this case the HCI UART serdev pointer is NULL. Add the missing sanity check to prevent a NULL-pointer dereference when wakeup() is called for a non-serdev controller during suspend. Just return true for now to restore the original behaviour and address the crash with pre-6.2 kernels, which do not have commit e9b3e5b8c657 (\"Bluetooth: hci_qca: only assign wakeup with serial port support\") that causes the crash to happen already at setup() time.",
    "evidence": "osv:CVE-2024-35851",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.158",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.90",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.30",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.8.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-35851",
      "aliases": [
        "CVE-2024-35851"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c1a74160eaf1ac218733b371158432b52601beff"
                },
                {
                  "fixed": "52f9041deaca3fc5c40ef3b9cb943993ec7d2489"
                },
                {
                  "fixed": "e60502b907be350c518819297b565007a94c706d"
                },
                {
                  "fixed": "6b47cdeb786c38e4174319218db3fa6d7b4bba88"
                },
                {
                  "fixed": "b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189"
                },
                {
                  "fixed": "73e87c0a49fda31d7b589edccf4c72e924411371"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35851.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.13.0"
                },
                {
                  "fixed": "5.15.158"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.90"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.30"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.8.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35851.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.782320187Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489",
        "https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88",
        "https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371",
        "https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189",
        "https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35851.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-35851",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35851.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-35851",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 511667,
  "published_at": "2024-05-17T14:47:28.787+00:00"
}