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

VectorAV: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

ALSA-2025_16880
ALT-PU-2024-11855
ALT-PU-2024-13979
ALT-PU-2024-14046
ASB-A-455892000
AZL-48039
BDU:2025-01715
CVE-2024-43859
DLA-4008-1
DSA-5782-1
MGASA-2024-0309
MGASA-2024-0310
OESA-2024-2124
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7196-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu