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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-10-21T18:02:13.119Z
- **Modified:** 2026-08-05T11:40:42.935Z

## Who should check

- Anyone running Linux \>= 5e4f5138bd8522ebe231a137682d3857209a2c07, \< 7aac0c17a8cdf4a3236991c1e60435c6a984076c; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< cf3196e5e2f36cd80dab91ffae402e13935724bc; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< 9203817ba46ebba7c865c8de2aba399537b6e891; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< fa78fb51d396f4f2f80f8e96a3b1516f394258be; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< b85569585d0154d4db1e4f9e3e6a4731d407feb0; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< 0ce160c5bdb67081a62293028dc85758a8efb22a; cecfdb9cf9a700d1037066173abac0617f6788df; eb7b40d9d3785f7a131fb0b1f89bb6efa46c1833; \>= 5.10.51, \< 5.10.237; …
- Anyone running Linux 5.14

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

## Affected and fixed versions

- Linux: \>= 5e4f5138bd8522ebe231a137682d3857209a2c07, \< 7aac0c17a8cdf4a3236991c1e60435c6a984076c; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< cf3196e5e2f36cd80dab91ffae402e13935724bc; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< 9203817ba46ebba7c865c8de2aba399537b6e891; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< fa78fb51d396f4f2f80f8e96a3b1516f394258be; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< b85569585d0154d4db1e4f9e3e6a4731d407feb0; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< 0ce160c5bdb67081a62293028dc85758a8efb22a; cecfdb9cf9a700d1037066173abac0617f6788df; eb7b40d9d3785f7a131fb0b1f89bb6efa46c1833; \>= 5.10.51, \< 5.10.237; … (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-49960. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-49960.md
Affected: Linux >= 5e4f5138bd8522ebe231a137682d3857209a2c07, < 7aac0c17a8cdf4a3236991c1e60435c6a984076c; >= 618f003199c6188e01472b03cdbba227f1dc5f24, < 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04; >= 618f003199c6188e01472b03cdbba227f1dc5f24, < cf3196e5e2f36cd80dab91ffae402e13935724bc; >= 618f003199c6188e01472b0…
Fixed in: Linux 7aac0c17a8cdf4a3236991c1e60435c6a984076c, Linux 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04, Linux 9203817ba46ebba7c865c8de2aba399537b6e891, Linux 0ce160c5bdb67081a62293028dc85758a8efb22a, Linux 5.10.237

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-49960 being exploited?

There is no confirmed exploitation: CVE-2024-49960 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-49960?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2024-49960?

Linux \>= 5e4f5138bd8522ebe231a137682d3857209a2c07, \< 7aac0c17a8cdf4a3236991c1e60435c6a984076c; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< cf3196e5e2f36cd80dab91ffae402e13935724bc; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< 9203817ba46ebba7c865c8de2aba399537b6e891; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< fa78fb51d396f4f2f80f8e96a3b1516f394258be; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< b85569585d0154d4db1e4f9e3e6a4731d407feb0; \>= 618f003199c6188e01472b03cdbba227f1dc5f24, \< 0ce160c5bdb67081a62293028dc85758a8efb22a; cecfdb9cf9a700d1037066173abac0617f6788df; eb7b40d9d3785f7a131fb0b1f89bb6efa46c1833; \>= 5.10.51, \< 5.10.237; …; Linux 5.14.

### Is there a fix for CVE-2024-49960?

Yes. Fixed in Linux 7aac0c17a8cdf4a3236991c1e60435c6a984076c, Linux 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04, Linux 9203817ba46ebba7c865c8de2aba399537b6e891, Linux 0ce160c5bdb67081a62293028dc85758a8efb22a, Linux 5.10.237. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-49960?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-49960>

HTML: <https://flawdb.com/CVE-2024-49960> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-49960>
