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
| Vector | AV: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 inodefunction checks the inode's quota pointers. - The
quota offfunction sets thedquotspointer to NULL. - The
spin lockfunction is used to lock thedq dqb lockof thedquotspointer. - The
srcu read lockfunction is used to lock thesrcuread lock. - The
dquots[cnt]) != NULLcheck is performed to verify thedquotspointer. - The
dquots[type] = NULLstatement sets thedquotspointer 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 👾
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu