CVE-2024-26653

HIGH

Linux Kernel < 6.7.12 - Double Free

Title source: rule

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.0002
EPSS Percentile 4.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-415
Status published

Affected Products (4)

linux/linux_kernel < 6.7.12
linux/linux_kernel
linux/Kernel < 6.7.12linux
linux/Kernel < 6.8.3linux

Timeline

Published Apr 01, 2024
Tracked Since Feb 18, 2026