{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143034",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.344Z",
        "datePublished": "2026-12-03T09:18:09.745Z",
        "dateUpdated": "2026-12-04T03:27:27.416Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:27:27.416Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: don't give up writeback on the first replayable error\n\nRead and write retries follow the hard and retrans mount options, and\nmounts are soft with no retrans by default.  For writeback this means\nthat a single replayable error, e.g. a reconnect while sending, fails\nthe subrequest and netfs ends writeback with its folios clean: the data\nis gone, possibly long after write(2) succeeded, with only fsync(2) left\nto notice.  NFS soft mounts, by comparison, wait minutes for a server to\nanswer before failing a request.\n\nKeep retrying writeback on replayable errors, with exponential backoff:\nforever on hard mounts, and on soft mounts for max(3, retrans) echo\nintervals from the first failure - 3 minutes by default, the time after\nwhich a silent server is considered unresponsive.  The window applies to\neach write sent to the server, not to the whole writeback.  umount -f or\na shutdown still stops it right away.  Direct and unbuffered writes,\nwhose callers get the error, keep following the mount options."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - smb2_writev_callback() handles the server's SMB2 WRITE response. Status STATUS_RETRY, STATUS_IO_TIMEOUT, STATUS_SERVER_UNAVAILABLE, STATUS_INSUFFICIENT_RESOURCES, STATUS_FILE_NOT_AVAILABLE, or STATUS_CONNECTION_ABORTED is mapped by map_smb2_to_linux_error() to -EAGAIN or -ECONNABORTED and then passed to cifs_io_should_replay(). SMB over TCP/445 is routable.\nAC:L - smb3_init_fs_context() defaults to a soft mount (ctx->retry = 0) and ctx->retrans = 0, so pre-fix smb2_should_replay() evaluates (*pretries)++ < retrans as 0 < 0 and cifs_io_should_replay() returns false on the first such Status. The server puts that Status in the WRITE response it is already completing.\nPR:N - The attacker is the SMB server. smb2_writev_callback() consumes the WRITE Status on the session the demux thread already accepted, with no client credential or capability check. Session setup authenticated the client to the server, not the server to the client.\nUI:N - netfs_writepages() has already reached cifs_issue_write() and smb2_async_writev() for folios dirtied by an earlier cifs_file_write_iter(). The server completes that in-flight SMB2 WRITE with STATUS_RETRY; no further mount or user action is required.\nS:U - The discarded bytes are the cifs page-cache folios and the SMB file they were being written to. That stays inside the client kernel's own authority and does not cross a guest/host, IOMMU, or sandbox boundary.\nC:N - Refusing the replay only fails the writeback subrequest. cifs_io_should_replay() and netfs_folio_written_back() do not read past a buffer, reuse a freed object, or copy kernel memory to userspace.\nI:H - Once cifs_io_should_replay() returns false, netfs_write_subrequest_terminated() sets NETFS_SREQ_FAILED and netfs_folio_written_back() calls folio_end_writeback() without redirtying, so data write(2) already reported successful is marked clean and never resent.\nA:N - This is the ordinary netfs writeback failure path, not a NULL dereference, BUG_ON, deadlock, or hang. The client keeps running; mapping_set_error() only records the errno for a later fsync."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/cifsglob.h",
                        "fs/smb/client/file.c",
                        "fs/smb/client/smb2ops.c",
                        "fs/smb/client/smb2proto.h"
                    ],
                    "versions": [
                        {
                            "version": "2c1238a7477a2e76a49161937fc20a04c74dbd76",
                            "lessThan": "e106a6e2f060f43d1ce12e943e42d8a6a02b2731",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2c1238a7477a2e76a49161937fc20a04c74dbd76",
                            "lessThan": "274dec866f0882ee5a0f3d58d4d5c31af0c02417",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/cifsglob.h",
                        "fs/smb/client/file.c",
                        "fs/smb/client/smb2ops.c",
                        "fs/smb/client/smb2proto.h"
                    ],
                    "versions": [
                        {
                            "version": "7.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "7.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "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"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/e106a6e2f060f43d1ce12e943e42d8a6a02b2731"
                },
                {
                    "url": "https://git.kernel.org/stable/c/274dec866f0882ee5a0f3d58d4d5c31af0c02417"
                }
            ],
            "title": "smb: client: don't give up writeback on the first replayable error",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}