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-&gt;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&amp;#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 .

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:*:*:*:*:*:*