CVE-2024-26653

published 1 Apr 2024 · updated 11 May 2026

usb: misc: ljca: Fix double free in error handling path

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 420babea4f1881a7c4ea22a8e218b8c6895d3f21, Kernel 7c9631969287a5366bc8e39cd5abff154b35fb80 and Kernel 8a9f653cc852677003c23ee8075e3ed8fb4743c9.

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 .

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.7, >=acd6199f195d6de814ac4090ce0864a613b1580e <420babea4f1881a7c4ea22a8e218b8c6895d3f21, >=acd6199f195d6de814ac4090ce0864a613b1580e <7c9631969287a5366bc8e39cd5abff154b35fb80, >=acd6199f195d6de814ac4090ce0864a613b1580e <8a9f653cc852677003c23ee8075e3ed8fb4743c9420babea4f1881a7c4ea22a8e218b8c6895d3f21, 7c9631969287a5366bc8e39cd5abff154b35fb80, 8a9f653cc852677003c23ee8075e3ed8fb4743c9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26653 severity on Zeptric[![CVE-2024-26653](https://zeptric.io/badge/cve/CVE-2024-26653.svg)](https://zeptric.io/cve/CVE-2024-26653)