# CVE-2024-42069: net: mana: Fix possible double free in error handling path

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-07-29T15:52:33.273Z
- Modified: 2026-08-05T11:35:28.180Z
- Weaknesses: CWE-476
- 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: mana: Fix possible double free in error handling path

When auxiliary_device_add() returns error and then calls
auxiliary_device_uninit(), callback function adev_release
calls kfree(madev). We shouldn't call kfree(madev) again
in the error handling path. Set 'madev' to NULL.

(As written by CVE List.)

## Affected

- Linux Linux: from a69839d4327d053b18d8e1b0e7ddeee78db78f4f before 3243e64eb4d897c3eeb48b2a7221ab5a95e1282a; from a69839d4327d053b18d8e1b0e7ddeee78db78f4f before ed45c0a0b662079d4c0e518014cc148c753979b4; from a69839d4327d053b18d8e1b0e7ddeee78db78f4f before 1864b8224195d0e43ddb92a8151f54f6562090cc; 6.2 (not affected: before 6.2; from 6.6.37 up to 6.6.*; from 6.9.8 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 6.2; from 6.3 before 6.6.37; from 6.7 before 6.9.8

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3243e64eb4d897c3eeb48b2a7221ab5a95e1282a> (patch)
- <https://git.kernel.org/stable/c/ed45c0a0b662079d4c0e518014cc148c753979b4> (patch)
- <https://git.kernel.org/stable/c/1864b8224195d0e43ddb92a8151f54f6562090cc> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>

## Sources

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

---

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