Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: retry writes that couldn't be issued due to a reconnect __cifs_issue_write() fails a subrequest with -EAGAIN when its handle got invalidated or its credits belong to a session from before a reconnect, both before sending anything. netfs used to retry any -EAGAIN by itself, but now only retries subrequests marked for it, so these writes fail and their folios end writeback clean, losing the data. Mark them for retry instead. The retry gets the handle reopened and fresh credits in cifs_prepare_write().
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
be0d85bc660afe93ebe12ecea7f3d7af375d8a6c to < 1337852095b6e7bc6fcb8c7122c30aed4440e358affected82e8885bd7633a36ee9050e6d7f348a4155eed5f to < 96cccc086e5874742fdbb37150507415944f1440affected82e8885bd7633a36ee9050e6d7f348a4155eed5f to < 64db0dc1f3e689145e698bc1b20ee70b1724b945affected720f350d448f4f7defccfac7ed3ea201769a7cc0affected6.18.16 to < 6.18.66affected6.19.6 to < 6.20affected
Linux Linux
Default version status: affected
7.0affected0 to < 7.0unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected