CVE-2024-27023
published 2024-05-01CVE-2024-27023: In the Linux kernel, the following vulnerability has been resolved: md: Fix missing release of 'active_io' for flush submit_flushes…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.27%
19.2th percentile
In the Linux kernel, the following vulnerability has been resolved:
md: Fix missing release of 'active_io' for flush
submit_flushes
atomic_set(&mddev->flush_pending, 1);
rdev_for_each_rcu(rdev, mddev)
atomic_inc(&mddev->flush_pending);
bi->bi_end_io = md_end_flush
submit_bio(bi);
/* flush io is done first */
md_end_flush
if (atomic_dec_and_test(&mddev->flush_pending))
percpu_ref_put(&mddev->active_io)
-> active_io is not released
if (atomic_dec_and_test(&mddev->flush_pending))
-> missing release of active_io
For consequence, mddev_suspend() will wait for 'active_io' to be zero
forever.
Fix this problem by releasing 'active_io' in submit_flushes() if
'flush_pending' is decreased to zero.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.82-1 (bookworm) | linux 6.1.82-1 (bookworm) |
| linux | linux | >= 530cec617f5a8ba6f26bcbf0d64d75c951d17730 < 02dad157ba11064d073f5499dc33552b227d5d3a | 02dad157ba11064d073f5499dc33552b227d5d3a |
| linux | linux | >= 6.1.75 < 6.1.80 | 6.1.80 |
| linux | linux | >= 6.6.14 < 6.6.19 | 6.6.19 |
| linux | linux | >= 6.7.2 < 6.7.7 | 6.7.7 |
| linux | linux | >= c4c2345214b66e2505a26fd2ea58839dd7a1d48d < 11f81438927f84edfaaeb5d5f10856c3a1c1fc82 | 11f81438927f84edfaaeb5d5f10856c3a1c1fc82 |
| linux | linux | >= f9f2d957a8ea93c73182aebf7de30935a58c027d < 6b2ff10390b19a2364af622b6666b690443f9f3f | 6b2ff10390b19a2364af622b6666b690443f9f3f |
| linux | linux | >= fa2bbff7b0b4e211fec5e5686ef96350690597b5 < 855678ed8534518e2b428bcbcec695de9ba248e8 | 855678ed8534518e2b428bcbcec695de9ba248e8 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 6.1.82-1 | 6.1.82-1 |
| linux | linux_kernel | >= 0 < 6.7.7-1 | 6.7.7-1 |
| linux | linux_kernel | >= 0 < 6.7.7-1 | 6.7.7-1 |
| linux | linux_kernel | >= 6.1.75 < 6.1.80 | 6.1.80 |
| linux | linux_kernel | >= 6.6.14 < 6.6.19 | 6.6.19 |
| linux | linux_kernel | >= 6.7.2 < 6.7.7 | 6.7.7 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: md: Fix missing release of 'active_io' for flush
vendor_redhat·2024-05-01·CVSS 5.5
CVE-2024-27023 [MEDIUM] kernel: md: Fix missing release of 'active_io' for flush
kernel: md: Fix missing release of 'active_io' for flush
In the Linux kernel, the following vulnerability has been resolved:
md: Fix missing release of 'active_io' for flush
submit_flushes
atomic_set(&mddev->flush_pending, 1);
rdev_for_each_rcu(rdev, mddev)
atomic_inc(&mddev->flush_pending);
bi->bi_end_io = md_end_flush
submit_bio(bi);
/* flush io is done first */
md_end_flush
if (atomic_dec_and_test(&mddev->flush_pending))
percpu_ref_put(&mddev->active_io)
-> active_io is not released
if (atomic_dec_and_test(&mddev->flush_pending))
-> missing release of active_io
For consequence, mddev_suspend() will wait for 'active_io' to be zero
forever.
Fix this problem by releasing 'active_io' in submit_flushes() if
'flush_pending' is decreased to zero.
In the Linux kernel, the following vulnerabil
Debian
CVE-2024-27023: linux - In the Linux kernel, the following vulnerability has been resolved: md: Fix mis...
vendor_debian·2024·CVSS 5.5
CVE-2024-27023 [MEDIUM] CVE-2024-27023: linux - In the Linux kernel, the following vulnerability has been resolved: md: Fix mis...
In the Linux kernel, the following vulnerability has been resolved: md: Fix missing release of 'active_io' for flush submit_flushes atomic_set(&mddev->flush_pending, 1); rdev_for_each_rcu(rdev, mddev) atomic_inc(&mddev->flush_pending); bi->bi_end_io = md_end_flush submit_bio(bi); /* flush io is done first */ md_end_flush if (atomic_dec_and_test(&mddev->flush_pending)) percpu_ref_put(&mddev->active_io) -> active_io is not released if (atomic_dec_and_test(&mddev->flush_pending)) -> missing release of active_io For consequence, mddev_suspend() will wait for 'active_io' to be zero forever. Fix this problem by releasing 'active_io' in submit_flushes() if 'flush_pending' is decreased to zero.
Scope: local
bookworm: resolved (fixed in 6.1.82-1)
bullseye: resolved
forky: resolved (fixed in 6.7.7-1
OSV
CVE-2024-27023: In the Linux kernel, the following vulnerability has been resolved: md: Fix missing release of 'active_io' for flush submit_flushes atomic_set(&mddev-
osv·2024-05-01·CVSS 5.5
CVE-2024-27023 [MEDIUM] CVE-2024-27023: In the Linux kernel, the following vulnerability has been resolved: md: Fix missing release of 'active_io' for flush submit_flushes atomic_set(&mddev-
In the Linux kernel, the following vulnerability has been resolved: md: Fix missing release of 'active_io' for flush submit_flushes atomic_set(&mddev->flush_pending, 1); rdev_for_each_rcu(rdev, mddev) atomic_inc(&mddev->flush_pending); bi->bi_end_io = md_end_flush submit_bio(bi); /* flush io is done first */ md_end_flush if (atomic_dec_and_test(&mddev->flush_pending)) percpu_ref_put(&mddev->active_io) -> active_io is not released if (atomic_dec_and_test(&mddev->flush_pending)) -> missing release of active_io For consequence, mddev_suspend() will wait for 'active_io' to be zero forever. Fix this problem by releasing 'active_io' in submit_flushes() if 'flush_pending' is decreased to zero.
GHSA
GHSA-93q3-24jj-x39c: In the Linux kernel, the following vulnerability has been resolved:
md: Fix missing release of 'active_io' for flush
submit_flushes
atomic_set(&mdde
ghsa_unreviewed·2024-05-01
CVE-2024-27023 [MEDIUM] GHSA-93q3-24jj-x39c: In the Linux kernel, the following vulnerability has been resolved:
md: Fix missing release of 'active_io' for flush
submit_flushes
atomic_set(&mdde
In the Linux kernel, the following vulnerability has been resolved:
md: Fix missing release of 'active_io' for flush
submit_flushes
atomic_set(&mddev->flush_pending, 1);
rdev_for_each_rcu(rdev, mddev)
atomic_inc(&mddev->flush_pending);
bi->bi_end_io = md_end_flush
submit_bio(bi);
/* flush io is done first */
md_end_flush
if (atomic_dec_and_test(&mddev->flush_pending))
percpu_ref_put(&mddev->active_io)
-> active_io is not released
if (atomic_dec_and_test(&mddev->flush_pending))
-> missing release of active_io
For consequence, mddev_suspend() will wait for 'active_io' to be zero
forever.
Fix this problem by releasing 'active_io' in submit_flushes() if
'flush_pending' is decreased to zero.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/02dad157ba11064d073f5499dc33552b227d5d3ahttps://git.kernel.org/stable/c/11f81438927f84edfaaeb5d5f10856c3a1c1fc82https://git.kernel.org/stable/c/6b2ff10390b19a2364af622b6666b690443f9f3fhttps://git.kernel.org/stable/c/855678ed8534518e2b428bcbcec695de9ba248e8https://git.kernel.org/stable/c/02dad157ba11064d073f5499dc33552b227d5d3ahttps://git.kernel.org/stable/c/11f81438927f84edfaaeb5d5f10856c3a1c1fc82https://git.kernel.org/stable/c/6b2ff10390b19a2364af622b6666b690443f9f3fhttps://git.kernel.org/stable/c/855678ed8534518e2b428bcbcec695de9ba248e8
2024-05-01
Published