netfs: Fix potential deadlock in write-through mode
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e40e9cbf3ee4d30ee9a97bd128c85500b6ad0da1, Kernel 003aa0dd26c964025acd6d1213bcdbd674db2ca9, Kernel 1468f39243ccb155b6d97f9a9932f610d1205d75 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=288ace2f57c9d06dd2e42bd80d03747d879a4068 <e40e9cbf3ee4d30ee9a97bd128c85500b6ad0da1, >=288ace2f57c9d06dd2e42bd80d03747d879a4068 <003aa0dd26c964025acd6d1213bcdbd674db2ca9, >=288ace2f57c9d06dd2e42bd80d03747d879a4068 <1468f39243ccb155b6d97f9a9932f610d1205d75, >=288ace2f57c9d06dd2e42bd80d03747d879a4068 <b6a4ae1634b3ad2aaa05222e53d36da532852faf, =6.10 | e40e9cbf3ee4d30ee9a97bd128c85500b6ad0da1, 003aa0dd26c964025acd6d1213bcdbd674db2ca9, 1468f39243ccb155b6d97f9a9932f610d1205d75, b6a4ae1634b3ad2aaa05222e53d36da532852faf |
| linux-kernel: Kernel | >=6.13.0 <6.18.34, >=6.19.0 <7.0.11, >=6.10.0 <6.12.92 | 6.18.34, 7.0.11, 6.12.92 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket