NetSight
high7.8

CVE-2024-42069

In the Linux kernel, the following vulnerability has been resolved: net: mana: Fix possible double free in error handling path When auxiliary_device_add() retu…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
before 6.2
from 6.3 before 6.6.37
from 6.7 before 6.9.8

Weakness classification

References