CVE-2024-26653
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.24%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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 .
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.24% probability · 15th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-415
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/420babea4f1881a7c4ea22a8e218b8c6895d3f21Patch
- https://git.kernel.org/stable/c/7c9631969287a5366bc8e39cd5abff154b35fb80Patch
- https://git.kernel.org/stable/c/8a9f653cc852677003c23ee8075e3ed8fb4743c9Patch
- https://git.kernel.org/stable/c/420babea4f1881a7c4ea22a8e218b8c6895d3f21Patch
- https://git.kernel.org/stable/c/7c9631969287a5366bc8e39cd5abff154b35fb80Patch
- https://git.kernel.org/stable/c/8a9f653cc852677003c23ee8075e3ed8fb4743c9Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.