PT-2026-151635

CVE-2026-99424

·

تاريخ النشر

2026-11-19

·

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

2026-11-19

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
ovl: set OVL WHITEOUTS before publishing the upper dir
Listing a directory while it is copied up causes a use-after-free of the readdir cache.
A merge directory must never be iterated as a real upper directory: that mode frees the cache in OVL I(inode)->cache without looking at its refcount, while files opened in merged mode still use it. ovl copy up workdir() publishes the upper dentry before it sets OVL WHITEOUTS, and ovl dir open() samples both without a lock, so an open between the two stores finds the upper directory and takes it for a real one.
With a delay between the two stores, an unprivileged process that listed a directory during its copy-up saw only "." and "..", and its next getdents freed the readdir cache of another descriptor.
Fix this by setting OVL WHITEOUTS before ovl inode update(), so that ovl dir reset() agrees with ovl dir open(), and by testing OVL TYPE MERGE() of the path type in ovl dir open(), so that an open that observes the upper dentry never iterates a merge dir as a real dir, regardless of the order in which it observes the flag.
[amir: test OVL TYPE MERGE() instead of smp rmb() in ovl dir open()]
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾