CVE-2024-49960CWE-416

CVE-2024-49960

High · published October 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
20.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00289 · 20.3th percentile
Weakness
CWE-416 · Use After Free
Published
2024-10-21T22:15Z
Affected products (7)
ProductVersionsFixed in
debian/debian_linuxall versions—
linux/linux_kernel< 5.10.2375.10.237
linux/linux_kernel≥ 5.11, < 5.15.1815.15.181
linux/linux_kernel≥ 5.16, < 6.1.1186.1.118
linux/linux_kernel≥ 6.2, < 6.6.556.6.55
linux/linux_kernel≥ 6.7, < 6.10.146.10.14
linux/linux_kernel≥ 6.11, < 6.11.36.11.3
References (9)
EPSS history
Timeline
  • 21 OCT 18:02Z
    ext4: fix timer use-after-free on failed mount
    cvelistv5