CVE-2024-49960
HighIn 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.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-416CVE-2024-49960 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.10.51,
5.12.18,
5.13.3,
5.14
and later are affected. Fixed in
5.10.237,
5.15.181,
6.1.118,
6.6.55,
6.10.14,
6.11.3,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-49960 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0ce160c5bdb67081a62293028dc85758a8efb22a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/22e9b83f0f33bc5a7a3181769d1dccbf021f5b04
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7aac0c17a8cdf4a3236991c1e60435c6a984076c
Frequently asked questions
-
What is CVE-2024-49960?
CVE-2024-49960 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 5.10.51 onward and has been patched in 5.10.237, 5.15.181, 6.1.118 and others. CVE-2024-49960 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-49960?
CVE-2024-49960 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-49960?
Yes — CVE-2024-49960 has been patched. Fixed versions include 5.10.237, 5.15.181, 6.1.118 and others. If you are running Linux kernel 5.10.51 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-49960 actively exploited?
No — CVE-2024-49960 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →