Skip to content
Heist/ feed
High

Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor() KSAN reports use-after-free in hci_add_adv_monitor(). While adding an adv monitor, hci_add_adv_monitor() calls -> msft_add_monitor_pattern() calls -> msft_add_monitor_sync() calls -> msft_le_monitor_advertisement_cb() calls in an error case -> hci_free_adv_monitor() which frees the *moniter. This is referenced by bt_dev_dbg() in hci_add_adv_monitor(). Fix the bt_dev_dbg() by using handle instead of monitor->handle.

Announced Group revision 1
Original source ↗

CVE-2023-53828

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2023-53828

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "b747a83690c8f53bc7a3f75899415c699b2c51aa",
        "lessThan": "81d8e9f59df63b8358751c1ffed9f1cf5c796909",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b747a83690c8f53bc7a3f75899415c699b2c51aa",
        "lessThan": "aafda69d4807f5edf3558c9534be9b911774e63a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b747a83690c8f53bc7a3f75899415c699b2c51aa",
        "lessThan": "8d66f7ced51cb924bc90278d6a0a26a52877271a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "b747a83690c8f53bc7a3f75899415c699b2c51aa",
        "lessThan": "a2bcd2b63271a93a695fabbfbf459c603d956d48",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/bluetooth/hci_core.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.0"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.4.16",
        "versionType": "semver",
        "lessThanOrEqual": "6.4.*"
      },
      {
        "status": "unaffected",
        "version": "6.5.3",
        "versionType": "semver",
        "lessThanOrEqual": "6.5.*"
      },
      {
        "status": "unaffected",
        "version": "6.6",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/bluetooth/hci_core.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2023-53828

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#30328 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement