PT-2026-162666

CVE-2026-100097

·

تاريخ النشر

2026-11-30

·

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

2026-11-30

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
f2fs: convert inline quota files when turning quota on
With a block size larger than 4KB, the inline data area is large enough to hold a freshly created quota file (quotacheck writes 6KB), so aquota.user/aquota.group stay inline after quotaon. f2fs does not expect quota files to be inline, and this causes two problems:
  1. Quota file corruption. f2fs write single data page() sends quota inodes straight to f2fs do write data page(), which sees NULL ADDR for index 0, treats the folio as truncated and drops it. Updates to the quota file are lost once the folio is reclaimed, so the quota tree reads stale data: chown/chgrp fail with EIO and quota entries of users disappear. For example, the kernel log shows:
    find free dqentry: Data block full but it shouldn't qtree write dquot: Error -5 occurred while creating quota
  2. Deadlock. Writing a quota file past MAX INLINE DATA converts it from f2fs write begin() under f2fs lock op(). dquot transfer() is called from f2fs setattr() with f2fs lock op() already held, so chown/chgrp take cp rwsem for read twice and hang, together with the checkpoint and every other writer, once a checkpoint waits for cp rwsem in between (seen with generic/232).
Quota files only grow and there are at most MAXQUOTAS of them, so there is no point in keeping them inline. Convert them in f2fs quota on() and after dquot quota on mount(), which keeps every block size on the same path as 4KB blocks, where quota files never fit inline. Quota sysfiles are created by mkfs with real blocks and are not affected.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾