Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-99962

writeback: clear old wb dirty state after inode switches

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: writeback: clear old wb dirty state after inode switches Switching an inode to another wb updates the target wb's dirty-I/O state, but no longer checks whether the source wb's dirty-I/O lists became empty. The check was lost when inode_io_list_del_locked(inode, old_wb) was removed to support tracking clean attached inodes. If the last dirty inode is moved, WB_has_dirty_io remains set on the old wb and its bandwidth contribution remains in bdi->tot_write_bandwidth. This can keep an empty wb scheduled for periodic writeback and overstate the total bandwidth used to distribute writeback work. Call wb_io_lists_depopulated() on the old wb after the batch of inode switches, while its list_lock is still held. This clears the flag and removes the bandwidth contribution if its dirty-I/O lists are empty.

Affected products and versions

Linux Linuxf3b6a6df38aa514d97e8c6fcc748be1d4142bec9 – < 67324910000e8e45ccb605647b14402b8ffd940b · f3b6a6df38aa514d97e8c6fcc748be1d4142bec9 – < 354ae3b6eea3a56f270640d2548b08cca6e93758 · f3b6a6df38aa514d97e8c6fcc748be1d4142bec9 – < ec53f2a4561fdfd97c5ad99314c75b6d9f47b25e · f3b6a6df38aa514d97e8c6fcc748be1d4142bec9 – < bda6505703a3c197d19415de93ddc2efe0a493e6 · f3b6a6df38aa514d97e8c6fcc748be1d4142bec9 – < 0a4c515925cc1130821e14de528b8c2792ada94f · f3b6a6df38aa514d97e8c6fcc748be1d4142bec9 – < 7d9c3b7098ed6d7564ccbeae7fa98f759d6ef24c · f3b6a6df38aa514d97e8c6fcc748be1d4142bec9 – < a396fe9f74ea367ae3fab2dcb70b24e83db9f0cbFixed in: 67324910000e8e45ccb605647b14402b8ffd940b · 354ae3b6eea3a56f270640d2548b08cca6e93758 · ec53f2a4561fdfd97c5ad99314c75b6d9f47b25e · bda6505703a3c197d19415de93ddc2efe0a493e6 · 0a4c515925cc1130821e14de528b8c2792ada94f · 7d9c3b7098ed6d7564ccbeae7fa98f759d6ef24c · a396fe9f74ea367ae3fab2dcb70b24e83db9f0cb
Linux Linux5.14Fixed in: 5.15.226 · 6.1.193 · 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.