{"id":"CVE-2024-49960","published":"2024-10-21T18:02:13Z","modified":"2026-08-05T11:40:42Z","title":"ext4: fix timer use-after-free on failed mount","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix timer use-after-free on failed mount\n\nSyzbot has found an ODEBUG bug in ext4_fill_super\n\nThe del_timer_sync function cancels the s_err_report timer,\nwhich reminds about filesystem errors daily. We should\nguarantee the timer is no longer active before kfree(sbi).\n\nWhen filesystem mounting fails, the flow goes to failed_mount3,\nwhere an error occurs when ext4_stop_mmpd is called, causing\na read I/O failure. This triggers the ext4_handle_error function\nthat ultimately re-arms the timer,\nleaving the s_err_report timer active before kfree(sbi) is called.\n\nFix the issue by canceling the s_err_report timer after calling ext4_stop_mmpd.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00353,"percentile":0.21409,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7aac0c17a8cdf4a3236991c1e60435c6a984076c","tags":[]},{"url":"https://git.kernel.org/stable/c/22e9b83f0f33bc5a7a3181769d1dccbf021f5b04","tags":[]},{"url":"https://git.kernel.org/stable/c/cf3196e5e2f36cd80dab91ffae402e13935724bc","tags":[]},{"url":"https://git.kernel.org/stable/c/9203817ba46ebba7c865c8de2aba399537b6e891","tags":[]},{"url":"https://git.kernel.org/stable/c/fa78fb51d396f4f2f80f8e96a3b1516f394258be","tags":[]},{"url":"https://git.kernel.org/stable/c/b85569585d0154d4db1e4f9e3e6a4731d407feb0","tags":[]},{"url":"https://git.kernel.org/stable/c/0ce160c5bdb67081a62293028dc85758a8efb22a","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":4.28},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5e4f5138bd8522ebe231a137682d3857209a2c07, < 7aac0c17a8cdf4a3236991c1e60435c6a984076c",">= 618f003199c6188e01472b03cdbba227f1dc5f24, < 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04",">= 618f003199c6188e01472b03cdbba227f1dc5f24, < cf3196e5e2f36cd80dab91ffae402e13935724bc",">= 618f003199c6188e01472b03cdbba227f1dc5f24, < 9203817ba46ebba7c865c8de2aba399537b6e891",">= 618f003199c6188e01472b03cdbba227f1dc5f24, < fa78fb51d396f4f2f80f8e96a3b1516f394258be",">= 618f003199c6188e01472b03cdbba227f1dc5f24, < b85569585d0154d4db1e4f9e3e6a4731d407feb0",">= 618f003199c6188e01472b03cdbba227f1dc5f24, < 0ce160c5bdb67081a62293028dc85758a8efb22a","cecfdb9cf9a700d1037066173abac0617f6788df","eb7b40d9d3785f7a131fb0b1f89bb6efa46c1833",">= 5.10.51, < 5.10.237"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:35:13.994206Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-43639","exploited":false,"provenance":"source"}}