CVE-2024-49960
Published: Oct 21, 2024
Modified: May 23, 2026
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.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected 5e4f5138bd8522ebe231a137682d3857209a2c07 - < 7aac0c17a8cdf4a3236991c1e60435c6a984076caffected 618f003199c6188e01472b03cdbba227f1dc5f24 - < 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04affected 618f003199c6188e01472b03cdbba227f1dc5f24 - < cf3196e5e2f36cd80dab91ffae402e13935724bcaffected 618f003199c6188e01472b03cdbba227f1dc5f24 - < 9203817ba46ebba7c865c8de2aba399537b6e891affected 618f003199c6188e01472b03cdbba227f1dc5f24 - < fa78fb51d396f4f2f80f8e96a3b1516f394258be+7 more versions |
Linux | Linux | affected 5.14unaffected 0 - < 5.14unaffected 5.10.237 - <= 5.10.*unaffected 5.15.181 - <= 5.15.*unaffected 6.1.118 - <= 6.1.*+4 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now