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

- Severity: Medium 4.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2024-03-27T13:53:20.726Z
- Modified: 2026-06-17T07:18:00.450Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4569cce43bc61e4cdd76597a1cf9b608846c18cc before 995f802abff209514ac2ee03b96224237646cec3; from 4569cce43bc61e4cdd76597a1cf9b608846c18cc before ffda0e962f270b3ec937660afd15b685263232d3; from 4569cce43bc61e4cdd76597a1cf9b608846c18cc before ba18deddd6d502da71fd6b6143c53042271b82bd; 6.4 (not affected: before 6.4; from 6.6.22 up to 6.6.*; from 6.7.10 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 6.4 before 6.6.22; from 6.7 before 6.7.10; 6.8

## References

- <https://git.kernel.org/stable/c/995f802abff209514ac2ee03b96224237646cec3> (patch)
- <https://git.kernel.org/stable/c/ffda0e962f270b3ec937660afd15b685263232d3> (patch)
- <https://git.kernel.org/stable/c/ba18deddd6d502da71fd6b6143c53042271b82bd> (patch)

## Sources

- CVE List: [CVE-2024-26652](https://www.cve.org/CVERecord?id=CVE-2024-26652), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26652](https://nvd.nist.gov/vuln/detail/CVE-2024-26652), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26652 · Whole record: https://cve.day/CVE-2024-26652.json · Rebuilt by cve.day 2026-11-25T22:58:37.981Z
