Lucene search

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

CVE-2024-35856 Bluetooth: btusb: mediatek: Fix double free of skb in coredump

2024-05-1714:47:32
Linux
github.com
7
linux kernel
bluetooth
mediatek
coredump
hci_devcd_append
skb
double free

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: btusb: mediatek: Fix double free of skb in coredump

hci_devcd_append() would free the skb on error so the caller don’t
have to free it again otherwise it would cause the double free of skb.

Reported-by : Dan Carpenter <[email protected]>

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "0b7015132878",
        "lessThan": "80dfef128cb9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0b7015132878",
        "lessThan": "e20093c741d8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0b7015132878",
        "lessThan": "18bdb386a1a3",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/bluetooth/btmtk.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.6"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.6",
        "versionType": "custom"
      },
      {
        "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/btmtk.c"
    ],
    "defaultStatus": "affected"
  }
]

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial