Bluetooth: qca: fix NULL-deref on non-serdev suspend
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 87% of all CVEs
observed exploitation
nono source reports it
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
Linux · LinuxReferences
https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d