CVE-2023-52475
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
29/02/2024
Last modified:
09/12/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
Input: powermate - fix use-after-free in powermate_config_complete<br />
<br />
syzbot has found a use-after-free bug [1] in the powermate driver. This<br />
happens when the device is disconnected, which leads to a memory free from<br />
the powermate_device struct. When an asynchronous control message<br />
completes after the kfree and its callback is invoked, the lock does not<br />
exist anymore and hence the bug.<br />
<br />
Use usb_kill_urb() on pm->config to cancel any in-progress requests upon<br />
device disconnection.<br />
<br />
[1] https://syzkaller.appspot.com/bug?extid=0434ac83f907a1dbdd1e
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.14.328 (excluding) | |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.15 (including) | 4.19.297 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.20 (including) | 5.4.259 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 (including) | 5.10.199 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.136 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.59 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.5.8 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:* |
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/2efe67c581a2a6122b328d4bb6f21b3f36f40d46
- https://git.kernel.org/stable/c/5aa514100aaf59868d745196258269a16737c7bd
- https://git.kernel.org/stable/c/5c15c60e7be615f05a45cd905093a54b11f461bc
- https://git.kernel.org/stable/c/67cace72606baf1758fd60feb358f4c6be92e1cc
- https://git.kernel.org/stable/c/6a4a396386404e62fb59bc3bde48871a64a82b4f
- https://git.kernel.org/stable/c/8677575c4f39d65bf0d719b5d20e8042e550ccb9
- https://git.kernel.org/stable/c/cd2fbfd8b922b7fdd50732e47d797754ab59cb06
- https://git.kernel.org/stable/c/e528b1b9d60743e0b26224e3fe7aa74c24b8b2f8
- https://git.kernel.org/stable/c/2efe67c581a2a6122b328d4bb6f21b3f36f40d46
- https://git.kernel.org/stable/c/5aa514100aaf59868d745196258269a16737c7bd
- https://git.kernel.org/stable/c/5c15c60e7be615f05a45cd905093a54b11f461bc
- https://git.kernel.org/stable/c/67cace72606baf1758fd60feb358f4c6be92e1cc
- https://git.kernel.org/stable/c/6a4a396386404e62fb59bc3bde48871a64a82b4f
- https://git.kernel.org/stable/c/8677575c4f39d65bf0d719b5d20e8042e550ccb9
- https://git.kernel.org/stable/c/cd2fbfd8b922b7fdd50732e47d797754ab59cb06
- https://git.kernel.org/stable/c/e528b1b9d60743e0b26224e3fe7aa74c24b8b2f8



