CVE-2024-27023

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
01/05/2024
Last modified:
18/09/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> md: Fix missing release of &amp;#39;active_io&amp;#39; for flush<br /> <br /> submit_flushes<br /> atomic_set(&amp;mddev-&gt;flush_pending, 1);<br /> rdev_for_each_rcu(rdev, mddev)<br /> atomic_inc(&amp;mddev-&gt;flush_pending);<br /> bi-&gt;bi_end_io = md_end_flush<br /> submit_bio(bi);<br /> /* flush io is done first */<br /> md_end_flush<br /> if (atomic_dec_and_test(&amp;mddev-&gt;flush_pending))<br /> percpu_ref_put(&amp;mddev-&gt;active_io)<br /> -&gt; active_io is not released<br /> <br /> if (atomic_dec_and_test(&amp;mddev-&gt;flush_pending))<br /> -&gt; missing release of active_io<br /> <br /> For consequence, mddev_suspend() will wait for &amp;#39;active_io&amp;#39; to be zero<br /> forever.<br /> <br /> Fix this problem by releasing &amp;#39;active_io&amp;#39; in submit_flushes() if<br /> &amp;#39;flush_pending&amp;#39; is decreased to zero.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.75 (including) 6.1.80 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6.14 (including) 6.6.19 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7.2 (including) 6.7.7 (excluding)
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:*