CVE-2024-42069

published 29 Jul 2024 · updated 5 Aug 2026

net: mana: Fix possible double free in error handling path

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1864b8224195d0e43ddb92a8151f54f6562090cc, Kernel 3243e64eb4d897c3eeb48b2a7221ab5a95e1282a and Kernel ed45c0a0b662079d4c0e518014cc148c753979b4.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.2, >=a69839d4327d053b18d8e1b0e7ddeee78db78f4f <1864b8224195d0e43ddb92a8151f54f6562090cc, >=a69839d4327d053b18d8e1b0e7ddeee78db78f4f <3243e64eb4d897c3eeb48b2a7221ab5a95e1282a, >=a69839d4327d053b18d8e1b0e7ddeee78db78f4f <ed45c0a0b662079d4c0e518014cc148c753979b41864b8224195d0e43ddb92a8151f54f6562090cc, 3243e64eb4d897c3eeb48b2a7221ab5a95e1282a, ed45c0a0b662079d4c0e518014cc148c753979b4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-42069 severity on Zeptric[![CVE-2024-42069](https://zeptric.io/badge/cve/CVE-2024-42069.svg)](https://zeptric.io/cve/CVE-2024-42069)