PT-2026-163024

CVE-2026-138983

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
nilfs2: fix deadlock between nilfs evict inode() and find inode()
Syzbot reported a deadlock between nilfs evict inode(), executed via an asynchronous workqueue (kworker) as:
process one work() process scheduled works() nilfs iput work func() nilfs dispose list() iput() iput final() evict() s op->evict inode() nilfs evict inode()
and find inode(), called via
nilfs mkdir() nilfs new inode() nilfs insert inode locked() insert inode locked4() inode insert5() find inode()
When an inode is deleted (i nlink == 0), nilfs evict inode() clears its ifile bitmap entry and then synchronously triggers the log writer via nilfs transaction commit() if IS SYNC(inode) is true.
If a concurrent directory creation via nilfs new inode() attempts to allocate the same newly freed inode number, however, find inode() called just before inserting it into the inode hash, blocks waiting for the old inode's evict() to complete.
Meanwhile, the synchronous log writer invoked from nilfs evict inode() tries to acquire a write lock on 'ns segctor sem' which is read locked by the caller of nilfs new inode() (in this case, nilfs mkdir()), resulting in a deadlock.
The synchronous log writer invocation from nilfs evict inode() is a legacy artifact; it is no longer necessary because the call itself (triggered by iput()) is now handled asynchronously with a kworker if i nlink == 0. It merely increases the risk of deadlock.
Fix this deadlock by removing the synchronous log writer trigger from nilfs evict inode().
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾