{"id":"CVE-2024-49960","aliases":["CVE-2024-49960"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: fix timer use-after-free on failed mount","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ext4: fix timer use-after-free on failed mount Syzbot ha encontrado un error ODEBUG en ext4_fill_super La función del_timer_sync cancela el temporizador s_err_report, que recuerda los errores del sistema de archivos a diario. Debemos garantizar que el temporizador ya no esté activo antes de kfree(sbi). Cuando falla el montaje del sistema de archivos, el flujo va a failed_mount3, donde ocurre un error cuando se llama a ext4_stop_mmpd, lo que causa un error de E/S de lectura. Esto activa la función ext4_handle_error que, en última instancia, vuelve a armar el temporizador, dejando el temporizador s_err_report activo antes de que se llame a kfree(sbi). Solucione el problema cancelando el temporizador s_err_report después de llamar a ext4_stop_mmpd.","source":"nvd"}],"published":"2024-10-21T18:02:13.119Z","modified":"2026-08-05T11:40:42.935Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"5e4f5138bd8522ebe231a137682d3857209a2c07","fixed":"7aac0c17a8cdf4a3236991c1e60435c6a984076c","status":"affected"},{"type":"git","introduced":"618f003199c6188e01472b03cdbba227f1dc5f24","fixed":"22e9b83f0f33bc5a7a3181769d1dccbf021f5b04","status":"affected"},{"type":"git","introduced":"618f003199c6188e01472b03cdbba227f1dc5f24","fixed":"cf3196e5e2f36cd80dab91ffae402e13935724bc","status":"affected"},{"type":"git","introduced":"618f003199c6188e01472b03cdbba227f1dc5f24","fixed":"9203817ba46ebba7c865c8de2aba399537b6e891","status":"affected"},{"type":"git","introduced":"618f003199c6188e01472b03cdbba227f1dc5f24","fixed":"fa78fb51d396f4f2f80f8e96a3b1516f394258be","status":"affected"},{"type":"git","introduced":"618f003199c6188e01472b03cdbba227f1dc5f24","fixed":"b85569585d0154d4db1e4f9e3e6a4731d407feb0","status":"affected"},{"type":"git","introduced":"618f003199c6188e01472b03cdbba227f1dc5f24","fixed":"0ce160c5bdb67081a62293028dc85758a8efb22a","status":"affected"},{"type":"git","version":"cecfdb9cf9a700d1037066173abac0617f6788df","status":"affected"},{"type":"git","version":"eb7b40d9d3785f7a131fb0b1f89bb6efa46c1833","status":"affected"},{"type":"semver","introduced":"5.10.51","fixed":"5.10.237","status":"affected"},{"type":"semver","introduced":"5.12.18","fixed":"5.13","status":"affected"},{"type":"semver","introduced":"5.13.3","fixed":"5.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.10.237","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.181","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.118","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.55","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.14","lastAffected":"6.10.*","status":"unaffected"},{"type":"semver","introduced":"6.11.3","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"5.10.237"},{"status":"affected","introduced":"5.11","fixed":"5.15.181"},{"status":"affected","introduced":"5.16","fixed":"6.1.118"},{"status":"affected","introduced":"6.2","fixed":"6.6.55"},{"status":"affected","introduced":"6.7","fixed":"6.10.14"},{"status":"affected","introduced":"6.11","fixed":"6.11.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7aac0c17a8cdf4a3236991c1e60435c6a984076c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22e9b83f0f33bc5a7a3181769d1dccbf021f5b04","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf3196e5e2f36cd80dab91ffae402e13935724bc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9203817ba46ebba7c865c8de2aba399537b6e891","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa78fb51d396f4f2f80f8e96a3b1516f394258be","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b85569585d0154d4db1e4f9e3e6a4731d407feb0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ce160c5bdb67081a62293028dc85758a8efb22a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:35:13.994Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49960","url":"https://www.cve.org/CVERecord?id=CVE-2024-49960","licence":"CVE Terms of Use","modified":"2026-08-05T11:40:42.935Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49960","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49960","licence":"Public domain","modified":"2026-08-04T11:21:02.470Z"}],"updatedAt":"2026-11-25T22:58:47.066Z","epss":{"score":0.00292,"percentile":0.23398,"date":"2026-12-01T12:00:22.000Z"}}