{"id":"CVE-2026-89566","aliases":["CVE-2026-89566"],"related":[],"kind":"vulnerability","state":"published","title":"jbd2: check need_resched() when skipping busy checkpoint buffers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\njbd2: check need_resched() when skipping busy checkpoint buffers\n\njournal_shrink_one_cp_list() skips busy checkpoint buffers when called\nwith JBD2_SHRINK_BUSY_SKIP.  The continue statement on this path also\nskips the need_resched() check at the end of the loop body.\n\nConsequently, when a checkpoint list contains mostly busy buffers, the\nshrinker can walk the entire list while holding journal->j_list_lock,\neven when a reschedule has been requested.  Large checkpoint lists under\nmemory pressure can therefore cause long lock hold times and leave other\nCPUs spinning on j_list_lock, resulting in soft lockups or RCU stalls.\n\nRoute the busy-buffer path through the need_resched() check so that the\nshrinker can release j_list_lock and reschedule promptly, restoring\nparity with the clean-buffer path, which already checks need_resched().\nThis does not change which checkpoint buffers are eligible for removal.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\njbd2: check need_resched() when skipping busy checkpoint buffers\n\njournal_shrink_one_cp_list() skips busy checkpoint buffers when called\nwith JBD2_SHRINK_BUSY_SKIP.  The continue statement on this path also\nskips the need_resched() check at the end of the loop body.\n\nConsequently, when a checkpoint list contains mostly busy buffers, the\nshrinker can walk the entire list while holding journal->j_list_lock,\neven when a reschedule has been requested.  Large checkpoint lists under\nmemory pressure can therefore cause long lock hold times and leave other\nCPUs spinning on j_list_lock, resulting in soft lockups or RCU stalls.\n\nRoute the busy-buffer path through the need_resched() check so that the\nshrinker can release j_list_lock and reschedule promptly, restoring\nparity with the clean-buffer path, which already checks need_resched().\nThis does not change which checkpoint buffers are eligible for removal.","source":"cvelist"}],"published":"2026-09-11T19:44:36.599Z","modified":"2026-11-23T08:17:20.377Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5fda50e262e65bd553ff777c4b280afd1495a18b","fixed":"d340f02eea3afecc17c422301d888fb2a36b2d94","status":"affected"},{"type":"git","introduced":"b98dba273a0e47dbfade89c9af73c5b012a4eabb","fixed":"dc7ece0b827fe3b748db685fb85cd2fc3710c3f9","status":"affected"},{"type":"git","introduced":"b98dba273a0e47dbfade89c9af73c5b012a4eabb","fixed":"f83c23286e54180cdc83a36463a60003534cc290","status":"affected"},{"type":"git","introduced":"b98dba273a0e47dbfade89c9af73c5b012a4eabb","fixed":"f9182a85991a0ad5cd2940df6db75f40ad90028c","status":"affected"},{"type":"git","introduced":"b98dba273a0e47dbfade89c9af73c5b012a4eabb","fixed":"595cac7f1b32d009b97f83dd2b2d6a1a445e9bb4","status":"affected"},{"type":"git","introduced":"b98dba273a0e47dbfade89c9af73c5b012a4eabb","fixed":"f213e12ff5c9590b1034ae8da0e6d09665c772d0","status":"affected"},{"type":"git","version":"9c31bb2684f8035beca0275349d19d679b679ffb","status":"affected"},{"type":"git","version":"557fda9ed70ebf8eda2620ba3d746215285a1303","status":"affected"},{"type":"semver","introduced":"6.1.50","fixed":"6.1.193","status":"affected"},{"type":"semver","introduced":"5.15.129","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"6.4.13","fixed":"6.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d340f02eea3afecc17c422301d888fb2a36b2d94","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc7ece0b827fe3b748db685fb85cd2fc3710c3f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f83c23286e54180cdc83a36463a60003534cc290","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9182a85991a0ad5cd2940df6db75f40ad90028c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/595cac7f1b32d009b97f83dd2b2d6a1a445e9bb4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f213e12ff5c9590b1034ae8da0e6d09665c772d0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89566","url":"https://www.cve.org/CVERecord?id=CVE-2026-89566","licence":"CVE Terms of Use","modified":"2026-11-23T07:59:06.400Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89566","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89566","licence":"Public domain","modified":"2026-11-23T08:17:20.377Z"}],"updatedAt":"2026-11-25T22:59:38.068Z","epss":{"score":0.00227,"percentile":0.14356,"date":"2026-12-01T12:00:22.000Z"}}