{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143039",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.344Z",
        "datePublished": "2026-12-03T09:18:15.192Z",
        "dateUpdated": "2026-12-03T09:18:15.192Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:18:15.192Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: let umount -f abort retried reads and writes\n\numount -f only wakes up tasks waiting on the server's queues.  Reads and\nwrites being retried - forever on hard mounts - keep going, so with the\nserver gone the unmount still hangs in sync_filesystem() waiting for\ntheir writeback.  NFS kills outstanding RPCs on umount -f instead.\n\nCount umount -f attempts per superblock and have each read and write\nrequest remember the count it started with.  Fail with -EIO, rather than\nretry, reissue, issue or wait for credits, any subrequest of a request\nthat predates a umount -f once it is a retry or the server or share is\ndisconnected; a kworker doing writeback can't be signalled out of the\ncredit wait otherwise.  First attempts on a connected server still go\nahead, and requests started later aren't aborted (but see below), so\nI/O on a healthy server keeps working if the unmount then fails with\n-EBUSY or only detaches one of several mounts.\n\nretry_count is not bumped yet when netfs_retry_write_stream() calls\nprepare_write() for the first retry, so don't rely on it alone to tell a\nreissue from a first attempt: treat a subrequest as a retry when it\nalready carries an xid (it has been prepared before) in\nprepare_write()/prepare_read(), or when its replay flag is set in\ncifs_io_aborted(), and abort it when the mount is going away even if the\nconnection still looks healthy.\n\nRequests created after umount -f - writeback kicked off by the background\nflusher, an oplock break or sync_filesystem() during the final teardown -\nsnapshot the already bumped count and would otherwise retry forever on a\nhard mount, hanging cifs_kill_sb().  Once a superblock that saw a umount\n-f reaches cifs_kill_sb() the mount is going away for good, so flag it and\nstop retrying I/O on it too; one that never saw a umount -f still\nflushes as before.\n\nA sync(2) or syncfs() waiting under s_umount for writeback started after\numount -f would still keep the unmount from reaching cifs_kill_sb(), so\nalso stop retrying such I/O while s_umount is contended.  After a failed\numount -f, that also stops reads and writes retrying while a remount,\nfreeze or new mount of the same superblock waits on s_umount."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/client/cifs_fs_sb.h",
                        "fs/smb/client/cifsfs.c",
                        "fs/smb/client/cifsglob.h",
                        "fs/smb/client/cifsproto.h",
                        "fs/smb/client/file.c",
                        "fs/smb/client/smb2pdu.c"
                    ],
                    "versions": [
                        {
                            "version": "2c1238a7477a2e76a49161937fc20a04c74dbd76",
                            "lessThan": "bced8b4c8ed74dfdb46eebc596d49e50aa2292d8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2c1238a7477a2e76a49161937fc20a04c74dbd76",
                            "lessThan": "adeb82ac455582eac1894d1ca1b0aba110a65cc3",
                            "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/cifs_fs_sb.h",
                        "fs/smb/client/cifsfs.c",
                        "fs/smb/client/cifsglob.h",
                        "fs/smb/client/cifsproto.h",
                        "fs/smb/client/file.c",
                        "fs/smb/client/smb2pdu.c"
                    ],
                    "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/bced8b4c8ed74dfdb46eebc596d49e50aa2292d8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/adeb82ac455582eac1894d1ca1b0aba110a65cc3"
                }
            ],
            "title": "smb: client: let umount -f abort retried reads and writes",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}