writeback: clear old wb dirty state after inode switches

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxf3b6a6df38aa514d97e8c6fcc748be1d4142bec9 to before 67324910000e8e45ccb605647b14402b8ffd940b Affectedf3b6a6df38aa514d97e8c6fcc748be1d4142bec9 to before 354ae3b6eea3a56f270640d2548b08cca6e93758 Affectedf3b6a6df38aa514d97e8c6fcc748be1d4142bec9 to before ec53f2a4561fdfd97c5ad99314c75b6d9f47b25e Affectedf3b6a6df38aa514d97e8c6fcc748be1d4142bec9 to before bda6505703a3c197d19415de93ddc2efe0a493e6 Affectedf3b6a6df38aa514d97e8c6fcc748be1d4142bec9 to before 0a4c515925cc1130821e14de528b8c2792ada94f Affectedf3b6a6df38aa514d97e8c6fcc748be1d4142bec9 to before 7d9c3b7098ed6d7564ccbeae7fa98f759d6ef24c Affectedf3b6a6df38aa514d97e8c6fcc748be1d4142bec9 to before a396fe9f74ea367ae3fab2dcb70b24e83db9f0cb Affected
Linux Linux5.14 Affectedbefore 5.14 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.