Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: qca: fix NULL-deref on non-serdev suspend Qualcomm ROME controllers can be registered from the Bluetooth line discipline and in this case the HCI UART serdev pointer is NULL. Add the missing sanity check to prevent a NULL-pointer dereference when wakeup() is called for a non-serdev controller during suspend. Just return true for now to restore the original behaviour and address the crash with pre-6.2 kernels, which do not have commit e9b3e5b8c657 ("Bluetooth: hci_qca: only assign wakeup with serial port support") that causes the crash to happen already at setup() time.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c1a74160eaf1ac218733b371158432b52601beff to < 52f9041deaca3fc5c40ef3b9cb943993ec7d2489affectedc1a74160eaf1ac218733b371158432b52601beff to < e60502b907be350c518819297b565007a94c706daffectedc1a74160eaf1ac218733b371158432b52601beff to < 6b47cdeb786c38e4174319218db3fa6d7b4bba88affectedc1a74160eaf1ac218733b371158432b52601beff to < b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189affectedc1a74160eaf1ac218733b371158432b52601beff to < 73e87c0a49fda31d7b589edccf4c72e924411371affected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected5.15.158 to ≤ 5.15.*unaffected6.1.90 to ≤ 6.1.*unaffected6.6.30 to ≤ 6.6.*unaffected6.8.9 to ≤ 6.8.*unaffected6.9 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489 ↗
- https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d ↗
- https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88 ↗
- https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189 ↗
- https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371 ↗