PT-2024-21554 · Linux+9 · Linux Kernel+9

Wang Jianjian

·

Published

2024-02-02

·

Updated

2025-10-27

·

CVE-2024-26878

CVSS v3.1

4.7

Medium

VectorAV:L/AC:H/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 potential NULL pointer dereference issue has been resolved in the Linux kernel. The issue occurs due to a race condition between the dquot free inode and quota off functions, where the dquots pointer is set to NULL after it has been checked, leading to a NULL pointer dereference. This issue can be triggered when dquot free inode or other routines check the inode's quota pointers before quota off sets it to NULL and use it after that. The estimated number of potentially affected devices worldwide is not available. There is no information about real-world incidents where this issue was exploited.
Technical details about exploitation include:
  • The dquot free inode function checks the inode's quota pointers.
  • The quota off function sets the dquots pointer to NULL.
  • The spin lock function is used to lock the dq dqb lock of the dquots pointer.
  • The srcu read lock function is used to lock the srcu read lock.
  • The dquots[cnt]) != NULL check is performed to verify the dquots pointer.
  • The dquots[type] = NULL statement sets the dquots pointer to NULL.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:5101
ALSA-2024:5102
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2025-03911
CESA-2024_5101
CESA-2024_5102
CVE-2024-26878
DLA-3840-1
DLA-3842-1
DSA-5681-1
INFSA-2024_5101
INFSA-2024_5102
INFSA-2024_9315
OESA-2024-1617
OESA-2024-1618
OESA-2024-1619
OESA-2024-1620
OESA-2024-1621
OESA-2024-1622
OPENSUSE-SU-2024_1644-1
OPENSUSE-SU-2024_1659-1
OPENSUSE-SU-2024_1663-1
RHSA-2024:5101
RHSA-2024:5102
RHSA-2024:9315
RHSA-2024_5101
RHSA-2024_5102
RHSA-2024_9315
RHSA-2025:13946
RLSA-2024:5101
RLSA-2024:5102
RXSA-2024:5101
SUSE-SU-2024:1643-1
SUSE-SU-2024:1644-1
SUSE-SU-2024:1646-1
SUSE-SU-2024:1659-1
SUSE-SU-2024:1663-1
SUSE-SU-2024:1870-1
SUSE-SU-2024:2135-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-6816-1
USN-6817-1
USN-6817-2
USN-6817-3
USN-6820-1
USN-6820-2
USN-6821-1
USN-6821-2
USN-6821-3
USN-6821-4
USN-6828-1
USN-6871-1
USN-6878-1
USN-6892-1
USN-6896-1
USN-6896-2
USN-6896-3
USN-6896-4
USN-6896-5
USN-6919-1

Affected Products

Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu