CVE-2024-26878
MEDIUMLinux Kernel < 6.8.2 - Race Condition in Quota Pointer Handling
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: quota: Fix potential NULL pointer dereference Below race may cause NULL pointer dereference P1 P2 dquot_free_inode quota_off drop_dquot_ref remove_dquot_ref dquots = i_dquot(inode) dquots = i_dquot(inode) srcu_read_lock dquots[cnt]) != NULL (1) dquots[type] = NULL (2) spin_lock(&dquots[cnt]->dq_dqb_lock) (3) .... If dquot_free_inode(or other routines) checks inode's quota pointers (1) before quota_off sets it to NULL(2) and use it (3) after that, NULL pointer dereference will be triggered. So let's fix it by using a temporary pointer to avoid this issue.
References (13)
Core 13
Core References
Vendor Advisory
https://cert-portal.siemens.com/productcert/html/ssa-265688.html
Vendor Advisory
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Scores
CVSS v3
4.7
EPSS
0.0001
EPSS Percentile
0.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-362
CWE-476
Status
published
Products (30)
debian/debian_linux
10.0
linux/Kernel
4.14.0 - 4.19.311linux
linux/Kernel
4.20.0 - 5.4.273linux
linux/Kernel
5.11.0 - 5.15.153linux
linux/Kernel
5.16.0 - 6.1.83linux
linux/Kernel
5.5.0 - 5.10.214linux
linux/Kernel
6.2.0 - 6.6.23linux
linux/Kernel
6.7.0 - 6.7.11linux
linux/Kernel
6.8.0 - 6.8.2linux
Linux/Linux
< 4.14
... and 20 more
Published
Apr 17, 2024
Tracked Since
Feb 18, 2026