CVE-2026-143033: smb: client: don't retry failed writes forever regardless of mount options

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

smb: client: don't retry failed writes forever regardless of mount options

smb2writevcallback() marks a write for retry whenever the server fails it with a replayable status, ignoring smb2shouldreplay() and so the hard and retrans mount options. The latter is only used to decide on a backoff, so on a soft mount with no retrans, a server that keeps failing a write with e.g. STATUSINSUFFICIENTRESOURCES gets it resent forever, thousands of times per second, hanging anything waiting on its writeback:

smb3writeerr: R=005c359e[2] ... offset=0x27000 len=0xfdf0 rc=-11 (569410 times in 255 seconds, same subrequest, no growing delay)

Only retry such writes when cifsioshouldreplay() allows it, as already done for send errors in smb2asyncwritev(), otherwise let them fail. Writeback thus keeps retrying them with backoff, within its retry window. Base the decision on the result of this attempt rather than on wdata->result, which is never reset on success and may hold the error of a previous attempt.

Writes cut short by a reconnect get retried regardless too. Have writeback ones go through cifsioshouldreplay() as well, so that they back off and soft mounts give up on them after the retry window, as on other replayable errors. Other writes cut short keep being retried, without spending the mount's retries, but as replays, since they may have reached the server, unless umount -f stopped them, which fails them with -EIO.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:18 AM
Data Sourced
via MITRE·09:18 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203