We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-42137

Bluetooth: qca: Fix BT enable failure again for QCA6390 after warm reboot



Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: qca: Fix BT enable failure again for QCA6390 after warm reboot Commit 272970be3dab ("Bluetooth: hci_qca: Fix driver shutdown on closed serdev") will cause below regression issue: BT can't be enabled after below steps: cold boot -> enable BT -> disable BT -> warm reboot -> BT enable failure if property enable-gpios is not configured within DT|ACPI for QCA6390. The commit is to fix a use-after-free issue within qca_serdev_shutdown() by adding condition to avoid the serdev is flushed or wrote after closed but also introduces this regression issue regarding above steps since the VSC is not sent to reset controller during warm reboot. Fixed by sending the VSC to reset controller within qca_serdev_shutdown() once BT was ever enabled, and the use-after-free issue is also fixed by this change since the serdev is still opened before it is flushed or wrote. Verified by the reported machine Dell XPS 13 9310 laptop over below two kernel commits: commit e00fc2700a3f ("Bluetooth: btusb: Fix triggering coredump implementation for QCA") of bluetooth-next tree. commit b23d98d46d28 ("Bluetooth: btusb: Fix triggering coredump implementation for QCA") of linus mainline tree.

Reserved 2024-07-29 | Published 2024-07-30 | Updated 2024-12-19 | Assigner Linux

Product status

Default status
unaffected

e84ec6e25df9bb0968599e92eacedaf3a0a5b587 before 215a26c2404fa34625c725d446967fa328a703eb
affected

908d1742b6e694e84ead5c62e4b7c1bfbb8b46a3 before 4ca6013cd18e58ac1044908c40d4006a92093a11
affected

ea3ebda47dd56f6e1c62f2e0e1b6e1b0a973e447 before e6e200b264271f62a3fadb51ada9423015ece37b
affected

272970be3dabd24cbe50e393ffee8f04aec3b9a8 before e2d8aa4c763593704ac21e7591aed4f13e32f3b5
affected

272970be3dabd24cbe50e393ffee8f04aec3b9a8 before 977b9dc65e14fb80de4763d949c7dec2ecb15b9b
affected

272970be3dabd24cbe50e393ffee8f04aec3b9a8 before 88e72239ead9814b886db54fc4ee39ef3c2b8f26
affected

Default status
affected

6.2
affected

Any version before 6.2
unaffected

5.10.222
unaffected

5.15.163
unaffected

6.1.98
unaffected

6.6.39
unaffected

6.9.9
unaffected

6.10
unaffected

References

git.kernel.org/...c/215a26c2404fa34625c725d446967fa328a703eb

git.kernel.org/...c/4ca6013cd18e58ac1044908c40d4006a92093a11

git.kernel.org/...c/e6e200b264271f62a3fadb51ada9423015ece37b

git.kernel.org/...c/e2d8aa4c763593704ac21e7591aed4f13e32f3b5

git.kernel.org/...c/977b9dc65e14fb80de4763d949c7dec2ecb15b9b

git.kernel.org/...c/88e72239ead9814b886db54fc4ee39ef3c2b8f26

cve.org (CVE-2024-42137)

nvd.nist.gov (CVE-2024-42137)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-42137

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.