bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX (Linux Linux)

CVE-2024-42132
HIGH 7.6

At a glance

Source
NVD
EPSS
EPSS 0.29 % · percentile 22 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-763 — Release of Invalid Pointer or Reference

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.6CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HLinux
CVSS 3.1HIGH 7.6CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected f7e83f2278f06b577e3c92ea2f4e8e8c6fc72a8f < 2ae8d7742a09c275872e670c53337b3dcedaa11c ; affected 84cb0143fb8a03bf941c7aaedd56c938c99dafad < 4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4 ; affected 181a42edddf51d5d9697ecdf365d72ebeab5afb0 < d311036696fed778301d08a71a4bef737b86d8c5 ; affected 181a42edddf51d5d9697ecdf365d72ebeab5afb0 < 1cc18c2ab2e8c54c355ea7c0423a636e415a0c23 ; affected e9f708beada55426c8d678e2f46af659eb5bf4f0 ; affected 6.6.2 < 6.6.39
Linux · Linuxaffected 6.7 ; unaffected 0 < 6.7 ; unaffected 6.6.39 ≤ 6.6.* ; unaffected 6.9.9 ≤ 6.9.* ; unaffected 6.10 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD