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.
References
Configurations
Configuration 1 (hide)
|
History
17 Nov 2024, 15:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
28 Oct 2024, 16:16
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/0ce160c5bdb67081a62293028dc85758a8efb22a - Patch | |
References | () https://git.kernel.org/stable/c/9203817ba46ebba7c865c8de2aba399537b6e891 - Patch | |
References | () https://git.kernel.org/stable/c/b85569585d0154d4db1e4f9e3e6a4731d407feb0 - Patch | |
References | () https://git.kernel.org/stable/c/fa78fb51d396f4f2f80f8e96a3b1516f394258be - Patch | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
First Time |
Linux linux Kernel
Linux |
|
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
CWE | CWE-416 |
23 Oct 2024, 15:13
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
21 Oct 2024, 18:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-10-21 18:15
Updated : 2024-11-17 15:15
NVD link : CVE-2024-49960
Mitre link : CVE-2024-49960
CVE.ORG link : CVE-2024-49960
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-416
Use After Free