FKIE_CVE-2026-99373

Vulnerability from fkie_nvd - Published: 2026-11-19 15:17 - Updated: 2026-11-19 15:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: NFS/localio: detect a short read or write before the iterator has moved nfs_local_call_read() and nfs_local_call_write() issue a misaligned DIO as up to three segments and must stop at the first short one, or the next segment lands at the wrong file offset. They test for that by comparing the bytes transferred against iov_iter_count() of the segment, read after read_iter() or write_iter() has advanced the iterator, when the count is the residual rather than the request: before the call: count == expected after the call: count == expected - status The test is therefore status < expected - status, and it fires only when less than half of the segment was transferred. A short I/O that covers between 50% and 99% of a segment slips through: the loop moves on with ki_pos advanced by the short amount, the next segment is issued at the wrong offset, and the header's byte count is over-reported to the caller. A write that slips through also never sets NFS_CONTEXT_WRITE_SYNC, which is what makes the writes that follow a short one synchronous. Take the segment's count before issuing it and compare against that. This is the same defect that commit 250ec14932d5 ("nfsd: fix partial-write detection in nfsd_direct_write") fixed in NFSD's version of this loop.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/localio.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8be28bd11e098cd4f109edca1b883fe5704167ee",
              "status": "affected",
              "version": "c817248fc831f5494d076421672b70a6ec1a92dc",
              "versionType": "git"
            },
            {
              "lessThan": "ca85441a75b526228923e2959bd576403c4bba85",
              "status": "affected",
              "version": "c817248fc831f5494d076421672b70a6ec1a92dc",
              "versionType": "git"
            },
            {
              "lessThan": "db3ca539c1142d2c5380c5dbd3154ab7bb1c7d77",
              "status": "affected",
              "version": "c817248fc831f5494d076421672b70a6ec1a92dc",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/localio.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.18"
            },
            {
              "lessThan": "6.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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\u0027s 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\u0027s 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\u0027s version\nof this loop."
    }
  ],
  "id": "CVE-2026-99373",
  "lastModified": "2026-11-19T15:17:49.203",
  "metrics": {},
  "published": "2026-11-19T15:17:49.203",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/8be28bd11e098cd4f109edca1b883fe5704167ee"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/ca85441a75b526228923e2959bd576403c4bba85"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/db3ca539c1142d2c5380c5dbd3154ab7bb1c7d77"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…