PT-2024-6448 · Linux+7 · Linux Kernel+7

Ryusuke Konishi

·

Published

2024-05-21

·

Updated

2025-11-19

·

CVE-2024-53130

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 A vulnerability in the Linux kernel's nilfs2 file system is related to null pointer dereferences. This issue occurs when using the "block:block dirty buffer" tracepoint, which can cause a NULL pointer dereference or a general protection fault when KASAN is enabled. The problem arises because the tracepoint references the dev t member bh->b bdev->bd dev regardless of whether the buffer head has a pointer to a block device structure. The nilfs grab buffer() function does not set the block device, but instead does so only if the buffer is not in the "uptodate" state for each of its caller block reading functions. However, if the uptodate flag is set on a folio/page, and the buffer heads are detached from it by try to free buffers(), and new buffer heads are then attached by create empty buffers(), the uptodate flag may be restored to each buffer without the block device being set to bh->b bdev, and mark buffer dirty() may be called later in that state, resulting in the bug mentioned above.
Recommendations To resolve this issue, make nilfs grab buffer() always set the block device of the super block structure to the buffer head, regardless of the state of the buffer's uptodate flag. 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

ALT-PU-2024-16040
ALT-PU-2024-17888
ALT-PU-2025-12647
AZL-54158
AZL-54168
BDU:2024-07534
CVE-2024-53130
DLA-4008-1
DLA-4075-1
MGASA-2024-0392
MGASA-2024-0393
OESA-2024-2533
OESA-2024-2534
OESA-2024-2536
OESA-2024-2537
OPENSUSE-SU-2025_0117-1
OPENSUSE-SU-2025_0153-1
OPENSUSE-SU-2025_0154-1
OPENSUSE-SU-2025_0201-1
OPENSUSE-SU-2025_0229-1
SUSE-SU-2025:0117-1
SUSE-SU-2025:0153-1
SUSE-SU-2025:0154-1
SUSE-SU-2025:0201-1
SUSE-SU-2025:0201-2
SUSE-SU-2025:0229-1
SUSE-SU-2025:0289-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
SUSE-SU-2025_0201-1
SUSE-SU-2025_0201-2
USN-7276-1
USN-7277-1
USN-7310-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7391-1
USN-7392-1
USN-7392-2
USN-7392-3
USN-7392-4
USN-7393-1
USN-7401-1
USN-7407-1
USN-7413-1
USN-7421-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7463-1
USN-7468-1
USN-7523-1
USN-7524-1
USN-7539-1
USN-7540-1
USN-7727-1
USN-7727-2
USN-7727-3
USN-7755-1
USN-7755-2
USN-7755-3
USN-7875-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu