CVE-2024-49960

ext4: fix timer use-after-free on failed mount

HIGH
7.8
CVSS Score
Published: October 21, 2024 at 06:02 PM UTC
Updated: August 5, 2026 at 12:05 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.12.18v ≥ 5.13.3v < 5.10.2375.10.51 ≤ v < 5.10.2375.11 ≤ v < 5.15.1815.12.18 ≤ v < 5.135.13.3 ≤ v < 5.145.14 ≤ v < 5.15.1815.14 ≤ v < 6.1.1185.14 ≤ v < 6.10.145.14 ≤ v < 6.11.35.14 ≤ v < 6.125.14 ≤ v < 6.6.555.16 ≤ v < 6.1.1186.11 ≤ v < 6.11.36.2 ≤ v < 6.6.556.7 ≤ v < 6.10.145.10.515.12.185.13.35.145e4f5138bd8522ebe231a137682d3857209a2c07618f003199c6188e01472b03cdbba227f1dc5f24cecfdb9cf9a700d1037066173abac0617f6788dfeb7b40d9d3785f7a131fb0b1f89bb6efa46c1833
Vendor states this is fixed in 0ce160c5bdb67081a62293028dc85758a8efb22a (fixed)
Vendor states this is fixed in 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04 (fixed)
Vendor states this is fixed in 7aac0c17a8cdf4a3236991c1e60435c6a984076c (fixed)
Vendor states this is fixed in 9203817ba46ebba7c865c8de2aba399537b6e891 (fixed)
Vendor states this is fixed in b85569585d0154d4db1e4f9e3e6a4731d407feb0 (fixed)
Vendor states this is fixed in cf3196e5e2f36cd80dab91ffae402e13935724bc (fixed)
Vendor states this is fixed in fa78fb51d396f4f2f80f8e96a3b1516f394258be (fixed)
Vendor states this is fixed in 5.10.237 (unaffected)
Affected range stops below 5.13, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 6.1.118 (unaffected)
Vendor states this is fixed in 6.10.14 (unaffected)
Vendor states this is fixed in 6.11.3 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.55 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0ce160c5bdb67081a62293028dc85758a8efb22a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/22e9b83f0f33bc5a7a3181769d1dccbf021f5b04
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7aac0c17a8cdf4a3236991c1e60435c6a984076c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9203817ba46ebba7c865c8de2aba399537b6e891
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b85569585d0154d4db1e4f9e3e6a4731d407feb0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cf3196e5e2f36cd80dab91ffae402e13935724bc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fa78fb51d396f4f2f80f8e96a3b1516f394258be
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card