# CVE-2024-49960: ext4: fix timer use-after-free on failed mount

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2024-10-21T18:02:13.119Z
- Modified: 2026-08-05T11:40:42.935Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5e4f5138bd8522ebe231a137682d3857209a2c07 before 7aac0c17a8cdf4a3236991c1e60435c6a984076c; from 618f003199c6188e01472b03cdbba227f1dc5f24 before 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04; from 618f003199c6188e01472b03cdbba227f1dc5f24 before cf3196e5e2f36cd80dab91ffae402e13935724bc; from 618f003199c6188e01472b03cdbba227f1dc5f24 before 9203817ba46ebba7c865c8de2aba399537b6e891; from 618f003199c6188e01472b03cdbba227f1dc5f24 before fa78fb51d396f4f2f80f8e96a3b1516f394258be; from 618f003199c6188e01472b03cdbba227f1dc5f24 before b85569585d0154d4db1e4f9e3e6a4731d407feb0; from 618f003199c6188e01472b03cdbba227f1dc5f24 before 0ce160c5bdb67081a62293028dc85758a8efb22a; cecfdb9cf9a700d1037066173abac0617f6788df; eb7b40d9d3785f7a131fb0b1f89bb6efa46c1833; from 5.10.51 before 5.10.237; from 5.12.18 before 5.13; from 5.13.3 before 5.14; and 1 more (not affected: before 5.14; from 5.10.237 up to 5.10.*; from 5.15.181 up to 5.15.*; from 6.1.118 up to 6.1.*; from 6.6.55 up to 6.6.*; from 6.10.14 up to 6.10.*; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- debian debian_linux: 11.0
- linux linux_kernel: before 5.10.237; from 5.11 before 5.15.181; from 5.16 before 6.1.118; from 6.2 before 6.6.55; from 6.7 before 6.10.14; from 6.11 before 6.11.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/7aac0c17a8cdf4a3236991c1e60435c6a984076c> (patch)
- <https://git.kernel.org/stable/c/22e9b83f0f33bc5a7a3181769d1dccbf021f5b04> (patch)
- <https://git.kernel.org/stable/c/cf3196e5e2f36cd80dab91ffae402e13935724bc> (patch)
- <https://git.kernel.org/stable/c/9203817ba46ebba7c865c8de2aba399537b6e891> (patch)
- <https://git.kernel.org/stable/c/fa78fb51d396f4f2f80f8e96a3b1516f394258be> (patch)
- <https://git.kernel.org/stable/c/b85569585d0154d4db1e4f9e3e6a4731d407feb0> (patch)
- <https://git.kernel.org/stable/c/0ce160c5bdb67081a62293028dc85758a8efb22a> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2024-49960](https://www.cve.org/CVERecord?id=CVE-2024-49960), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-49960](https://nvd.nist.gov/vuln/detail/CVE-2024-49960), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-49960 · Whole record: https://cve.day/CVE-2024-49960.json · Rebuilt by cve.day 2026-11-25T22:58:47.066Z
