← CVE Intelligence

CVE-2024-42069

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected a69839d4327d053b18d8e1b0e7ddeee78db78f4f before 3243e64eb4d897c3eeb48b2a7221ab5a95e1282a; affected a69839d4327d053b18d8e1b0e7ddeee78db78f4f before ed45c0a0b662079d4c0e518014cc148c753979b4; affected a69839d4327d053b18d8e1b0e7ddeee78db78f4f before 1864b8224195d0e43ddb92a8151f54f6562090cc
Linux / Linuxaffected 6.2; unaffected 0 before 6.2; unaffected 6.6.37 through 6.6.*; unaffected 6.9.8 through 6.9.*; unaffected 6.10 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.