CVE-2024-26653

HIGH

Linux Kernel 6.7-6.7.11, 6.8-6.8.2 - Use-After-Free in USB LJCA Auxiliary Device Handling

Title source: llm
STIX 2.1

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 .

Scores

CVSS v3 7.8
EPSS 0.0024
EPSS Percentile 14.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-415
Status published
Products (12)
linux/Kernel 6.7.0 - 6.7.12linux
linux/Kernel 6.8.0 - 6.8.3linux
Linux/Linux < 6.7
Linux/Linux 6.7
Linux/Linux 6.7.12 - 6.7.*
Linux/Linux 6.8.3 - 6.8.*
Linux/Linux 6.9
Linux/Linux acd6199f195d6de814ac4090ce0864a613b1580e - 420babea4f1881a7c4ea22a8e218b8c6895d3f21
Linux/Linux acd6199f195d6de814ac4090ce0864a613b1580e - 7c9631969287a5366bc8e39cd5abff154b35fb80
Linux/Linux acd6199f195d6de814ac4090ce0864a613b1580e - 8a9f653cc852677003c23ee8075e3ed8fb4743c9
... and 2 more
Published Apr 01, 2024
Tracked Since Feb 18, 2026