ext4: fix transaction overflow during writeback
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 46e8e31771f4f1c5e1cdec37a889a6730e42e9f1, Kernel a22464c5df5827e884a5a7d3d8fb03870e5bb6c8, Kernel 6.17 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: ext4: fix transaction overflow during writeback Commit 95ad8ee45cdb ("ext4: correct the reserved credits for extent conversion") was correct to note that we need to reserve enough credits for all extents possibly underlying a large folio. However it was too eager to reduce the number of reserved credits. Extent conversion may not only need to touch several leaf extent blocks, it may also need to split extents - for example a single large unwritten extent may need to be split into many small written ones in case of sparse folio dirtying. This can thus result not only in extent leaf modifications but also in a need to allocate new extent tree nodes. As a result the reserved transaction credits were not sufficient in some corner cases. Use ext4_meta_trans_blocks() for correct upper bound credit estimate.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.17, >=95ad8ee45cdbc321c135a2db895d48b374ef0f87 <46e8e31771f4f1c5e1cdec37a889a6730e42e9f1, >=95ad8ee45cdbc321c135a2db895d48b374ef0f87 <a22464c5df5827e884a5a7d3d8fb03870e5bb6c8, =2b6d39229bc783198222cddd31e2fbded93c8db7, >=6.16.3 <6.17 | 46e8e31771f4f1c5e1cdec37a889a6730e42e9f1, a22464c5df5827e884a5a7d3d8fb03870e5bb6c8, 6.17 |
| linux-kernel: Kernel | >=6.17.0 <7.2.6, >=6.16.3 <6.17 | 7.2.6, 6.17 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket