What’s Vulnerable › Vulnerabilities

CVE-2024-26652: net: pds_core: Fix possible double free in error handling path

Description

In the Linux kernel, the following vulnerability has been resolved: net: pds_core: Fix possible double free in error handling path When auxiliary_device_add() returns error and then calls auxiliary_device_uninit(), Callback function pdsc_auxbus_dev_release calls kfree(padev) to free memory. We shouldn't call kfree(padev) again in the error handling path. Fix this by cleaning up the redundant kfree() and putting the error handling back to where the errors happened.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.6.22, 6.7.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26652 or the next vulnerability affects your stack