{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-27023","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-02-19T14:20:24.210Z","datePublished":"2024-05-01T12:49:21.063Z","dateUpdated":"2025-05-04T09:02:30.069Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T09:02:30.069Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd: Fix missing release of 'active_io' for flush\n\nsubmit_flushes\n atomic_set(&mddev->flush_pending, 1);\n rdev_for_each_rcu(rdev, mddev)\n  atomic_inc(&mddev->flush_pending);\n  bi->bi_end_io = md_end_flush\n  submit_bio(bi);\n                        /* flush io is done first */\n                        md_end_flush\n                         if (atomic_dec_and_test(&mddev->flush_pending))\n                          percpu_ref_put(&mddev->active_io)\n                          -> active_io is not released\n\n if (atomic_dec_and_test(&mddev->flush_pending))\n  -> missing release of active_io\n\nFor consequence, mddev_suspend() will wait for 'active_io' to be zero\nforever.\n\nFix this problem by releasing 'active_io' in submit_flushes() if\n'flush_pending' is decreased to zero."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/md.c"],"versions":[{"version":"f9f2d957a8ea93c73182aebf7de30935a58c027d","lessThan":"6b2ff10390b19a2364af622b6666b690443f9f3f","status":"affected","versionType":"git"},{"version":"530cec617f5a8ba6f26bcbf0d64d75c951d17730","lessThan":"02dad157ba11064d073f5499dc33552b227d5d3a","status":"affected","versionType":"git"},{"version":"c4c2345214b66e2505a26fd2ea58839dd7a1d48d","lessThan":"11f81438927f84edfaaeb5d5f10856c3a1c1fc82","status":"affected","versionType":"git"},{"version":"fa2bbff7b0b4e211fec5e5686ef96350690597b5","lessThan":"855678ed8534518e2b428bcbcec695de9ba248e8","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/md/md.c"],"versions":[{"version":"6.1.75","lessThan":"6.1.80","status":"affected","versionType":"semver"},{"version":"6.6.14","lessThan":"6.6.19","status":"affected","versionType":"semver"},{"version":"6.7.2","lessThan":"6.7.7","status":"affected","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.75","versionEndExcluding":"6.1.80"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.14","versionEndExcluding":"6.6.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7.2","versionEndExcluding":"6.7.7"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/6b2ff10390b19a2364af622b6666b690443f9f3f"},{"url":"https://git.kernel.org/stable/c/02dad157ba11064d073f5499dc33552b227d5d3a"},{"url":"https://git.kernel.org/stable/c/11f81438927f84edfaaeb5d5f10856c3a1c1fc82"},{"url":"https://git.kernel.org/stable/c/855678ed8534518e2b428bcbcec695de9ba248e8"}],"title":"md: Fix missing release of 'active_io' for flush","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T00:21:05.884Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/6b2ff10390b19a2364af622b6666b690443f9f3f","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/02dad157ba11064d073f5499dc33552b227d5d3a","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/11f81438927f84edfaaeb5d5f10856c3a1c1fc82","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/855678ed8534518e2b428bcbcec695de9ba248e8","tags":["x_transferred"]}]},{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-27023","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:44:37.253177Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-09-11T17:33:36.923Z"}}]}}