PT-2025-3313 · Linux+6 · Linux Kernel+6
Dan Carpenter
+2
·
Published
2024-12-05
·
Updated
2025-04-21
·
CVE-2024-56766
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.74
Description
A double free vulnerability was found in the Linux kernel's mtd: rawnand module, specifically in the
atmel pmecc create user() function. The issue occurred because the "user" pointer was converted from being allocated with kzalloc() to being allocated by devm kzalloc(), and calling kfree(user) would lead to a double free.Recommendations
For Linux kernel versions prior to 6.6.74, update to version 6.6.74 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the
atmel pmecc create user() function until a patch is available.Exploit
Fix
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu