Skip to main content
← All vulnerabilities
CVE-2024-56766

mtd: rawnand: fix double free in atmel_pmecc_create_user()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.20, 6.12, 5.4.289, 5.10.233, 5.15.176, and 3 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 4.19.325 · fixed in 4.20; From 6.11.11 · fixed in 6.12

  • Linux Linux

    From 5.4.287 · fixed in 5.4.289; From 5.10.231 · fixed in 5.10.233; From 5.15.174 · fixed in 5.15.176; From 6.1.120 · fixed in 6.1.123; From 6.6.64 · fixed in 6.6.69; From 6.12.2 · fixed in 6.12.8

References 7

git.kernel.org