2084AI Security Observatory

CVE

CVE-2024-49960

CVE-2024-49960HIGH 7.8EPSS 22%

CNA 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 versions

All Linux kernel vulnerabilities →

  • ≥ 6.11, < 6.11.3Fixed in 6.11.3
  • ≥ 6.7, < 6.10.14Fixed in 6.10.14
  • ≥ 6.2, < 6.6.55Fixed in 6.6.55
  • ≥ 5.16, < 6.1.118Fixed in 6.1.118
  • ≥ 5.11, < 5.15.181Fixed in 5.15.181
  • < 5.10.237Fixed in 5.10.237

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.