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().
https://git.kernel.org/stable/c/96cccc086e5874742fdbb37150507415944f1440
https://git.kernel.org/stable/c/64db0dc1f3e689145e698bc1b20ee70b1724b945
https://git.kernel.org/stable/c/1337852095b6e7bc6fcb8c7122c30aed4440e358