CVE-2026-89566
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: jbd2: check need_resched() when skipping busy checkpoint buffers journal_shrink_one_cp_list() skips busy checkpoint buffers when called with JBD2_SHRINK_BUSY_SKIP. The continue statement on this path also skips the need_resched() check at the end of the loop body. Consequently, when a checkpoint list contains mostly busy buffers, the shrinker can walk the entire list while holding journal->j_list_lock, even when a reschedule has been requested. Large checkpoint lists under memory pressure can therefore cause long lock hold times and leave other CPUs spinning on j_list_lock, resulting in soft lockups or RCU stalls. Route the busy-buffer path through the need_resched() check so that the shrinker can release j_list_lock and reschedule promptly, restoring parity with the clean-buffer path, which already checks need_resched(). This does not change which checkpoint buffers are eligible for removal.
View original CVE JSON
{
"id": "CVE-2026-89566",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-11T20:19:40.550",
"lastModified": "2026-10-21T13:20:08.870",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"fs/jbd2/checkpoint.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "b98dba273a0e47dbfade89c9af73c5b012a4eabb",
"lessThan": "dc7ece0b827fe3b748db685fb85cd2fc3710c3f9",
"versionType": "git",
"status": "affected"
},
{
"version": "b98dba273a0e47dbfade89c9af73c5b012a4eabb",
"lessThan": "f83c23286e54180cdc83a36463a60003534cc290",
"versionType": "git",
"status": "affected"
},
{
"version": "b98dba273a0e47dbfade89c9af73c5b012a4eabb",
"lessThan": "f9182a85991a0ad5cd2940df6db75f40ad90028c",
"versionType": "git",
"status": "affected"
},
{
"version": "b98dba273a0e47dbfade89c9af73c5b012a4eabb",
"lessThan": "595cac7f1b32d009b97f83dd2b2d6a1a445e9bb4",
"versionType": "git",
"status": "affected"
},
{
"version": "b98dba273a0e47dbfade89c9af73c5b012a4eabb",
"lessThan": "f213e12ff5c9590b1034ae8da0e6d09665c772d0",
"versionType": "git",
"status": "affected"
},
{
"version": "9c31bb2684f8035beca0275349d19d679b679ffb",
"versionType": "git",
"status": "affected"
},
{
"version": "5fda50e262e65bd553ff777c4b280afd1495a18b",
"versionType": "git",
"status": "affected"
},
{
"version": "557fda9ed70ebf8eda2620ba3d746215285a1303",
"versionType": "git",
"status": "affected"
},
{
"version": "5.15.129",
"lessThan": "5.16",
"versionType": "semver",
"status": "affected"
},
{
"version": "6.1.50",
"lessThan": "6.2",
"versionType": "semver",
"status": "affected"
},
{
"version": "6.4.13",
"lessThan": "6.5",
"versionType": "semver",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"fs/jbd2/checkpoint.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6.5",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.5",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.109",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.50",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.4",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/595cac7f1b32d009b97f83dd2b2d6a1a445e9bb4",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/dc7ece0b827fe3b748db685fb85cd2fc3710c3f9",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/f213e12ff5c9590b1034ae8da0e6d09665c772d0",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/f83c23286e54180cdc83a36463a60003534cc290",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/f9182a85991a0ad5cd2940df6db75f40ad90028c",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}