Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-64062

netfs: Fix potential deadlock in write-through mode

Description

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix potential deadlock in write-through mode Fix netfs_advance_writethrough() to always unlock the supplied folio and to mark it dirty if it isn't yet written to the end. Unfortunately, it can't be marked for writeback until the folio is done with as that may cause a deadlock against mmapped reads and writes. Even though it has been marked dirty, premature writeback can't occur as the caller is holding both inode->i_rwsem (which will prevent concurrent truncation, fallocation, DIO and other writes) and ictx->wb_lock (which will cause flushing to wait and writeback to skip or wait). Note that this may be easier to deal with once the queuing of folios is split from the generation of subrequests.

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

  • 288ace2f57c9d06dd2e42bd80d03747d879a4068 to < 1468f39243ccb155b6d97f9a9932f610d1205d75affected
  • 288ace2f57c9d06dd2e42bd80d03747d879a4068 to < 003aa0dd26c964025acd6d1213bcdbd674db2ca9affected
  • 288ace2f57c9d06dd2e42bd80d03747d879a4068 to < e40e9cbf3ee4d30ee9a97bd128c85500b6ad0da1affected
  • 288ace2f57c9d06dd2e42bd80d03747d879a4068 to < b6a4ae1634b3ad2aaa05222e53d36da532852fafaffected

Linux Linux

Default version status: affected

  • 6.10affected
  • 0 to < 6.10unaffected
  • 6.12.92 to ≤ 6.12.*unaffected
  • 6.18.34 to ≤ 6.18.*unaffected
  • 7.0.11 to ≤ 7.0.*unaffected
  • 7.1 to ≤ *unaffected

References