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

Published Apr 1, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

When auxiliarydeviceadd() returns error and then calls auxiliarydeviceuninit(), callback function ljcaauxdevrelease calls kfree(auxdev->dev.platformdata) to free the parameter data of the function ljcanewclientdevice. The callers of ljcanewclientdevice 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 platformdata on errors which happen before auxiliarydeviceinit() succeeds .

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=6.7<6.7.12
Linux Linux kernel>=6.8<6.8.3
Linux Linux kernel=6.9-rc1
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Apr 1, 2024
CVE Published
via MITRE·08:33 AM
Data Sourced
via MITRE·08:33 AM
Description
Jun 8, 2024
Data Sourced
via Launchpad·12:59 AM
Description
Jan 18, 2025
Data Sourced
via Ubuntu·05:47 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·02:11 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26653?

CVE-2024-26653 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-26653?

To fix CVE-2024-26653, update to the latest Linux kernel versions provided by your distribution, particularly versions greater than or equal to 6.8.4.

3

Which versions of the Linux kernel are affected by CVE-2024-26653?

CVE-2024-26653 affects Linux kernel versions from 6.7 up to 6.8.3 and includes 6.9-rc1.

4

What is the nature of the vulnerability described in CVE-2024-26653?

CVE-2024-26653 involves a double free vulnerability in the USB miscellaneous driver error handling path.

5

Is there a workaround for CVE-2024-26653?

There are no official workarounds available for CVE-2024-26653; the best course of action is to apply the available patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203