VYPR
High severity7.8NVD Advisory· Published Apr 1, 2024· Updated Jun 17, 2026

CVE-2024-26653

CVE-2024-26653

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 products

5
  • Linux/Kernel4 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 3 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.7,<6.7.12
    • cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
    • (no CPE)
    • (no CPE)range: 6.7
  • osv-coords
    Range: >= 6.7.0, < 6.7.12

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.