CVE-2022-49138

Summary

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

Bluetooth: hci_event: Ignore multiple conn complete events

When one of the three connection complete events is received multiple times for the same handle, the device is registered multiple times which leads to memory corruptions. Therefore, consequent events for a single connection are ignored.

The conn->state can hold different values, therefore HCI_CONN_HANDLE_UNSET is introduced to identify new connections. To make sure the events do not contain this or another invalid handle HCI_CONN_HANDLE_MAX and checks are introduced.

Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=215497

Affected Software

VendorProductVersion RangeStatus
LinuxLinux7d0db0a373195385a2e0b19d1f5e4b186fdcffac < aa1ca580e3ffe62a2c5ea1c095b609b2943c5269affected
LinuxLinux7d0db0a373195385a2e0b19d1f5e4b186fdcffac < d5ebaa7c5f6f688959e8d40840b2249ede63b8edaffected
LinuxLinux2.6.27affected
LinuxLinux0 < 2.6.27unaffected
LinuxLinux5.17.3 <= 5.17.*unaffected
LinuxLinux5.18 <= *unaffected

Weaknesses

References