PT-2024-29169 · Linux+4 · Linux Kernel+4

Joseph Qi

·

Published

2024-05-30

·

Updated

2025-09-29

·

CVE-2024-40951

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 NULL pointer dereference in the ocfs2 abort trigger() function. This occurs because bdev->bd super has been removed and the usage was changed from bdev->bd super to b assoc map->host->i sb in commit 8887b94d9322. Since ocfs2 hasn't set bh->b assoc map, it triggers a NULL pointer dereference when calling into ocfs2 abort trigger(). The problem was previously pointed out in history, see commit 74e364ad1b13, but was reintroduced due to a mistake in reviewing commit 8887b94d9322. The fix involves initializing all types of ocfs2 triggers when filling the super block and then getting the specific ocfs2 trigger from ocfs2 caching info when accessing the journal.
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-13979
AZL-47433
BDU:2025-01158
CVE-2024-40951
OESA-2024-1897
USN-6999-1
USN-6999-2
USN-7004-1
USN-7005-1
USN-7005-2
USN-7008-1
USN-7029-1

Affected Products

Alt Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu