CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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.

Classification

CVE ID: CVE-2024-56766

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.08% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/6ea15205d7e2b811fbbdf79783f686f58abfb4b7
https://git.kernel.org/stable/c/dd45c87782738715d5e7c167f8dabf0814a7394a
https://git.kernel.org/stable/c/d2f090ea57f8d6587e09d4066f740a8617767b3d
https://git.kernel.org/stable/c/d8e4771f99c0400a1873235704b28bb803c83d17

Timeline