CVE-2024-42132
bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX
Check your servers for CVE-2024-42132
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-42132 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f7e83f2278f06b577e3c92ea2f4e8e8c6fc72a8f, before 2ae8d7742a09c275872e670c53337b3dcedaa11c affected from 84cb0143fb8a03bf941c7aaedd56c938c99dafad, before 4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4 affected from 181a42edddf51d5d9697ecdf365d72ebeab5afb0, before d311036696fed778301d08a71a4bef737b86d8c5 affected from 181a42edddf51d5d9697ecdf365d72ebeab5afb0, before 1cc18c2ab2e8c54c355ea7c0423a636e415a0c23 affected e9f708beada55426c8d678e2f46af659eb5bf4f0 affected from 6.6.2, before 6.6.39 affected from 6.5.12, before 6.6
Other versions: unaffected
|
| Linux |
affected 6.7 unaffected before 6.7 unaffected from 6.6.39 up to and including 6.6.* unaffected from 6.9.9 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-42132 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42132
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-42132
trivy image --scanners vuln IMAGE | grep CVE-2024-42132
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2ae8d7742a09c275872e670c53337b3dcedaa11c git.kernel.org
- https://git.kernel.org/stable/c/4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4 git.kernel.org
- https://git.kernel.org/stable/c/d311036696fed778301d08a71a4bef737b86d8c5 git.kernel.org
- https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23 git.kernel.org
Source: the record CVE-2024-42132 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse