{"id":"CVE-2026-74372","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-08-15T06:22:38.967","lastModified":"2026-08-17T06:19:32.023","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nraid1: fix nr_pending leak in REQ_ATOMIC bad-block error path\n\nIn raid1_write_request(), each per-mirror loop iteration begins by\nincrementing rdev->nr_pending. If a REQ_ATOMIC write encounters a\nbadblock within the requested range, the code jumps to err_handle\nwithout dropping the reference taken for the current mirror.\n\nerr_handle's cleanup loop will only decrements for k < i and\nr1_bio->bios[k] is non-NULL. The current slot is therefore skipped,\nleaving its nr_pending reference leaked permanently. The reference\nprevents the rdev from ever being removed, since raid1_remove_conf()\nrefuses to remove an rdev with nr_pending > 0.\n\nFix this by calling rdev_dec_pending() before jumping to err_handle."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/md/raid1.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"f2a38abf5f1c5aeb3be8e9f4d3d815c867fff7ca","lessThan":"5ac9e793ba2583d72740d929e7858a6c82e22ed5","versionType":"git","status":"affected"},{"version":"f2a38abf5f1c5aeb3be8e9f4d3d815c867fff7ca","lessThan":"731485617bf862f1289c3f40ed1f800d0475826f","versionType":"git","status":"affected"},{"version":"f2a38abf5f1c5aeb3be8e9f4d3d815c867fff7ca","lessThan":"909d9dc3b5730c8ed7b764c68bc788342df2a07b","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/md/raid1.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.13","status":"affected"},{"version":"0","lessThan":"6.13","versionType":"semver","status":"unaffected"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","versionType":"semver","status":"unaffected"},{"version":"7.2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/5ac9e793ba2583d72740d929e7858a6c82e22ed5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/731485617bf862f1289c3f40ed1f800d0475826f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/909d9dc3b5730c8ed7b764c68bc788342df2a07b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}