CVE-2024-42137
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
30/07/2024
Last modified:
16/09/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
Bluetooth: qca: Fix BT enable failure again for QCA6390 after warm reboot<br />
<br />
Commit 272970be3dab ("Bluetooth: hci_qca: Fix driver shutdown on closed<br />
serdev") will cause below regression issue:<br />
<br />
BT can&#39;t be enabled after below steps:<br />
cold boot -> enable BT -> disable BT -> warm reboot -> BT enable failure<br />
if property enable-gpios is not configured within DT|ACPI for QCA6390.<br />
<br />
The commit is to fix a use-after-free issue within qca_serdev_shutdown()<br />
by adding condition to avoid the serdev is flushed or wrote after closed<br />
but also introduces this regression issue regarding above steps since the<br />
VSC is not sent to reset controller during warm reboot.<br />
<br />
Fixed by sending the VSC to reset controller within qca_serdev_shutdown()<br />
once BT was ever enabled, and the use-after-free issue is also fixed by<br />
this change since the serdev is still opened before it is flushed or wrote.<br />
<br />
Verified by the reported machine Dell XPS 13 9310 laptop over below two<br />
kernel commits:<br />
commit e00fc2700a3f ("Bluetooth: btusb: Fix triggering coredump<br />
implementation for QCA") of bluetooth-next tree.<br />
commit b23d98d46d28 ("Bluetooth: btusb: Fix triggering coredump<br />
implementation for QCA") of linus mainline tree.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.10.165 (including) | 5.10.222 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15.90 (including) | 5.15.163 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.1.8 (including) | 6.1.98 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.39 (excluding) |
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.9.9 (excluding) |
cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:* | ||
cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/215a26c2404fa34625c725d446967fa328a703eb
- https://git.kernel.org/stable/c/4ca6013cd18e58ac1044908c40d4006a92093a11
- https://git.kernel.org/stable/c/88e72239ead9814b886db54fc4ee39ef3c2b8f26
- https://git.kernel.org/stable/c/977b9dc65e14fb80de4763d949c7dec2ecb15b9b
- https://git.kernel.org/stable/c/e2d8aa4c763593704ac21e7591aed4f13e32f3b5
- https://git.kernel.org/stable/c/e6e200b264271f62a3fadb51ada9423015ece37b