# CVE-2024-26653: usb: misc: ljca: Fix double free in error handling path

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-04-01T08:33:04.200Z
- Modified: 2026-06-17T07:18:00.610Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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 .

(As written by CVE List.)

## Affected

- Linux Linux: from acd6199f195d6de814ac4090ce0864a613b1580e before 420babea4f1881a7c4ea22a8e218b8c6895d3f21; from acd6199f195d6de814ac4090ce0864a613b1580e before 8a9f653cc852677003c23ee8075e3ed8fb4743c9; from acd6199f195d6de814ac4090ce0864a613b1580e before 7c9631969287a5366bc8e39cd5abff154b35fb80; 6.7 (not affected: before 6.7; from 6.7.12 up to 6.7.*; from 6.8.3 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.7 before 6.7.12; from 6.8 before 6.8.3; 6.9

## References

- <https://git.kernel.org/stable/c/420babea4f1881a7c4ea22a8e218b8c6895d3f21> (patch)
- <https://git.kernel.org/stable/c/8a9f653cc852677003c23ee8075e3ed8fb4743c9> (patch)
- <https://git.kernel.org/stable/c/7c9631969287a5366bc8e39cd5abff154b35fb80> (patch)

## Sources

- CVE List: [CVE-2024-26653](https://www.cve.org/CVERecord?id=CVE-2024-26653), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26653](https://nvd.nist.gov/vuln/detail/CVE-2024-26653), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26653 · Whole record: https://cve.day/CVE-2024-26653.json · Rebuilt by cve.day 2026-11-25T22:58:38.259Z
