Release Date: | 2024-05-17 |
In the Linux kernel, the following vulnerability has been resolved:\ndm-raid: really frozen sync_thread during suspend\n1) commit f52f5c71f3d4 ('md: fix stopping sync thread') remove\nMD_RECOVERY_FROZEN from __md_stop_writes() and doesn't realize that\ndm-raid relies on __md_stop_writes() to frozen sync_thread\nindirectly. Fix this problem by adding MD_RECOVERY_FROZEN in\nmd_stop_writes(), and since stop_sync_thread() is only used for\ndm-raid in this case, also move stop_sync_thread() to\nmd_stop_writes().\n2) The flag MD_RECOVERY_FROZEN doesn't mean that sync thread is frozen,\nit only prevent new sync_thread to start, and it can't stop the\nrunning sync thread; In order to frozen sync_thread, after seting the\nflag, stop_sync_thread() should be used.\n3) The flag MD_RECOVERY_FROZEN doesn't mean that writes are stopped, use\nit as condition for md_stop_writes() in raid_postsuspend() doesn't\nlook correct. Consider that reentrant stop_sync_thread() do nothing,\nalways call md_stop_writes() in raid_postsuspend().\n4) raid_message can set/clear the flag MD_RECOVERY_FROZEN at anytime,\nand if MD_RECOVERY_FROZEN is cleared while the array is suspended,\nnew sync_thread can start unexpected. Fix this by disallow\nraid_message() to change sync_thread status during suspend.\nNote that after commit f52f5c71f3d4 ('md: fix stopping sync thread'), the\ntest shell/lvconvert-raid-reshape.sh start to hang in stop_sync_thread(),\nand with previous fixes, the test won't hang there anymore, however, the\ntest will still fail and complain that ext4 is corrupted. And with this\npatch, the test won't hang due to stop_sync_thread() or fail due to ext4\nis corrupted anymore. However, there is still a deadlock related to\ndm-raid456 that will be fixed in following patches.
See more information about CVE-2024-35794 from MITRE CVE dictionary and NIST NVD
NOTE: The following CVSS v3.1 metrics and score provided are preliminary and subject to review.
Base Score: | 4.4 | CVSS Vector: | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
Attack Vector: | Local network | Attack Complexity: | Low |
Privileges Required: | High | User Interaction: | None |
Scope: | Unchanged | Confidentiality Impact: | None |
Integrity Impact: | None | Availability Impact: | High |
Platform | Errata | Release Date |
Oracle Linux version 9 (kernel) | ELSA-2024-9315 | 2024-11-14 |
This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections: