{"id":"CVE-2026-139540","state":"PUBLISHED","title":"md/raid5: protect big_stripe_tree lookup with RCU","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: protect big_stripe_tree lookup with RCU\n\nbig_stripe_tree is updated under tree_lock, and deleted radix-tree\nnodes are freed after an RCU grace period.  r5c_big_stripe_cached()\nused to run under an RCU read-side critical section, but that protection\nwas removed together with unrelated rdev lookup protection.\n\nThe lookup can now be preempted while walking the tree, allowing a\nconcurrent deletion and grace period to complete before the walk\nresumes.  Protect the lookup locally with rcu_read_lock().  Only the\npresence of the entry is used after unlocking.","publishedAt":"2026-11-30T13:35:42.333Z","updatedAt":"2026-11-30T13:35:42.333Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ad8606702f268903b26795e6b93605646fd1a6a8","status":"affected","lessThan":"14a9ade8b82738d4ce1294866ba82e3a50d0193f","versionType":"git"},{"version":"ad8606702f268903b26795e6b93605646fd1a6a8","status":"affected","lessThan":"f34d9ff04eaaac91ef740ce2fe23344439babf11","versionType":"git"},{"version":"ad8606702f268903b26795e6b93605646fd1a6a8","status":"affected","lessThan":"0205b18e26afb24452d5b31f9624dd2dc59de3f8","versionType":"git"},{"version":"ad8606702f268903b26795e6b93605646fd1a6a8","status":"affected","lessThan":"73b0df929494522acf9ccc8dafea4f721166965b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/raid5-cache.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/raid5-cache.c"]}],"references":["https://git.kernel.org/stable/c/14a9ade8b82738d4ce1294866ba82e3a50d0193f","https://git.kernel.org/stable/c/f34d9ff04eaaac91ef740ce2fe23344439babf11","https://git.kernel.org/stable/c/0205b18e26afb24452d5b31f9624dd2dc59de3f8","https://git.kernel.org/stable/c/73b0df929494522acf9ccc8dafea4f721166965b"],"weaknesses":[],"ingestedAt":"2026-11-30T13:52:04.503Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139540.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139540","state":"PUBLISHED","datePublished":"2026-11-30T13:35:42.333Z","dateUpdated":"2026-11-30T13:35:42.333Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.939Z"},"containers":{"cna":{"title":"md/raid5: protect big_stripe_tree lookup with RCU","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: protect big_stripe_tree lookup with RCU\n\nbig_stripe_tree is updated under tree_lock, and deleted radix-tree\nnodes are freed after an RCU grace period.  r5c_big_stripe_cached()\nused to run under an RCU read-side critical section, but that protection\nwas removed together with unrelated rdev lookup protection.\n\nThe lookup can now be preempted while walking the tree, allowing a\nconcurrent deletion and grace period to complete before the walk\nresumes.  Protect the lookup locally with rcu_read_lock().  Only the\npresence of the entry is used after unlocking."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ad8606702f268903b26795e6b93605646fd1a6a8","status":"affected","lessThan":"14a9ade8b82738d4ce1294866ba82e3a50d0193f","versionType":"git"},{"version":"ad8606702f268903b26795e6b93605646fd1a6a8","status":"affected","lessThan":"f34d9ff04eaaac91ef740ce2fe23344439babf11","versionType":"git"},{"version":"ad8606702f268903b26795e6b93605646fd1a6a8","status":"affected","lessThan":"0205b18e26afb24452d5b31f9624dd2dc59de3f8","versionType":"git"},{"version":"ad8606702f268903b26795e6b93605646fd1a6a8","status":"affected","lessThan":"73b0df929494522acf9ccc8dafea4f721166965b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/raid5-cache.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/raid5-cache.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/14a9ade8b82738d4ce1294866ba82e3a50d0193f"},{"url":"https://git.kernel.org/stable/c/f34d9ff04eaaac91ef740ce2fe23344439babf11"},{"url":"https://git.kernel.org/stable/c/0205b18e26afb24452d5b31f9624dd2dc59de3f8"},{"url":"https://git.kernel.org/stable/c/73b0df929494522acf9ccc8dafea4f721166965b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:35:42.333Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}