What’s Vulnerable › Vulnerabilities

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

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

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

Get alerted when CVE-2024-42069 or the next vulnerability affects your stack