CVE-2024-49960 ext4: fix timer use-after-free on failed mount
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Linux KernelUbuntuDebian
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.
Upgrade path
11 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 6.1.119-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +28 more | 6.1.119-1 | Fixed |
| debian/linux(Debian 13) | < 6.11.4-1 | 6.11.4-1 | Fixed |
| debian/linux(Debian 14) | < 6.11.4-1 | 6.11.4-1 | Fixed |
| Linux kernel | < 5.10.237; < 5.15.181; < 6.1.118; < 6.6.55 +21 more | 0ce160c5bdb67081a62293028dc85758a8efb22a, 5.10.237, 5.13, 5.14, 5.15.181, 6.1.118, 6.6.55, 6.10.14, 6.11.3, 6.12, 7aac0c17a8cdf4a3236991c1e60435c6a984076c, 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04, 9203817ba46ebba7c865c8de2aba399537b6e891, b85569585d0154d4db1e4f9e3e6a4731d407feb0, cf3196e5e2f36cd80dab91ffae402e13935724bc, fa78fb51d396f4f2f80f8e96a3b1516f394258be | Fixed |
| Microsoft azure linux | < 6.6.57.1-2 | 6.6.57.1-2 | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-144.157 | 5.15.0-144.157 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-54.56 | 6.8.0-54.56 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1084.89 | 5.15.0-1084.89 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1083.86 | 5.15.0-1083.86 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1019.23 | 6.8.0-1019.23 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft azure linux | < 6.6.57.1-2 | 6.6.57.1-2 |
| debian/linux(Debian:12) | < 6.1.119-1 | 6.1.119-1 |
| debian/linux(Debian:12) | = 6.1.106-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.112-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.115-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
Show 41 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.98-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.99-1 | No fix listed |
| debian/linux(Debian:13) | < 6.11.4-1 | 6.11.4-1 |
| debian/linux(Debian:14) | < 6.11.4-1 | 6.11.4-1 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-144.157 | 5.15.0-144.157 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1084.89 | 5.15.0-1084.89 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1083.86 | 5.15.0-1083.86 |
| Linux kernel | >= 5e4f5138bd8522ebe231a137682d3857209a2c07, < 7aac0c17a8cdf4a3236991c1e60435c6a984076c | 7aac0c17a8cdf4a3236991c1e60435c6a984076c |
| Linux kernel | >= 618f003199c6188e01472b03cdbba227f1dc5f24, < 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04 | 22e9b83f0f33bc5a7a3181769d1dccbf021f5b04 |
| Linux kernel | >= 618f003199c6188e01472b03cdbba227f1dc5f24, < cf3196e5e2f36cd80dab91ffae402e13935724bc | cf3196e5e2f36cd80dab91ffae402e13935724bc |
| Linux kernel | >= 618f003199c6188e01472b03cdbba227f1dc5f24, < 9203817ba46ebba7c865c8de2aba399537b6e891 | 9203817ba46ebba7c865c8de2aba399537b6e891 |
| Linux kernel | >= 618f003199c6188e01472b03cdbba227f1dc5f24, < fa78fb51d396f4f2f80f8e96a3b1516f394258be | fa78fb51d396f4f2f80f8e96a3b1516f394258be |
| Linux kernel | >= 618f003199c6188e01472b03cdbba227f1dc5f24, < b85569585d0154d4db1e4f9e3e6a4731d407feb0 | b85569585d0154d4db1e4f9e3e6a4731d407feb0 |
| Linux kernel | >= 618f003199c6188e01472b03cdbba227f1dc5f24, < 0ce160c5bdb67081a62293028dc85758a8efb22a | 0ce160c5bdb67081a62293028dc85758a8efb22a |
| Linux kernel | = cecfdb9cf9a700d1037066173abac0617f6788df | No fix listed |
| Linux kernel | = eb7b40d9d3785f7a131fb0b1f89bb6efa46c1833 | No fix listed |
| Linux kernel | >= 5.10.51, < 5.10.237 | 5.10.237 |
| Linux kernel | >= 5.12.18, < 5.13 | 5.13 |
| Linux kernel | >= 5.13.3, < 5.14 | 5.14 |
| Linux kernel | = 5.14 | No fix listed |
| Linux kernel | < 5.10.237 | 5.10.237 |
| Linux kernel | < 5.15.181 | 5.15.181 |
| Linux kernel | < 6.1.118 | 6.1.118 |
| Linux kernel | < 6.6.55 | 6.6.55 |
| Linux kernel | < 6.10.14 | 6.10.14 |
| Linux kernel | < 6.11.3 | 6.11.3 |
| Linux kernel | < 6.12 | 6.12 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-54.56 | 6.8.0-54.56 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1019.23 | 6.8.0-1019.23 |
| debian linux | = 11.0 | No fix listed |
| Linux kernel | >= 5.11, < 5.15.181 | 5.15.181 |
| Linux kernel | >= 5.16, < 6.1.118 | 6.1.118 |
| Linux kernel | >= 6.2, < 6.6.55 | 6.6.55 |
| Linux kernel | >= 6.7, < 6.10.14 | 6.10.14 |
| Linux kernel | >= 6.11, < 6.11.3 | 6.11.3 |
References
- MSRC Security Update Guide vendor-advisory
- kernel vendor-advisory
- Debian Security Tracker CVE-2024-49960 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7276-1 vendor-advisory
- USN-7277-1 vendor-advisory
- USN-7301-1 vendor-advisory
- USN-7303-1 vendor-advisory
- USN-7304-1 vendor-advisory
- USN-7303-2 vendor-advisory
- USN-7310-1 vendor-advisory
- USN-7311-1 vendor-advisory
- USN-7303-3 vendor-advisory
- USN-7384-1 vendor-advisory
- USN-7385-1 vendor-advisory
- USN-7386-1 vendor-advisory
- USN-7384-2 vendor-advisory
- USN-7403-1 vendor-advisory
- USN-7468-1 vendor-advisory
- USN-7654-1 vendor-advisory
- USN-7654-2 vendor-advisory
- USN-7654-3 vendor-advisory
- USN-7655-1 vendor-advisory
- USN-7654-4 vendor-advisory
- USN-7654-5 vendor-advisory
- USN-7686-1 vendor-advisory
- USN-7711-1 vendor-advisory
- USN-7712-1 vendor-advisory
- USN-7712-2 vendor-advisory
- www.cve.org
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- lists.debian.org mailing-list third-party-advisory
- lists.debian.org mailing-list third-party-advisory
- ENISA EUVD EUVD-2024-43639 third-party-advisory