What’s Vulnerable › Vulnerabilities
CVE-2024-26652: net: pds_core: Fix possible double free in error handling path
- Severity: medium (CVSS 4.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-27 · updated 2026-06-17
- Weakness: CWE-415
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
- Linux kernel: from 6.4 before 6.6.22; from 6.7 before 6.7.10; 6.8-rc1, 6.8-rc2, 6.8-rc3, 6.8-rc4, 6.8-rc5, 6.8-rc6 — fixed in 6.6.22, 6.7.10
How to fix
Upgrade to a fixed version: Linux kernel 6.6.22, 6.7.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/995f802abff209514ac2ee03b96224237646cec3
- https://git.kernel.org/stable/c/ba18deddd6d502da71fd6b6143c53042271b82bd
- https://git.kernel.org/stable/c/ffda0e962f270b3ec937660afd15b685263232d3
- https://git.kernel.org/stable/c/995f802abff209514ac2ee03b96224237646cec3
- https://git.kernel.org/stable/c/ba18deddd6d502da71fd6b6143c53042271b82bd
- https://git.kernel.org/stable/c/ffda0e962f270b3ec937660afd15b685263232d3
Get alerted when CVE-2024-26652 or the next vulnerability affects your stack