CVE-2026-99371 (GCVE-0-2026-99371)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:23 – Updated: 2026-11-19 14:38
VLAI
Title
nfsd: clear XDR padding in GETXATTR replies
Summary
In the Linux kernel, the following vulnerability has been resolved: nfsd: clear XDR padding in GETXATTR replies nfsd4_vbuf_to_stream() uses a raw memcpy() for the first fragment of an attribute value. xdr_reserve_space() aligns the reservation but does not initialize the extra bytes. If the complete value fits in that fragment, the loop that clears padding for the final fragment is never entered. A remote client reading an attribute whose length is not a multiple of four can therefore receive one to three stale bytes from the response page. Encode the first fragment with xdr_encode_opaque_fixed(), matching the final-fragment path and ensuring that any XDR padding is zeroed.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 , < 842e2215a87d062b69d5170840f34fbd83f47b41 (git)
Affected: 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 , < 624531ecd48b96be2a94c964685762960bd11208 (git)
Affected: 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 , < 99ab5346b69834587b4ae59d1addea5960b50c8b (git)
Affected: 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 , < daba58690339ae86f1ebeb5197aa1369fae37e57 (git)
Create a notification for this product.
Linux Linux Affected: 5.9
Unaffected: 0 , < 5.9 (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfsd/nfs4xdr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "842e2215a87d062b69d5170840f34fbd83f47b41",
              "status": "affected",
              "version": "23e50fe3a5e6045a573c69d4b0e3d78aa6183323",
              "versionType": "git"
            },
            {
              "lessThan": "624531ecd48b96be2a94c964685762960bd11208",
              "status": "affected",
              "version": "23e50fe3a5e6045a573c69d4b0e3d78aa6183323",
              "versionType": "git"
            },
            {
              "lessThan": "99ab5346b69834587b4ae59d1addea5960b50c8b",
              "status": "affected",
              "version": "23e50fe3a5e6045a573c69d4b0e3d78aa6183323",
              "versionType": "git"
            },
            {
              "lessThan": "daba58690339ae86f1ebeb5197aa1369fae37e57",
              "status": "affected",
              "version": "23e50fe3a5e6045a573c69d4b0e3d78aa6183323",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfsd/nfs4xdr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.9"
            },
            {
              "lessThan": "5.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "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"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "5.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: clear XDR padding in GETXATTR replies\n\nnfsd4_vbuf_to_stream() uses a raw memcpy() for the first fragment of an\nattribute value. xdr_reserve_space() aligns the reservation but does not\ninitialize the extra bytes. If the complete value fits in that fragment,\nthe loop that clears padding for the final fragment is never entered.\n\nA remote client reading an attribute whose length is not a multiple of\nfour can therefore receive one to three stale bytes from the response\npage.\n\nEncode the first fragment with xdr_encode_opaque_fixed(), matching the\nfinal-fragment path and ensuring that any XDR padding is zeroed."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T14:38:02.818Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/842e2215a87d062b69d5170840f34fbd83f47b41"
        },
        {
          "url": "https://git.kernel.org/stable/c/624531ecd48b96be2a94c964685762960bd11208"
        },
        {
          "url": "https://git.kernel.org/stable/c/99ab5346b69834587b4ae59d1addea5960b50c8b"
        },
        {
          "url": "https://git.kernel.org/stable/c/daba58690339ae86f1ebeb5197aa1369fae37e57"
        }
      ],
      "title": "nfsd: clear XDR padding in GETXATTR replies",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99371",
    "datePublished": "2026-11-19T14:23:07.497Z",
    "dateReserved": "2026-09-25T10:25:14.410Z",
    "dateUpdated": "2026-11-19T14:38:02.818Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99371",
      "date": "2026-11-22",
      "epss": "0.00224",
      "percentile": "0.13162"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-21T01:02:59.000Z",
      "cve": "CVE-2026-99371",
      "id": "msrc_CVE-2026-99371",
      "initial_release_date": "2026-11-21T01:02:59.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "nfsd: clear XDR padding in GETXATTR replies",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99371.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/nfsd/nfs4xdr.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "842e2215a87d062b69d5170840f34fbd83f47b41",
                    "status": "affected",
                    "version": "23e50fe3a5e6045a573c69d4b0e3d78aa6183323",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "624531ecd48b96be2a94c964685762960bd11208",
                    "status": "affected",
                    "version": "23e50fe3a5e6045a573c69d4b0e3d78aa6183323",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "99ab5346b69834587b4ae59d1addea5960b50c8b",
                    "status": "affected",
                    "version": "23e50fe3a5e6045a573c69d4b0e3d78aa6183323",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "daba58690339ae86f1ebeb5197aa1369fae37e57",
                    "status": "affected",
                    "version": "23e50fe3a5e6045a573c69d4b0e3d78aa6183323",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/nfsd/nfs4xdr.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.9"
                  },
                  {
                    "lessThan": "5.9",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "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\nnfsd: clear XDR padding in GETXATTR replies\n\nnfsd4_vbuf_to_stream() uses a raw memcpy() for the first fragment of an\nattribute value. xdr_reserve_space() aligns the reservation but does not\ninitialize the extra bytes. If the complete value fits in that fragment,\nthe loop that clears padding for the final fragment is never entered.\n\nA remote client reading an attribute whose length is not a multiple of\nfour can therefore receive one to three stale bytes from the response\npage.\n\nEncode the first fragment with xdr_encode_opaque_fixed(), matching the\nfinal-fragment path and ensuring that any XDR padding is zeroed."
          }
        ],
        "id": "CVE-2026-99371",
        "lastModified": "2026-11-19T15:17:48.967",
        "metrics": {},
        "published": "2026-11-19T15:17:48.967",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/624531ecd48b96be2a94c964685762960bd11208"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/842e2215a87d062b69d5170840f34fbd83f47b41"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/99ab5346b69834587b4ae59d1addea5960b50c8b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/daba58690339ae86f1ebeb5197aa1369fae37e57"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T16:46:55+00:00",
      "cve": "CVE-2026-99371",
      "id": "CVE-2026-99371",
      "initial_release_date": "2026-11-19T14:23:07.497000+00:00",
      "product_status:known_affected": "176",
      "product_status:known_not_affected": "28",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Information disclosure via uncleared padding in nfsd GETXATTR replies",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99371.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-20T17:47:41Z",
      "cve": "CVE-2026-99371",
      "id": "CVE-2026-99371",
      "initial_release_date": "2026-11-20T17:47:41Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99371",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99371.json",
      "version": "2"
    }
  }
}



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…