What’s Vulnerable › Vulnerabilities

CVE-2024-50055: driver core: bus: Fix double free in driver API bus_register()

Description

In the Linux kernel, the following vulnerability has been resolved: driver core: bus: Fix double free in driver API bus_register() For bus_register(), any error which happens after kset_register() will cause that @priv are freed twice, fixed by setting @priv with NULL after the first free.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.231, 5.15.174, 5.4.291, 6.1.120. Check the vendor advisory for mitigations.

References

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