jbd2: bound shrinker scans by examined checkpoint buffers
- CVE-2026-89567
- GHSA-297x-6x5c-99gq
- EUVD-2026-76478
Description
In the Linux kernel, the following vulnerability has been resolved: jbd2: bound shrinker scans by examined checkpoint buffers The jbd2 shrinker currently accounts only checkpoint buffers that it successfully releases against nr_to_scan. Busy buffers therefore do not consume the scan budget. If a checkpoint transaction contains mostly busy buffers, the shrinker can scan its entire checkpoint list while holding journal->j_list_lock. Large checkpoint lists can result in excessive lock hold times and leave other CPUs spinning on j_list_lock, causing soft lockups or RCU stalls. Pass nr_to_scan into journal_shrink_one_cp_list() and decrement it for every buffer examined, including busy buffers. Pass NULL from checkpoint cleanup paths so their existing full-list behavior is preserved. This restores the scan-budget semantics that existed before journal_shrink_one_cp_list() was changed to always scan a complete checkpoint list.
Text from the CVE.org record.
Affected
Linux
- from 6.1.50 to before 6.1.193
- from 5.15.129 to before 5.16
- from 6.4.13 to before 6.5
- 6.5
- before 6.5: not affected
- from 6.1.193 up to 6.1.*: not affected
- from 6.6.160 up to 6.6.*: not affected
- from 6.12.109 up to 6.12.*: not affected
- and 3 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.