DEBIAN-CVE-2024-49983
In the Linux kernel, the following vulnerability has been resolved: ext4: drop ppath from ext4_ext_replay_update_ex() to avoid double-free When calling ext4_force_split_extent_at() in ext4_ext_replay_update_ex(), the 'ppath' is updated but it is the 'path' that is freed, thus potentially triggering a double-free in the following process: ext4_ext_replay_update_ex ppath = path ext4_force_split_extent_at(&ppath) ext4_split_extent_at ext4_ext_insert_extent ext4_ext_create_new_leaf ext4_ext_grow_indepth ext4_find_extent if (depth > path[0].p_maxdepth) kfree(path) ---> path First freed *orig_path = path = NULL ---> null ppath kfree(path) ---> path double-free !!! So drop the unnecessary ppath and use path directly to avoid this problem. And use ext4_find_extent() directly to update path, avoiding unnecessary memory allocation and freeing. Also, propagate the error returned by ext4_find_extent() instead of using strange error codes.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | linux | 0, 0 |
| Debian:12 | linux | 6.1.98-1, 6.1.99-1, 6.1.38-4 |
| Debian:11 | linux-6.1 | 6.1.106-3, 6.1.106-3~deb11u3, 6.1.112-1~deb11u1 |
| Debian:11 | linux | 5.10.216-1, 5.10.218-1, 5.10.221-1 |
| Debian:13 | linux | 0, 0 |
Timeline
- Oct 21, 2024 CVE Published
- Apr 28, 2026 CVE Updated