Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix missing read bio submission on large folio error f2fs_read_data_large_folio() can keep a read bio across multiple readahead folios. If a later folio hits an error before any of its blocks are added to the bio, folio_in_bio is false and the current error path returns immediately after ending that folio. This can leave the bio accumulated for earlier folios unsubmitted. Those folios then never receive read completion, and readers can wait indefinitely on the locked folios. Route errors through the common out path so any pending bio is submitted before returning. Stop consuming more readahead folios once an error is seen, and only wait on and clear the current folio when it was actually added to the bio.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
a5d8b9d94e1863f3ebb7182c238b2c713f6f4efd to < 48c92559e7b66fdc3cbc74f6e152e66ec0150a0aaffecteda5d8b9d94e1863f3ebb7182c238b2c713f6f4efd to < 74c8d2ec95c59a5651ecd975c466998af1961fd4affected
Linux Linux
Default version status: affected
7.0affected0 to < 7.0unaffected7.1.3 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected