PT-2026-166521

CVE-2026-142798

·

تاريخ النشر

2026-12-03

·

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

2026-12-03

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
iomap: don't resubmit an ioend after ->writeback submit() failed
iomap add to ioend() submits the pending ioend through ->writeback submit() before allocating a new one for the current range. When the submission fails the helper completes the ioend with an error, but iomap add to ioend() returns the error without clearing wpc->wb ctx. iomap writepages() then submits whatever wpc->wb ctx points to, so the already completed ioend is submitted a second time.
For XFS the second bio endio() lands in xfs end bio(), which list add tail()s the already linked ioend into ip->i ioend list. This corrupts the list and leaves a use-after-free/double-free window against the ioend completion worker. Reproduced with a fault-injected ->writeback submit() failure on a reflinked XFS file with several CoW writeback ranges in flight: the unfixed kernel hits repeated "list add double add" warnings from list add valid or report(), the fixed kernel fails writeback cleanly.
Clear wpc->wb ctx when ->writeback submit() fails. The old iomap submit ioend() cleared the context unconditionally; that clear was lost when submission moved to iomap ioend writeback submit(). The final ->writeback submit() call in iomap writepages() needs no equivalent fix: it is the last thing the function does before returning, and every caller allocates its iomap writepage ctx on the stack for a single call, so wpc->wb ctx is never read again afterwards.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾