{"id":"CVE-2026-143038","summary":"smb: client: retry writeback on interrupts and allocation failures","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: retry writeback on interrupts and allocation failures\n\nIssuing writes from a worker only helps when the task is already dying\nat issue time.  A fatal signal can still arrive after that check and\nbefore __smb_send_rqst() checks again, or while waiting for a credit in\ncifs_call_async(), or in the middle of a send.  The write then fails\nwith -ERESTARTSYS, which isn't a replayable error, so netfs marks the\nsubrequest failed and drops its folios clean:\n\n  netfs_sreq: R=000041f6[2] UPLD SUBMT ... s=400000 0/400000\n  smb3_write_err: R=000041f6[2] ... offset=0x400000 len=0x400000 rc=-512\n  netfs_failure: R=000041f6[2] UPLD ... upload e=-512\n\nlosing 4MiB of a 64MiB file closed by a task killed meanwhile.  A failed\nmemory allocation while building or sending a write drops its data the\nsame way.\n\nNo server status maps to an interrupt error or to -ENOMEM, so for\nwriteback such errors always mean the client gave up locally.  Mark the\nsubrequest for retry, with backoff and giving up on umount -f, as cifs\ndid with is_retryable_error() before switching to netfslib and as NFS\ndoes for these errors.  netfs collects writeback from a workqueue, so\nthe retry gets prepared and issued with no signals pending.\n\nOnly the SMB2 read and write paths sleep before replaying, so SMB1 would\nresend such writes right away.  Move the sleep to cifs_issue_read() and\n__cifs_issue_write().","modified":"2026-12-03T11:00:53.883143583Z","published":"2026-12-03T09:18:14.088Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143038.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9233d7c08a14bc05600f7175812035ea85d3a165"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb39fbd782bcd2dccd05f633bc6ac348209dc272"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143038.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143038"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3ee1a1fc39819906f04d6c62c180e760cd3a689d"},{"fixed":"9233d7c08a14bc05600f7175812035ea85d3a165"},{"fixed":"fb39fbd782bcd2dccd05f633bc6ac348209dc272"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143038.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143038.json"}}],"schema_version":"1.9.2"}