PT-2024-30716 · Linux+5 · Linux Kernel+5
Chenyuwen
·
Published
2024-06-12
·
Updated
2026-03-05
·
CVE-2024-43859
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a bug in the f2fs file system, where the
inode.i crypt info is not initialized during the mount process, leading to a kernel NULL pointer dereference. This occurs when the f2fs truncate function is called without proper initialization of inode.i crypt info. The bug is fixed by relocating the truncation of preallocated blocks to f2fs file open(), after fscrypt file open(). The vulnerability is caused by the lack of initialization of inode.i crypt info during the path: mount, f2fs fill super, f2fs disable checkpoint, f2fs gc, f2fs iget, and f2fs truncate.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu