CVE-2024-42132 (GCVE-0-2024-42132)
Vulnerability from cvelistv5
Published
2024-07-30 07:46
Modified
2026-08-05 11:35
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: f7e83f2278f06b577e3c92ea2f4e8e8c6fc72a8f
Version: 84cb0143fb8a03bf941c7aaedd56c938c99dafad
Version: 181a42edddf51d5d9697ecdf365d72ebeab5afb0
Version: 181a42edddf51d5d9697ecdf365d72ebeab5afb0
Version: e9f708beada55426c8d678e2f46af659eb5bf4f0
Version: 6.6.2   
Version: 6.5.12   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T04:54:31.923Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/d311036696fed778301d08a71a4bef737b86d8c5"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-42132",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T16:16:22.191923Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:34:36.401Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/bluetooth/hci_conn.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2ae8d7742a09c275872e670c53337b3dcedaa11c",
              "status": "affected",
              "version": "f7e83f2278f06b577e3c92ea2f4e8e8c6fc72a8f",
              "versionType": "git"
            },
            {
              "lessThan": "4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4",
              "status": "affected",
              "version": "84cb0143fb8a03bf941c7aaedd56c938c99dafad",
              "versionType": "git"
            },
            {
              "lessThan": "d311036696fed778301d08a71a4bef737b86d8c5",
              "status": "affected",
              "version": "181a42edddf51d5d9697ecdf365d72ebeab5afb0",
              "versionType": "git"
            },
            {
              "lessThan": "1cc18c2ab2e8c54c355ea7c0423a636e415a0c23",
              "status": "affected",
              "version": "181a42edddf51d5d9697ecdf365d72ebeab5afb0",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "e9f708beada55426c8d678e2f46af659eb5bf4f0",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.39",
              "status": "affected",
              "version": "6.6.2",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6",
              "status": "affected",
              "version": "6.5.12",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/bluetooth/hci_conn.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.39",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.9.*",
              "status": "unaffected",
              "version": "6.9.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.10",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.39",
                  "versionStartIncluding": "6.6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9.9",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.5.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX\n\nSyzbot hit warning in hci_conn_del() caused by freeing handle that was\nnot allocated using ida allocator.\n\nThis is caused by handle bigger than HCI_CONN_HANDLE_MAX passed by\nhci_le_big_sync_established_evt(), which makes code think it\u0027s unset\nconnection.\n\nAdd same check for handle upper bound as in hci_conn_set_handle() to\nprevent warning."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.6,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - The vulnerable code is the Bluetooth HCI event path (`hci_le_cis_req_evt`/`hci_le_big_sync_established_evt`), driven by LE CIS requests and BIG sync establishment initiated by a remote peer in radio range. Per Bluetooth scoring convention this is Adjacent.\nAC:L - No race, no memory-layout grooming, and no timing dependency \u2014 a single HCI event carrying a connection handle above 0x0eff deterministically creates a bogus \"unset\" hci_conn whose teardown always hits the ida_free WARN.\nPR:N - LE ACL connections and broadcast/PA sync require no pairing, bonding, or authentication, and no local account is needed; the attacker only needs to be an unauthenticated peer in range of a host with LE Audio/ISO enabled.\nUI:N - The event handlers run automatically in `hci_rx_work` as part of normal LE connection and broadcast-sync processing; no victim action is required.\nS:U - The corruption is confined to the kernel\u0027s own Bluetooth connection and IDA state within the same security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:L - The `WARN(1, ...)` in `ida_free()` emits a full register and stack backtrace containing kernel text and heap addresses, giving a bounded KASLR-defeating info leak; there is no arbitrary read primitive.\nI:L - The erroneous `ida_free()` desynchronizes `hdev-\u003eunset_handle_ida`, releasing an ID still owned by another connection so the same handle can be issued twice and `hci_conn_hash_lookup_handle()` resolves to the wrong connection; the out-of-range handle also corrupts the PB/BC flag bits of outgoing ACL/ISO headers. This is bounded kernel-state modification, not an arbitrary write.\nA:H - The bug reliably triggers a kernel WARNING, which is a panic on the many deployments (Android, CI, hardened distros) running with `panic_on_warn`, and the resulting duplicate-handle confusion persistently disrupts Bluetooth connection handling."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:35:49.667Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2ae8d7742a09c275872e670c53337b3dcedaa11c"
        },
        {
          "url": "https://git.kernel.org/stable/c/4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4"
        },
        {
          "url": "https://git.kernel.org/stable/c/d311036696fed778301d08a71a4bef737b86d8c5"
        },
        {
          "url": "https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23"
        }
      ],
      "title": "bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-42132",
    "datePublished": "2024-07-30T07:46:27.684Z",
    "dateReserved": "2024-07-29T15:50:41.186Z",
    "dateUpdated": "2026-08-05T11:35:49.667Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/d311036696fed778301d08a71a4bef737b86d8c5\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T04:54:31.923Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-42132\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T16:16:22.191923Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:24.738Z\"}}], \"cna\": {\"title\": \"bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.6, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:A - The vulnerable code is the Bluetooth HCI event path (`hci_le_cis_req_evt`/`hci_le_big_sync_established_evt`), driven by LE CIS requests and BIG sync establishment initiated by a remote peer in radio range. Per Bluetooth scoring convention this is Adjacent.\\nAC:L - No race, no memory-layout grooming, and no timing dependency \\u2014 a single HCI event carrying a connection handle above 0x0eff deterministically creates a bogus \\\"unset\\\" hci_conn whose teardown always hits the ida_free WARN.\\nPR:N - LE ACL connections and broadcast/PA sync require no pairing, bonding, or authentication, and no local account is needed; the attacker only needs to be an unauthenticated peer in range of a host with LE Audio/ISO enabled.\\nUI:N - The event handlers run automatically in `hci_rx_work` as part of normal LE connection and broadcast-sync processing; no victim action is required.\\nS:U - The corruption is confined to the kernel\u0027s own Bluetooth connection and IDA state within the same security authority; no VM, IOMMU, or sandbox boundary is crossed.\\nC:L - The `WARN(1, ...)` in `ida_free()` emits a full register and stack backtrace containing kernel text and heap addresses, giving a bounded KASLR-defeating info leak; there is no arbitrary read primitive.\\nI:L - The erroneous `ida_free()` desynchronizes `hdev-\u003eunset_handle_ida`, releasing an ID still owned by another connection so the same handle can be issued twice and `hci_conn_hash_lookup_handle()` resolves to the wrong connection; the out-of-range handle also corrupts the PB/BC flag bits of outgoing ACL/ISO headers. This is bounded kernel-state modification, not an arbitrary write.\\nA:H - The bug reliably triggers a kernel WARNING, which is a panic on the many deployments (Android, CI, hardened distros) running with `panic_on_warn`, and the resulting duplicate-handle confusion persistently disrupts Bluetooth connection handling.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"f7e83f2278f06b577e3c92ea2f4e8e8c6fc72a8f\", \"lessThan\": \"2ae8d7742a09c275872e670c53337b3dcedaa11c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"84cb0143fb8a03bf941c7aaedd56c938c99dafad\", \"lessThan\": \"4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"181a42edddf51d5d9697ecdf365d72ebeab5afb0\", \"lessThan\": \"d311036696fed778301d08a71a4bef737b86d8c5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"181a42edddf51d5d9697ecdf365d72ebeab5afb0\", \"lessThan\": \"1cc18c2ab2e8c54c355ea7c0423a636e415a0c23\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e9f708beada55426c8d678e2f46af659eb5bf4f0\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6.6.2\", \"lessThan\": \"6.6.39\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.5.12\", \"lessThan\": \"6.6\", \"versionType\": \"semver\"}], \"programFiles\": [\"net/bluetooth/hci_conn.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.7\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.7\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.6.39\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9.9\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.9.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/bluetooth/hci_conn.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/2ae8d7742a09c275872e670c53337b3dcedaa11c\"}, {\"url\": \"https://git.kernel.org/stable/c/4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4\"}, {\"url\": \"https://git.kernel.org/stable/c/d311036696fed778301d08a71a4bef737b86d8c5\"}, {\"url\": \"https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX\\n\\nSyzbot hit warning in hci_conn_del() caused by freeing handle that was\\nnot allocated using ida allocator.\\n\\nThis is caused by handle bigger than HCI_CONN_HANDLE_MAX passed by\\nhci_le_big_sync_established_evt(), which makes code think it\u0027s unset\\nconnection.\\n\\nAdd same check for handle upper bound as in hci_conn_set_handle() to\\nprevent warning.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.39\", \"versionStartIncluding\": \"6.6.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9.9\", \"versionStartIncluding\": \"6.7\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10\", \"versionStartIncluding\": \"6.7\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"6.5.12\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T11:35:49.667Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-42132\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T11:35:49.667Z\", \"dateReserved\": \"2024-07-29T15:50:41.186Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-07-30T07:46:27.684Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…