CVE-2024-49960
Linux ext4` Timer Use-After-Free Vulnerability`
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix timer use-after-free on failed mount Syzbot has found an ODEBUG bug in ext4_fill_super The del_timer_sync function cancels the s_err_report timer, which reminds about filesystem errors daily. We should guarantee the timer is no longer active before kfree(sbi). When filesystem mounting fails, the flow goes to failed_mount3, where an error occurs when ext4_stop_mmpd is called, causing a read I/O failure. This triggers the ext4_handle_error function that ultimately re-arms the timer, leaving the s_err_report timer active before kfree(sbi) is called. Fix the issue by canceling the s_err_report timer after calling ext4_stop_mmpd.
INFO
Published Date :
Oct. 21, 2024, 6:15 p.m.
Last Modified :
Nov. 17, 2024, 3:15 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-49960
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-49960
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-49960
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 17, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/cf3196e5e2f36cd80dab91ffae402e13935724bc [No types assigned] -
Initial Analysis by [email protected]
Oct. 28, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/stable/c/0ce160c5bdb67081a62293028dc85758a8efb22a No Types Assigned https://git.kernel.org/stable/c/0ce160c5bdb67081a62293028dc85758a8efb22a Patch Changed Reference Type https://git.kernel.org/stable/c/9203817ba46ebba7c865c8de2aba399537b6e891 No Types Assigned https://git.kernel.org/stable/c/9203817ba46ebba7c865c8de2aba399537b6e891 Patch Changed Reference Type https://git.kernel.org/stable/c/b85569585d0154d4db1e4f9e3e6a4731d407feb0 No Types Assigned https://git.kernel.org/stable/c/b85569585d0154d4db1e4f9e3e6a4731d407feb0 Patch Changed Reference Type https://git.kernel.org/stable/c/fa78fb51d396f4f2f80f8e96a3b1516f394258be No Types Assigned https://git.kernel.org/stable/c/fa78fb51d396f4f2f80f8e96a3b1516f394258be Patch Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 6.6.55 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.3 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ext4: fix timer use-after-free on failed mount Syzbot has found an ODEBUG bug in ext4_fill_super The del_timer_sync function cancels the s_err_report timer, which reminds about filesystem errors daily. We should guarantee the timer is no longer active before kfree(sbi). When filesystem mounting fails, the flow goes to failed_mount3, where an error occurs when ext4_stop_mmpd is called, causing a read I/O failure. This triggers the ext4_handle_error function that ultimately re-arms the timer, leaving the s_err_report timer active before kfree(sbi) is called. Fix the issue by canceling the s_err_report timer after calling ext4_stop_mmpd. Added Reference kernel.org https://git.kernel.org/stable/c/9203817ba46ebba7c865c8de2aba399537b6e891 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/fa78fb51d396f4f2f80f8e96a3b1516f394258be [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b85569585d0154d4db1e4f9e3e6a4731d407feb0 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0ce160c5bdb67081a62293028dc85758a8efb22a [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-49960
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-49960
weaknesses.