Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42132
HistoryJul 30, 2024 - 7:46 a.m.

CVE-2024-42132 bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX

2024-07-3007:46:27
Linux
www.cve.org
3
linux kernel
vulnerability
bluetooth
hci
handle
allocation
warning
code
prevention
cve-2024-42132

EPSS

0

Percentile

16.2%

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

bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX

Syzbot hit warning in hci_conn_del() caused by freeing handle that was
not allocated using ida allocator.

This is caused by handle bigger than HCI_CONN_HANDLE_MAX passed by
hci_le_big_sync_established_evt(), which makes code think it’s unset
connection.

Add same check for handle upper bound as in hci_conn_set_handle() to
prevent warning.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/bluetooth/hci_conn.c"
    ],
    "versions": [
      {
        "version": "84cb0143fb8a",
        "lessThan": "4970e48f83db",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "181a42edddf5",
        "lessThan": "d311036696fe",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "181a42edddf5",
        "lessThan": "1cc18c2ab2e8",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/bluetooth/hci_conn.c"
    ],
    "versions": [
      {
        "version": "6.7",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.7",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.39",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.9",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

16.2%