CVE-2024-26653
Severity CVSS v4.0:
Pending analysis
Type:
CWE-415
Double Free
Publication date:
01/04/2024
Last modified:
14/01/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
usb: misc: ljca: Fix double free in error handling path<br />
<br />
When auxiliary_device_add() returns error and then calls<br />
auxiliary_device_uninit(), callback function ljca_auxdev_release<br />
calls kfree(auxdev->dev.platform_data) to free the parameter data<br />
of the function ljca_new_client_device. The callers of<br />
ljca_new_client_device shouldn&#39;t call kfree() again<br />
in the error handling path to free the platform data.<br />
<br />
Fix this by cleaning up the redundant kfree() in all callers and<br />
adding kfree() the passed in platform_data on errors which happen<br />
before auxiliary_device_init() succeeds .
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:*:*:*:*:*:*:*:* | 6.7 (including) | 6.7.12 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.8 (including) | 6.8.3 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* |
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/420babea4f1881a7c4ea22a8e218b8c6895d3f21
- https://git.kernel.org/stable/c/7c9631969287a5366bc8e39cd5abff154b35fb80
- https://git.kernel.org/stable/c/8a9f653cc852677003c23ee8075e3ed8fb4743c9
- https://git.kernel.org/stable/c/420babea4f1881a7c4ea22a8e218b8c6895d3f21
- https://git.kernel.org/stable/c/7c9631969287a5366bc8e39cd5abff154b35fb80
- https://git.kernel.org/stable/c/8a9f653cc852677003c23ee8075e3ed8fb4743c9



