الرئيسية
الرئيسية
الاتجاهات
الاتجاهات
الثغرات
الثغرات
الأخبار
الأخبار
الباحثون
الباحثون
لماذا dbugs؟
لماذا dbugs؟
الإعدادات

Dan Moulding

#53360من 61,896
5.5إجمالي CVSS
الثغرات · 1
PT-2024-5439
2024-04-08
5.5
CVE-2024-39476
Linux
Linux Kernel
The issue is related to a deadlock in the `raid5d()` function, which can cause the system to hang. This is due to a weird dependence in the current implementation of `raid5d()`: 1. `md check recovery()` from `raid5d()` must hold `reconfig mutex` to clear `MD SB CHANGE PENDING`; 2. `raid5d()` handles IO in a deadloop, until all IO are issued; 3. IO from `raid5d()` must wait for `MD SB CHANGE PENDING` to be cleared. This behavior was introduced before version 2.6, and as a consequence, if another context holds `reconfig mutex` and `md check recovery()` can't update `super block`, then `raid5d()` will waste one CPU at 100% by the deadloop, until `reconfig mutex` is released.