CVE-2026-143038: smb: client: retry writeback on interrupts and allocation failures

Published Dec 3, 2026
·
Updated

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

smb: client: retry writeback on interrupts and allocation failures

Issuing writes from a worker only helps when the task is already dying at issue time. A fatal signal can still arrive after that check and before smbsendrqst() checks again, or while waiting for a credit in cifscallasync(), or in the middle of a send. The write then fails with -ERESTARTSYS, which isn't a replayable error, so netfs marks the subrequest failed and drops its folios clean:

netfssreq: R=000041f6[2] UPLD SUBMT ... s=400000 0/400000 smb3writeerr: R=000041f6[2] ... offset=0x400000 len=0x400000 rc=-512 netfsfailure: R=000041f6[2] UPLD ... upload e=-512

losing 4MiB of a 64MiB file closed by a task killed meanwhile. A failed memory allocation while building or sending a write drops its data the same way.

No server status maps to an interrupt error or to -ENOMEM, so for writeback such errors always mean the client gave up locally. Mark the subrequest for retry, with backoff and giving up on umount -f, as cifs did with isretryableerror() before switching to netfslib and as NFS does for these errors. netfs collects writeback from a workqueue, so the retry gets prepared and issued with no signals pending.

Only the SMB2 read and write paths sleep before replaying, so SMB1 would resend such writes right away. Move the sleep to cifsissueread() and cifsissuewrite().

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

Frequently Asked Questions

1

Which systems are exposed to this issue?

Linux systems using the SMB client writeback path are affected when write requests are issued through the client. The failure is triggered by a fatal signal arriving during write processing or by local memory allocation failures while building or sending a write.

2

What is required for data to be lost?

A writeback operation must fail locally with -ERESTARTSYS or -ENOMEM. This can occur while waiting for SMB credits, during a send, or after the worker has checked whether its task is dying; the client then marks the netfs subrequest failed and drops its folios.

3

Is this caused by an SMB server response?

No. The described interrupt and allocation errors do not correspond to server status values, so they indicate that the client stopped the write locally rather than a server-reported write failure.

4

How can I look for evidence of impact?

Client logs may show smb3_write_err with rc=-512 followed by netfs_failure reporting an upload error of -512. The described outcome is lost writeback data, such as data from a file closed by a task that was killed while writeback was still pending.

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