{"id":"CVE-2024-27023","aliases":["CVE-2024-27023"],"related":[],"kind":"vulnerability","state":"published","title":"md: Fix missing release of 'active_io' for flush","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: md: Se corrigió la versión faltante de 'active_io' para descarga submit_flushes atomic_set(&amp;mddev-&gt;flush_pending, 1); rdev_for_each_rcu(rdev, mddev) atomic_inc(&amp;mddev-&gt;flush_pending); bi-&gt;bi_end_io = md_end_flush submit_bio(bi); /* purgar io se realiza primero */ md_end_flush if (atomic_dec_and_test(&amp;mddev-&gt;flush_pending)) percpu_ref_put(&amp;mddev-&gt;active_io) -&gt; active_io no se publica si (atomic_dec_and_test(&amp;mddev-&gt;flush_pending)) -&gt; falta la versión de active_io para Como consecuencia, mddev_suspend() esperará a que 'active_io' sea cero para siempre. Solucione este problema liberando 'active_io' en submit_flushes() si 'flush_pending' se reduce a cero.","source":"nvd"}],"published":"2024-05-01T12:49:21.063Z","modified":"2026-06-17T07:18:57.947Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f9f2d957a8ea93c73182aebf7de30935a58c027d","fixed":"6b2ff10390b19a2364af622b6666b690443f9f3f","status":"affected"},{"type":"git","introduced":"530cec617f5a8ba6f26bcbf0d64d75c951d17730","fixed":"02dad157ba11064d073f5499dc33552b227d5d3a","status":"affected"},{"type":"git","introduced":"c4c2345214b66e2505a26fd2ea58839dd7a1d48d","fixed":"11f81438927f84edfaaeb5d5f10856c3a1c1fc82","status":"affected"},{"type":"git","introduced":"fa2bbff7b0b4e211fec5e5686ef96350690597b5","fixed":"855678ed8534518e2b428bcbcec695de9ba248e8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.1.75","fixed":"6.1.80","status":"affected"},{"type":"semver","introduced":"6.6.14","fixed":"6.6.19","status":"affected"},{"type":"semver","introduced":"6.7.2","fixed":"6.7.7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.75","fixed":"6.1.80"},{"status":"affected","introduced":"6.6.14","fixed":"6.6.19"},{"status":"affected","introduced":"6.7.2","fixed":"6.7.7"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6b2ff10390b19a2364af622b6666b690443f9f3f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02dad157ba11064d073f5499dc33552b227d5d3a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11f81438927f84edfaaeb5d5f10856c3a1c1fc82","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/855678ed8534518e2b428bcbcec695de9ba248e8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:44:37.253Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27023","url":"https://www.cve.org/CVERecord?id=CVE-2024-27023","licence":"CVE Terms of Use","modified":"2026-05-11T20:08:55.255Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27023","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27023","licence":"Public domain","modified":"2026-06-17T07:18:57.947Z"}],"updatedAt":"2026-11-25T22:58:39.784Z","epss":{"score":0.00272,"percentile":0.20865,"date":"2026-12-01T12:00:22.000Z"}}