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

Published Jul 30, 2024
·
Updated

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

bluetooth/hci: disallow setting handle bigger than HCICONNHANDLEMAX

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

This is caused by handle bigger than HCICONNHANDLEMAX passed by hcilebigsyncestablishedevt(), which makes code think it's unset connection.

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

Affected Software

13 affected componentsFixes available
redhat/kernel<6.6.39
6.6.39
redhat/kernel<6.9.9
6.9.9
redhat/kernel<6.10
6.10
Linux Linux kernel>=6.5.12<6.6
Linux Linux kernel>=6.6.2<6.6.39
Linux Linux kernel>=6.7<6.9.9
Linux Linux kernel=6.10-rc1
Linux Linux kernel=6.10-rc2
Linux Linux kernel=6.10-rc3
Linux Linux kernel=6.10-rc4
Linux Linux kernel=6.10-rc5
Linux Linux kernel=6.10-rc6
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.39
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9.9
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.10
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.133-1Fixed in 6.12.22-1
  5. Configuration

    Add/ensure the same check for the handle upper bound (handle > HCI_CONN_HANDLE_MAX) as in hci_conn_set_handle(), specifically in the code path handling hci_le_big_sync_established_evt(), to prevent warnings in hci_conn_del() caused by freeing a handle that was not allocated using the ida allocator.

    Linux kernel (Bluetooth HCI) hci_conn_set_handle() / hci_le_big_sync_established_evt() handle upper bound check = Disallow setting handle bigger than HCI_CONN_HANDLE_MAX

Event History

Jul 30, 2024
CVE Published
via MITRE·07:46 AM
Data Sourced
via MITRE·07:46 AM
DescriptionSeverity
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·08:35 AM
DescriptionSeverityAffected Software
Dec 15, 2024
Data Sourced
via Ubuntu·12:31 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-42132?

CVE-2024-42132 has been classified as a medium-severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-42132?

To fix CVE-2024-42132, you need to upgrade to one of the patched versions of the kernel, such as 6.6.39, 6.9.9, or 6.10.

3

Which systems are affected by CVE-2024-42132?

CVE-2024-42132 affects various versions of the Linux kernel prior to the patched releases mentioned.

4

What is the impact of CVE-2024-42132?

The impact of CVE-2024-42132 includes potential instability and undesired behavior in Bluetooth connections due to improper handle management.

5

Is CVE-2024-42132 fully resolved?

Yes, CVE-2024-42132 has been resolved in the kernel versions mentioned in the vulnerability report.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203