usb: misc: ljca: Fix double free in error handling path
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 .
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.7.12, 6.8.3
- CVEs
- CVE-2024-26653
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:57 UTC · Revision 1
Source evidence
usb: misc: ljca: Fix double free in error handling path
core-osv · Original sourcePublished 1 Apr 2024, 08:33 UTC
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 .
osv:CVE-2024-26653
Kernel
Fixed versions: 6.7.12, 6.8.3
Complete source record
{
"id": "b0cdc8f40e0baa7463edd9cd2b53361f3396161d11a230a222d59bb7dcf2584e",
"url": "https://osv.dev/vulnerability/CVE-2024-26653",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "usb: misc: ljca: Fix double free in error handling path",
"summary": "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 .",
"evidence": "osv:CVE-2024-26653",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.7.12",
"evidence": "/affected/1/ranges"
},
{
"value": "6.8.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-26653",
"aliases": [
"CVE-2024-26653"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "acd6199f195d6de814ac4090ce0864a613b1580e"
},
{
"fixed": "420babea4f1881a7c4ea22a8e218b8c6895d3f21"
},
{
"fixed": "8a9f653cc852677003c23ee8075e3ed8fb4743c9"
},
{
"fixed": "7c9631969287a5366bc8e39cd5abff154b35fb80"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26653.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.7.12"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.8.0"
},
{
"fixed": "6.8.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26653.json"
}
}
],
"modified": "2026-10-28T02:30:21.822353246Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/420babea4f1881a7c4ea22a8e218b8c6895d3f21",
"https://git.kernel.org/stable/c/7c9631969287a5366bc8e39cd5abff154b35fb80",
"https://git.kernel.org/stable/c/8a9f653cc852677003c23ee8075e3ed8fb4743c9",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26653.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-26653",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26653.json"
}
},
"related_cves": [
{
"value": "CVE-2024-26653",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 487998,
"published_at": "2024-04-01T08:33:04.2+00:00"
}