Use-after-free in Linux kernel - CVE-2024-35979
Published: May 31, 2024 / Updated: May 14, 2025
Vulnerability identifier: #VU90144
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-35979
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the raid1_write_request() function in drivers/md/raid1.c. A local user can escalate privileges on the system.
How to mitigate CVE-2024-35979
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/3f28d49a328fe20926995d5fbdc92da665596268
- https://git.kernel.org/stable/c/f423f41b7679c09abb26d2bd54be5cbef23c9446
- https://git.kernel.org/stable/c/fcf3f7e2fc8a53a6140beee46ec782a4c88e4744
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.28
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8.7