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.
Metrics
CVSS 3.1 7.1/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= f7e83f2278f06b577e3c92ea2f4e8e8c6fc72a8f, < 2ae8d7742a09c275872e670c53337b3dcedaa11c; >= 84cb0143fb8a03bf941c7aaedd56c938c99dafad, < 4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4; >= 181a42edddf51d5d9697ecdf365d72ebeab5afb0, < d311036696fed778301d08a71a4bef737b86d8c5; >= 181a42edddf51d5d9697ecdf365d72ebeab5afb0, < 1cc18c2ab2e8c54c355ea7c0423a636e415a0c23; e9f708beada55426c8d678e2f46af659eb5bf4f0; >= 6.6.2, < 6.6.39; >= 6.5.12, < 6.6 |
| Linux | Linux | 6.7 |
References
- https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23Patch
- https://git.kernel.org/stable/c/2ae8d7742a09c275872e670c53337b3dcedaa11c
- https://git.kernel.org/stable/c/4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4Patch
- https://git.kernel.org/stable/c/d311036696fed778301d08a71a4bef737b86d8c5Patch
- https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23Patch
- https://git.kernel.org/stable/c/4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4Patch
- https://git.kernel.org/stable/c/d311036696fed778301d08a71a4bef737b86d8c5Patch
Timeline
- Published
- Jul 30, 2024
- Last modified
- Aug 4, 2026
- NVD status
- Modified