{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c817248fc831f5494d076421672b70a6ec1a92dc"
            },
            {
              "fixed": "8be28bd11e098cd4f109edca1b883fe5704167ee"
            },
            {
              "fixed": "ca85441a75b526228923e2959bd576403c4bba85"
            },
            {
              "fixed": "db3ca539c1142d2c5380c5dbd3154ab7bb1c7d77"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.18.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99373.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFS/localio: detect a short read or write before the iterator has moved\n\nnfs_local_call_read() and nfs_local_call_write() issue a misaligned\nDIO as up to three segments and must stop at the first short one, or\nthe next segment lands at the wrong file offset.  They test for that\nby comparing the bytes transferred against iov_iter_count() of the\nsegment, read after read_iter() or write_iter() has advanced the\niterator, when the count is the residual rather than the request:\n\n    before the call:  count == expected\n    after the call:   count == expected - status\n\nThe test is therefore status \u003c expected - status, and it fires only\nwhen less than half of the segment was transferred.  A short I/O that\ncovers between 50% and 99% of a segment slips through: the loop moves\non with ki_pos advanced by the short amount, the next segment is\nissued at the wrong offset, and the header's byte count is\nover-reported to the caller.  A write that slips through also never\nsets NFS_CONTEXT_WRITE_SYNC, which is what makes the writes that\nfollow a short one synchronous.\n\nTake the segment's count before issuing it and compare against that.\n\nThis is the same defect that commit 250ec14932d5 (\"nfsd: fix\npartial-write detection in nfsd_direct_write\") fixed in NFSD's version\nof this loop.",
  "id": "CVE-2026-99373",
  "modified": "2026-11-19T16:45:38.683885224Z",
  "published": "2026-11-19T14:23:09.268Z",
  "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/8be28bd11e098cd4f109edca1b883fe5704167ee"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ca85441a75b526228923e2959bd576403c4bba85"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/db3ca539c1142d2c5380c5dbd3154ab7bb1c7d77"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99373.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99373"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "NFS/localio: detect a short read or write before the iterator has moved"
}