In the Linux kernel, the following vulnerability has been resolved:
usb: misc: ljca: Fix double free in error handling path
When auxiliary_device_add() returns error and then calls
auxiliary_device_uninit(), callback function ljca_auxdev_release
calls kfree(auxdev->dev.platform_data) to free the parameter data
of the function ljca_new_client_device. The callers of
ljca_new_client_device shouldn't call kfree() again
in the error handling path to free the platform data.
Fix this by cleaning up the redundant kfree() in all callers and
adding kfree() the passed in platform_data on errors which happen
before auxiliary_device_init() succeeds .
References
Configurations
Configuration 1 (hide)
|
History
14 Jan 2025, 15:37
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/420babea4f1881a7c4ea22a8e218b8c6895d3f21 - Patch | |
References | () https://git.kernel.org/stable/c/7c9631969287a5366bc8e39cd5abff154b35fb80 - Patch | |
References | () https://git.kernel.org/stable/c/8a9f653cc852677003c23ee8075e3ed8fb4743c9 - Patch | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
First Time |
Linux
Linux linux Kernel |
|
CWE | CWE-415 | |
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* |
21 Nov 2024, 09:02
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/420babea4f1881a7c4ea22a8e218b8c6895d3f21 - | |
References | () https://git.kernel.org/stable/c/7c9631969287a5366bc8e39cd5abff154b35fb80 - | |
References | () https://git.kernel.org/stable/c/8a9f653cc852677003c23ee8075e3ed8fb4743c9 - |
03 Apr 2024, 14:15
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
|
References |
|
01 Apr 2024, 09:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-04-01 09:15
Updated : 2025-01-14 15:37
NVD link : CVE-2024-26653
Mitre link : CVE-2024-26653
CVE.ORG link : CVE-2024-26653
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-415
Double Free