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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-21 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-49960, DEBIAN-CVE-2024-49960
- Record: https://cvemate.com/vulnerability/CVE-2024-49960 · JSON: https://cvemate.com/vulnerability/CVE-2024-49960/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.292%, percentile 23.34%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 140)

- debian linux (Debian): \< 6.1.119-1 \| \< 6.11.4-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-144.157 \| \< 6.8.0-54.56
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1088.95 \| \< 6.8.0-1023.25
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1088.95~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1023.25~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1088.95+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1094.103 \| \< 6.8.0-1025.30
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 39)

- <https://git.kernel.org/stable/c/7aac0c17a8cdf4a3236991c1e60435c6a984076c>
- <https://git.kernel.org/stable/c/22e9b83f0f33bc5a7a3181769d1dccbf021f5b04>
- <https://git.kernel.org/stable/c/cf3196e5e2f36cd80dab91ffae402e13935724bc>
- <https://git.kernel.org/stable/c/9203817ba46ebba7c865c8de2aba399537b6e891>
- <https://git.kernel.org/stable/c/fa78fb51d396f4f2f80f8e96a3b1516f394258be>
- <https://git.kernel.org/stable/c/b85569585d0154d4db1e4f9e3e6a4731d407feb0>
- <https://git.kernel.org/stable/c/0ce160c5bdb67081a62293028dc85758a8efb22a>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-49960>
- <https://www.cve.org/CVERecord?id=CVE-2024-49960>
- <https://git.kernel.org/linus/0ce160c5bdb67081a62293028dc85758a8efb22a>
- <https://ubuntu.com/security/notices/USN-7276-1>
- <https://ubuntu.com/security/notices/USN-7277-1>
- <https://ubuntu.com/security/notices/USN-7301-1>
- <https://ubuntu.com/security/notices/USN-7303-1>
- <https://ubuntu.com/security/notices/USN-7304-1>
- <https://ubuntu.com/security/notices/USN-7303-2>
- <https://ubuntu.com/security/notices/USN-7310-1>
- <https://ubuntu.com/security/notices/USN-7311-1>

---

Data as of 2026-12-05T04:45:28.965Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
