{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "2c1238a7477a2e76a49161937fc20a04c74dbd76"
            },
            {
              "fixed": "bced8b4c8ed74dfdb46eebc596d49e50aa2292d8"
            },
            {
              "fixed": "adeb82ac455582eac1894d1ca1b0aba110a65cc3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.0.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143039.json"
  },
  "details": "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.",
  "id": "CVE-2026-143039",
  "modified": "2026-12-03T10:46:08.696851964Z",
  "published": "2026-12-03T09:18:15.192Z",
  "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/adeb82ac455582eac1894d1ca1b0aba110a65cc3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bced8b4c8ed74dfdb46eebc596d49e50aa2292d8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143039.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143039"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "smb: client: let umount -f abort retried reads and writes"
}