What’s Vulnerable › Vulnerabilities
CVE-2024-42069: net: mana: Fix possible double free in error handling path
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-29 · updated 2026-08-04
- Weakness: CWE-476
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.
Affected products
- Linux kernel: before 6.2; from 6.3 before 6.6.37; from 6.7 before 6.9.8 — fixed in 6.2, 6.6.37, 6.9.8
How to fix
Upgrade to a fixed version: Linux kernel 6.2, 6.6.37, 6.9.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1864b8224195d0e43ddb92a8151f54f6562090cc
- https://git.kernel.org/stable/c/3243e64eb4d897c3eeb48b2a7221ab5a95e1282a
- https://git.kernel.org/stable/c/ed45c0a0b662079d4c0e518014cc148c753979b4
- https://git.kernel.org/stable/c/1864b8224195d0e43ddb92a8151f54f6562090cc
- https://git.kernel.org/stable/c/3243e64eb4d897c3eeb48b2a7221ab5a95e1282a
- https://git.kernel.org/stable/c/ed45c0a0b662079d4c0e518014cc148c753979b4
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
Get alerted when CVE-2024-42069 or the next vulnerability affects your stack