{"id":"CVE-2026-143033","state":"PUBLISHED","title":"smb: client: don't retry failed writes forever regardless of mount options","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: don't retry failed writes forever regardless of mount options\n\nsmb2_writev_callback() marks a write for retry whenever the server fails\nit with a replayable status, ignoring smb2_should_replay() and so the\nhard and retrans mount options.  The latter is only used to decide on a\nbackoff, so on a soft mount with no retrans, a server that keeps failing\na write with e.g. STATUS_INSUFFICIENT_RESOURCES gets it resent forever,\nthousands of times per second, hanging anything waiting on its\nwriteback:\n\n  smb3_write_err: R=005c359e[2] ... offset=0x27000 len=0xfdf0 rc=-11\n  (569410 times in 255 seconds, same subrequest, no growing delay)\n\nOnly retry such writes when cifs_io_should_replay() allows it, as already\ndone for send errors in smb2_async_writev(), otherwise let them fail.\nWriteback thus keeps retrying them with backoff, within its retry\nwindow.  Base the decision on the result of this attempt rather than on\nwdata->result, which is never reset on success and may hold the error of\na previous attempt.\n\nWrites cut short by a reconnect get retried regardless too.  Have\nwriteback ones go through cifs_io_should_replay() as well, so that they\nback off and soft mounts give up on them after the retry window, as on\nother replayable errors.  Other writes cut short keep being retried,\nwithout spending the mount's retries, but as replays, since they may\nhave reached the server, unless umount -f stopped them, which fails them\nwith -EIO.","publishedAt":"2026-12-03T09:18:08.808Z","updatedAt":"2026-12-03T09:18:08.808Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2c1238a7477a2e76a49161937fc20a04c74dbd76","status":"affected","lessThan":"22561146f810eee83f4447fe900a48923f85e3dc","versionType":"git"},{"version":"2c1238a7477a2e76a49161937fc20a04c74dbd76","status":"affected","lessThan":"bb203c9af62adb59d82e8ecb715e778329e3b771","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2pdu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2pdu.c"]}],"references":["https://git.kernel.org/stable/c/22561146f810eee83f4447fe900a48923f85e3dc","https://git.kernel.org/stable/c/bb203c9af62adb59d82e8ecb715e778329e3b771"],"weaknesses":[],"ingestedAt":"2026-12-03T09:26:06.073Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143033.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143033","state":"PUBLISHED","datePublished":"2026-12-03T09:18:08.808Z","dateUpdated":"2026-12-03T09:18:08.808Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.344Z"},"containers":{"cna":{"title":"smb: client: don't retry failed writes forever regardless of mount options","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: don't retry failed writes forever regardless of mount options\n\nsmb2_writev_callback() marks a write for retry whenever the server fails\nit with a replayable status, ignoring smb2_should_replay() and so the\nhard and retrans mount options.  The latter is only used to decide on a\nbackoff, so on a soft mount with no retrans, a server that keeps failing\na write with e.g. STATUS_INSUFFICIENT_RESOURCES gets it resent forever,\nthousands of times per second, hanging anything waiting on its\nwriteback:\n\n  smb3_write_err: R=005c359e[2] ... offset=0x27000 len=0xfdf0 rc=-11\n  (569410 times in 255 seconds, same subrequest, no growing delay)\n\nOnly retry such writes when cifs_io_should_replay() allows it, as already\ndone for send errors in smb2_async_writev(), otherwise let them fail.\nWriteback thus keeps retrying them with backoff, within its retry\nwindow.  Base the decision on the result of this attempt rather than on\nwdata->result, which is never reset on success and may hold the error of\na previous attempt.\n\nWrites cut short by a reconnect get retried regardless too.  Have\nwriteback ones go through cifs_io_should_replay() as well, so that they\nback off and soft mounts give up on them after the retry window, as on\nother replayable errors.  Other writes cut short keep being retried,\nwithout spending the mount's retries, but as replays, since they may\nhave reached the server, unless umount -f stopped them, which fails them\nwith -EIO."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2c1238a7477a2e76a49161937fc20a04c74dbd76","status":"affected","lessThan":"22561146f810eee83f4447fe900a48923f85e3dc","versionType":"git"},{"version":"2c1238a7477a2e76a49161937fc20a04c74dbd76","status":"affected","lessThan":"bb203c9af62adb59d82e8ecb715e778329e3b771","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2pdu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2pdu.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/22561146f810eee83f4447fe900a48923f85e3dc"},{"url":"https://git.kernel.org/stable/c/bb203c9af62adb59d82e8ecb715e778329e3b771"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:18:08.808Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}