CVE-2024-26653
usb: misc: ljca: Fix double free in error handling path
Reported by linux · Published April 1, 2024
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 products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | acd6199f195d6de814ac4090ce0864a613b1580e, acd6199f195d6de814ac4090ce0864a613b1580e, acd6199f195d6de814ac4090ce0864a613b1580e |
| Linux | Linux | 6.7, 0, 6.7.12 |
| linux | linux_kernel | 6.7, 6.7, 6.7 |
| Linux | Linux | *, *, 6.7 |
Timeline
- Apr 1, 2024 CVE Published
- Apr 2, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
- Jan 15, 2026 Security Advisory (133 in total, the first dated here)
- May 11, 2026 CVE Updated
- May 28, 2026 Distribution Patch (128 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-26653
vulnetix vdb fixes CVE-2024-26653
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26653/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart