CVEvulnerability

CVE-2024-26653

7.8 HIGH Published 2024-04-01 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-04-01
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-415

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 .

Affected configurations

• linux linux kernel (>= 6.7 < 6.7.12) • linux linux kernel (>= 6.8 < 6.8.3) • linux linux kernel 6.9

Related

Weakness · CWE (1)

References