CVE-2026-143040

Not scored yetLast modified Dec 3, 2026

Description

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

smb: client: issue writes from a worker if the task is dying

A task with a fatal signal pending can't send on the socket: __smb_send_rqst() refuses it upfront with -ERESTARTSYS, as SIGKILL can't be blocked and a send interrupted halfway forces a reconnect. Writeback, however, runs in the context of whoever starts it, so when a dying task flushes dirty pages - close() racing with SIGKILL, or fd teardown during exit_group() - every write subrequest gets refused:

smb3_write_err: ... offset=0x1400000 len=0x400000 rc=-512 cifs_flush_err: ino=... rc=-512

Since the switch to netfslib, a failed upload ends writeback with the folios clean, so the data is silently lost: the server ends up with 20MiB of a 64MiB file while stat(2) reports the full size.

Issue writeback subrequests of dying tasks from a new cifswritebackd workqueue instead, like afs does for all of its writes, so they get sent from a context with no signals. Leave direct and unbuffered writes alone, as their callers get the error. Use a dedicated WQ_UNBOUND workqueue as the writes may block for long on credits, sends or reopens, e.g. on hard mounts with an unresponsive server, and must not hold up other cifs work such as reconnects, nor starve the WQ_MEM_RECLAIM rescuer of cifsiod_wq.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143041In the Linux kernel, the following vulnerability has been resolved: smb: client: hold the inode across cifs_oplock_break() cifs_oplock_breCVE-2026-143042In the Linux kernel, the following vulnerability has been resolved: smb: client: hold server ref while queueing reconnect work When query_CVE-2026-143043In the Linux kernel, the following vulnerability has been resolved: smb: client: fix out-of-bounds read in dfs_parse_target_referral() dfsCVE-2026-143044In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB write when compounding SMB2_IOCTL with encryption CVE-2026-143045In the Linux kernel, the following vulnerability has been resolved: smb: client: don't block dying tasks waiting for writeback on fsync ciCVE-2026-143046In the Linux kernel, the following vulnerability has been resolved: smb: client: compare owner and group SIDs using their encoded lengths CVE-2026-143047In the Linux kernel, the following vulnerability has been resolved: smb: client: bound invalid NTLMSSP signature diagnostic The NTLMSSP SiCVE-2026-143048In the Linux kernel, the following vulnerability has been resolved: ovl: do not allow nfs_export with data-only layers Since data-only layCVE-2026-143049In the Linux kernel, the following vulnerability has been resolved: ovl: return EIO if the lowerdata is missing The data of a metacopy filCVE-2026-143055.3The WP Delicious WordPress plugin before 1.10.2 does not perform an authorization check on one of its AJAX actions, allowing unauthenticateCVE-2026-143050In the Linux kernel, the following vulnerability has been resolved: ovl: reject different lower idmaps on the same fs Overayfs mounted witCVE-2026-143051In the Linux kernel, the following vulnerability has been resolved: ovl: fix leak of lowerdata redirect on ovl_get_inode() failure ovl_loo
CVE-2026-143040: Unscored | Vulnix