What’s Vulnerable › Vulnerabilities

CVE-2024-56766: mtd: rawnand: fix double free in atmel_pmecc_create_user()

Description

In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: fix double free in atmel_pmecc_create_user() The "user" pointer was converted from being allocated with kzalloc() to being allocated by devm_kzalloc(). Calling kfree(user) will lead to a double free.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.20, 5.11, 5.16, 5.5. Check the vendor advisory for mitigations.

References

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