CVE-2024-35794: dm-raid: really frozen sync_thread during suspend

Published May 17, 2024
·
Updated

dm-raid: really frozen syncthread during suspend

Affected Software

199 affected componentsFixes available
Linux Linux kernel>=4.8<6.7.12
Linux Linux kernel>=6.8<6.8.3
redhat/kernel<6.7.12
6.7.12
redhat/kernel<6.8.3
6.8.3
redhat/kernel<6.9
6.9
debian/linux*
debian/linux<6.7.12-1
6.7.12-1
debian/linux<6.7.12-1
6.7.12-1
debian/linux<=6.1.176-1, <=6.1.190-1
6.12.107-16.12.115-27.2.12-17.2.15-1
All of the following
azurelinux/kernel=6.6.112.1-2
Microsoft Azure Linux=3.0
All of the following
azurelinux/kernel=6.6.104.2-4
Microsoft Azure Linux=3.0
All of the following
azurelinux/kernel=5.15.186.1-1
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/kernel=6.6.96.2-2
Microsoft Azure Linux=3.0
All of the following
azurelinux/kernel=6.6.117.1-1
Microsoft Azure Linux=3.0
All of the following
azurelinux/hyperv-daemons<6.6.35.1-1
6.6.35.1-1
Microsoft Azure Linux=3.0
All of the following
azurelinux/kernel=6.6.119.3-1
Microsoft Azure Linux=3.0
ubuntu/linux-azure*
ubuntu/linux-aws-hwe*
ubuntu/linux-azure*
ubuntu/linux-gcp*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oracle*
ubuntu/linux*
ubuntu/linux-aws*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4*
ubuntu/linux-azure*
ubuntu/linux-azure-4.15*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-4.15*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4*
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-5.4*
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4*
ubuntu/linux-kvm*
ubuntu/linux-oem*
ubuntu/linux-oracle*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4*
ubuntu/linux-raspi-5.4*
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux*
ubuntu/linux-aws*
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.15*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.15*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-bluefield*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.15*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-gkeop*
ubuntu/linux-gkeop-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.15*
ubuntu/linux-hwe-5.8*
ubuntu/linux-ibm*
ubuntu/linux-ibm-5.15*
ubuntu/linux-intel-5.13*
ubuntu/linux-intel-iotg-5.15*
ubuntu/linux-iot*
ubuntu/linux-kvm*
ubuntu/linux-lowlatency-hwe-5.15*
ubuntu/linux-nvidia-tegra-5.15*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.15*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.15*
ubuntu/linux-riscv-5.8*
ubuntu/linux-xilinx-zynqmp*
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux*
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws*
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-aws-6.5*
ubuntu/linux-azure*
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-6.5*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gcp-6.5*
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5*
ubuntu/linux-ibm*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-intel-iotg*
ubuntu/linux-kvm*
ubuntu/linux-lowlatency*
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5*
ubuntu/linux-nvidia*
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-6.5*
ubuntu/linux-nvidia-tegra*
ubuntu/linux-nvidia-tegra-igx*
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-oem-6.5*
ubuntu/linux-oracle*
ubuntu/linux-oracle-6.5*
ubuntu/linux-raspi*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-riscv-6.5*
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-starfive-6.5*
ubuntu/linux-xilinx-zynqmp*
ubuntu/linux-bluefield*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<6.8.0-35.35
6.8.0-35.35
ubuntu/linux-aws<6.8.0-1009.9
6.8.0-1009.9
ubuntu/linux-azure<6.8.0-1008.8
6.8.0-1008.8
ubuntu/linux-gcp<6.8.0-1008.9
6.8.0-1008.9
ubuntu/linux-gke<6.8.0-1004.7
6.8.0-1004.7
ubuntu/linux-ibm<6.8.0-1006.6
6.8.0-1006.6
ubuntu/linux-lowlatency<6.8.0-35.35.1
6.8.0-35.35.1
ubuntu/linux-oem-6.8<6.8.0-1006.6
6.8.0-1006.6
ubuntu/linux-oracle<6.8.0-1006.6
6.8.0-1006.6
ubuntu/linux-raspi<6.8.0-1005.5
6.8.0-1005.5
ubuntu/linux-riscv<6.8.0-35.35.1
6.8.0-35.35.1
ubuntu/linux-raspi-realtime<6.8.0-2004.4
6.8.0-2004.4
ubuntu/linux-realtime<6.8.1-1002.2
6.8.1-1002.2
ubuntu/linux-vmware*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.7.12
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8.3
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9
  4. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 6.8.0-35.35
  5. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 6.8.0-1009.9
  6. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 6.8.0-1008.8
  7. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 6.8.0-1008.9
  8. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 6.8.0-1004.7
  9. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 6.8.0-1006.6
  10. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 6.8.0-35.35.1
  11. Upgrade

    Upgrade ubuntu/linux-oem-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1006.6
  12. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 6.8.0-1006.6
  13. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 6.8.0-1005.5
  14. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 6.8.0-35.35.1
  15. Upgrade

    Upgrade ubuntu/linux-raspi-realtime to a version that resolves this vulnerability.

    Fixed in 6.8.0-2004.4
  16. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 6.8.1-1002.2
  17. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.7.12-1
  18. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  19. Upgrade

    Upgrade azurelinux/hyperv-daemons to a version that resolves this vulnerability.

    Fixed in 6.6.35.1-1
  20. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch f52f5c71f3d4
  21. Configuration

    In raid_postsuspend(), always call md_stop_writes() and use MD_RECOVERY_FROZEN as the condition for md_stop_writes() (the text says the prior condition check in raid_postsuspend() “doesn't look correct”).

    Linux kernel md (raid) MD_RECOVERY_FROZEN usage = Use MD_RECOVERY_FROZEN as the condition for md_stop_writes() in raid_postsuspend(); do not rely on MD_RECOVERY_FROZEN alone to freeze an already-running sync_thread
  22. Configuration

    Fix suspend handling so that reentrant stop_sync_thread() does nothing, and always call md_stop_writes() in raid_postsuspend(); additionally, since stop_sync_thread() is only used for dm-raid in this case, move stop_sync_thread() to md_stop_writes() so dm-raid relies on md_stop_writes() to freeze sync_thread indirectly.

    Linux kernel md (raid) / dm-raid sync_thread stopping during suspend = Always call md_stop_writes() in raid_postsuspend(); move stop_sync_thread() behavior into md_stop_writes()
  23. Configuration

    Disallow raid_message() to change sync_thread status (including setting/clearing MD_RECOVERY_FROZEN) during suspend, because raid_message can set/clear MD_RECOVERY_FROZEN at any time and clearing it while suspended can let a new sync_thread start unexpectedly.

    Linux kernel md (raid) / raid_message() MD_RECOVERY_FROZEN modification during suspend = Disallow raid_message() from changing sync_thread status during suspend
  24. Configuration

    Apply the change described: remove MD_RECOVERY_FROZEN from __md_stop_writes() and ensure dm-raid (which relies on __md_stop_writes() indirectly to freeze sync_thread) still behaves correctly.

    Linux kernel md (raid) / __md_stop_writes() MD_RECOVERY_FROZEN removal from __md_stop_writes() = Remove MD_RECOVERY_FROZEN from __md_stop_writes()

Event History

May 17, 2024
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·12:25 PM
Data Sourced
via MITRE·12:25 PM
Description
Data Sourced
via OSV·01:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·01:15 PM
Description
Data Sourced
via Red Hat·08:56 PM
DescriptionSeverityAffected Software
Sep 11, 2024
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·12:00 AM
Affected Software
Updated
via Microsoft·12:00 AM
Affected Software
Event
via Microsoft·12:00 AM
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Severity
Sep 26, 2025
Data Sourced
via NVD·04:20 PM
RemedySeverityAffected Software
Aug 7, 2026
Updated
via Microsoft·07:48 AM
Severity
Nov 11, 2026
Updated
via OSV·09:38 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:24 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35794?

The severity of CVE-2024-35794 is not specified in the provided information, but vulnerabilities in the Linux kernel often have significant impact.

2

How do I fix CVE-2024-35794?

To fix CVE-2024-35794, upgrade to a patched kernel version: 6.7.12, 6.8.3, or 6.9 for Red Hat and specific versions for Debian.

3

What software is affected by CVE-2024-35794?

CVE-2024-35794 affects certain versions of the Linux kernel from both Red Hat and Debian.

4

Is there a workaround for CVE-2024-35794?

No specific workaround is mentioned for CVE-2024-35794; the recommended action is to upgrade the kernel.

5

Can CVE-2024-35794 lead to system crashes?

The details of CVE-2024-35794 suggest that issues related to the synchronization thread could potentially lead to system instability.

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