cbcvebase.
CVE-2024-26878
published 2024-04-17

CVE-2024-26878: In the Linux kernel, the following vulnerability has been resolved: quota: Fix potential NULL pointer dereference Below race may cause NULL pointer dereference…

PriorityP415medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.19%
8.8th percentile
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.

Affected

27 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.85-1 (bookworm)linux 6.1.85-1 (bookworm)
linuxlinux
linuxlinux>= 7b9ca4c61bc278b771fb57d6290a31ab1fc7fdac < 8514899c1a4edf802f03c408db901063aa3f05a18514899c1a4edf802f03c408db901063aa3f05a1
linuxlinux>= 7b9ca4c61bc278b771fb57d6290a31ab1fc7fdac < 49669f8e7eb053f91d239df7b1bfb4500255a9d049669f8e7eb053f91d239df7b1bfb4500255a9d0
linuxlinux>= 7b9ca4c61bc278b771fb57d6290a31ab1fc7fdac < 61380537aa6dd32d8a723d98b8f1bd1b11d8fee061380537aa6dd32d8a723d98b8f1bd1b11d8fee0
linuxlinux>= 7b9ca4c61bc278b771fb57d6290a31ab1fc7fdac < 1ca72a3de915f87232c9a4cb9bebbd3af8ed3e251ca72a3de915f87232c9a4cb9bebbd3af8ed3e25
linuxlinux>= 7b9ca4c61bc278b771fb57d6290a31ab1fc7fdac < 7f9e833fc0f9b47be503af012eb59030869397547f9e833fc0f9b47be503af012eb5903086939754
linuxlinux>= 7b9ca4c61bc278b771fb57d6290a31ab1fc7fdac < 40a673b4b07efd6f74ff3ab60f38b26aa91ee5d540a673b4b07efd6f74ff3ab60f38b26aa91ee5d5
linuxlinux>= 7b9ca4c61bc278b771fb57d6290a31ab1fc7fdac < f2649d98aa9ca8623149b3cb8df00c944f5655c7f2649d98aa9ca8623149b3cb8df00c944f5655c7
linuxlinux>= 7b9ca4c61bc278b771fb57d6290a31ab1fc7fdac < 6afc9f4434fa8063aa768c2bf5bf98583aee08776afc9f4434fa8063aa768c2bf5bf98583aee0877
linuxlinux>= 7b9ca4c61bc278b771fb57d6290a31ab1fc7fdac < d0aa72604fbd80c8aabb46eda00535ed35570f1fd0aa72604fbd80c8aabb46eda00535ed35570f1f
linuxlinux_kernel< 4.19.3114.19.311
linuxlinux_kernel>= 0 < 5.10.216-15.10.216-1
linuxlinux_kernel>= 0 < 6.1.85-16.1.85-1
linuxlinux_kernel>= 0 < 6.7.12-16.7.12-1
linuxlinux_kernel>= 0 < 6.7.12-16.7.12-1
linuxlinux_kernel>= 0 < 5.4.0-189.2095.4.0-189.209
linuxlinux_kernel>= 0 < 5.15.0-112.1225.15.0-112.122
linuxlinux_kernel>= 0 < 6.8.0-35.356.8.0-35.35
linuxlinux_kernel>= 4.20 < 5.4.2735.4.273
linuxlinux_kernel>= 5.11 < 5.15.1535.15.153
linuxlinux_kernel>= 5.16 < 6.1.836.1.83
linuxlinux_kernel>= 5.5 < 5.10.2145.10.214
linuxlinux_kernel>= 6.2 < 6.6.236.6.23

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.0HIGH
vendor_ubuntu7.0HIGH
vendor_debian4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.