همهٔ گزارش‌ها
متوسط

kernel: ext4: don't set up encryption key during jbd2 transaction

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2022-50436

احتمال بهره‌برداری در ۳۰ روز آینده: 0.10%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

In the Linux kernel, the following vulnerability has been resolved: ext4: don't set up encryption key during jbd2 transaction Commit a80f7fcf1867 ("ext4: fixup ext4_fc_track_* functions' signature") extended the scope of the transaction in ext4_unlink() too far, making it include the call to ext4_find_entry(). However, ext4_find_entry() can deadlock when called from within a transaction because it may need to set up the directory's encryption key. Fix this by restoring the transaction to its original scope.

A flaw exists in the ext4 filesystem implementation in the Linux kernel such that the function ext4_unlink() extended a journaling transaction too far so that it included a call to ext4_find_entry(). However, ext4_find_entry() may need to set up a directory’s encryption key — which can cause a deadlock when executed inside a transaction.