Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: don't give up writeback on the first replayable error Read and write retries follow the hard and retrans mount options, and mounts are soft with no retrans by default. For writeback this means that a single replayable error, e.g. a reconnect while sending, fails the subrequest and netfs ends writeback with its folios clean: the data is gone, possibly long after write(2) succeeded, with only fsync(2) left to notice. NFS soft mounts, by comparison, wait minutes for a server to answer before failing a request. Keep retrying writeback on replayable errors, with exponential backoff: forever on hard mounts, and on soft mounts for max(3, retrans) echo intervals from the first failure - 3 minutes by default, the time after which a silent server is considered unresponsive. The window applies to each write sent to the server, not to the whole writeback. umount -f or a shutdown still stops it right away. Direct and unbuffered writes, whose callers get the error, keep following the mount options.
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
2c1238a7477a2e76a49161937fc20a04c74dbd76 to < e106a6e2f060f43d1ce12e943e42d8a6a02b2731affected2c1238a7477a2e76a49161937fc20a04c74dbd76 to < 274dec866f0882ee5a0f3d58d4d5c31af0c02417affected
Linux Linux
Default version status: affected
7.0affected0 to < 7.0unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected