CVE-2024-27023: md: Fix missing release of 'active_io' for flush

Published May 1, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

md: Fix missing release of 'activeio' for flush

submitflushes atomicset(&mddev->flushpending, 1); rdevforeachrcu(rdev, mddev) atomicinc(&mddev->flushpending); bi->biendio = mdendflush submitbio(bi); / flush io is done first / mdendflush if (atomicdecandtest(&mddev->flushpending)) percpurefput(&mddev->activeio) -> activeio is not released

if (atomicdecandtest(&mddev->flushpending)) -> missing release of activeio

For consequence, mddevsuspend() will wait for 'activeio' to be zero forever.

Fix this problem by releasing 'activeio' in submitflushes() if 'flushpending' is decreased to zero.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

md: Fix missing release of 'activeio' for flush

The Linux kernel CVE team has assigned CVE-2024-27023 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024050105-CVE-2024-27023-4810@gregkh/T

Red Hat

Affected Software

11 affected componentsFixes available
redhat/kernel<6.1.80
6.1.80
redhat/kernel<6.6.19
6.6.19
redhat/kernel<6.7.7
6.7.7
Linux Linux kernel>=6.1.75<6.1.80
Linux Linux kernel>=6.6.14<6.6.19
Linux Linux kernel>=6.7.2<6.7.7
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
Linux Linux kernel=6.8-rc4
Linux Linux kernel=6.8-rc5

Event History

May 1, 2024
CVE Published
via MITRE·12:49 PM
Data Sourced
via MITRE·12:49 PM
Description
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Red Hat·09:12 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-27023?

CVE-2024-27023 has been classified with a severity rating that implies a moderate level of risk to affected systems.

2

How do I fix CVE-2024-27023?

To resolve CVE-2024-27023, you should update the Linux kernel to version 6.1.80, 6.6.19, or 6.7.7 or later.

3

What versions of the Linux kernel are affected by CVE-2024-27023?

CVE-2024-27023 affects versions of the Linux kernel prior to 6.1.80, 6.6.19, and 6.7.7.

4

What impact does CVE-2024-27023 have on system performance?

CVE-2024-27023 could potentially lead to degraded performance during I/O operations due to the handling of flush requests.

5

Is CVE-2024-27023 related to data integrity issues?

Yes, CVE-2024-27023 may pose risks to data integrity because of improper handling of active I/O flushes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203