Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-35851
HistoryMay 17, 2024 - 2:47 p.m.

CVE-2024-35851 Bluetooth: qca: fix NULL-deref on non-serdev suspend

2024-05-1714:47:28
Linux
github.com
7
linux kernel
vulnerability fix
bluetooth
qualcomm
null-deref
serdev
suspend

AI Score

6.8

Confidence

High

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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.

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "c1a74160eaf1",
        "lessThan": "52f9041deaca",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c1a74160eaf1",
        "lessThan": "e60502b907be",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c1a74160eaf1",
        "lessThan": "6b47cdeb786c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c1a74160eaf1",
        "lessThan": "b64092d2f108",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c1a74160eaf1",
        "lessThan": "73e87c0a49fd",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/bluetooth/hci_qca.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.13"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.13",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "5.15.158",
        "versionType": "custom",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.90",
        "versionType": "custom",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.30",
        "versionType": "custom",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.8.9",
        "versionType": "custom",
        "lessThanOrEqual": "6.8.*"
      },
      {
        "status": "unaffected",
        "version": "6.9",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/bluetooth/hci_qca.c"
    ],
    "defaultStatus": "affected"
  }
]

AI Score

6.8

Confidence

High

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial