CVE-2022-50861 (GCVE-0-2022-50861)
Vulnerability from cvelistv5
Published
2025-12-30 12:15
Modified
2026-08-05 08:59
Summary
In the Linux kernel, the following vulnerability has been resolved: NFSD: Finish converting the NFSv2 GETACL result encoder The xdr_stream conversion inadvertently left some code that set the page_len of the send buffer. The XDR stream encoders should handle this automatically now. This oversight adds garbage past the end of the Reply message. Clients typically ignore the garbage, but NFSD does not need to send it, as it leaks stale memory contents onto the wire.
Impacted products
Vendor Product Version
Linux Linux Version: 6677b0d16abe77702040768c96e2ea17cd5b3f6e
Version: f8cba47344f794b54373189bec23195b51020faf
Version: f8cba47344f794b54373189bec23195b51020faf
Version: f8cba47344f794b54373189bec23195b51020faf
Version: f8cba47344f794b54373189bec23195b51020faf
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfsd/nfs2acl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a20b0abab966a189a79aba6ebf41f59024a3224d",
              "status": "affected",
              "version": "6677b0d16abe77702040768c96e2ea17cd5b3f6e",
              "versionType": "git"
            },
            {
              "lessThan": "5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a",
              "status": "affected",
              "version": "f8cba47344f794b54373189bec23195b51020faf",
              "versionType": "git"
            },
            {
              "lessThan": "d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a",
              "status": "affected",
              "version": "f8cba47344f794b54373189bec23195b51020faf",
              "versionType": "git"
            },
            {
              "lessThan": "2b825efb0577a32a872e872a869e0947cf9dd6d3",
              "status": "affected",
              "version": "f8cba47344f794b54373189bec23195b51020faf",
              "versionType": "git"
            },
            {
              "lessThan": "ea5021e911d3479346a75ac9b7d9dcd751b0fb99",
              "status": "affected",
              "version": "f8cba47344f794b54373189bec23195b51020faf",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfsd/nfs2acl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.13"
            },
            {
              "lessThan": "5.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Finish converting the NFSv2 GETACL result encoder\n\nThe xdr_stream conversion inadvertently left some code that set the\npage_len of the send buffer. The XDR stream encoders should handle\nthis automatically now.\n\nThis oversight adds garbage past the end of the Reply message.\nClients typically ignore the garbage, but NFSD does not need to send\nit, as it leaks stale memory contents onto the wire."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The bug is in nfsd\u2019s NFSv2 ACL GETACL reply encoder (fs/nfsd/nfs2acl.c), reachable by sending NFSACL RPC requests to the in-kernel NFS server over the network (TCP/UDP 2049).\nAC:L - A client with a valid filehandle can deterministically trigger the leak with a normal GETACL call; there is no race or other condition outside the attacker\u2019s control.\nPR:N - Default exports accept AUTH_NULL/AUTH_UNIX, which provide no cryptographic authentication, and GETACL only uses NFSD_MAY_NOP. In the highest reasonable deployment (AUTH_SYS export reachable by the attacker), no privileged credentials are required.\nUI:N - Exploitation requires only attacker-sent NFSACL GETACL requests; no victim user action is needed.\nS:U - Impact stays within the host kernel/NFS server security authority; this is not a VM escape, IOMMU bypass, or other cross-boundary break.\nC:H - Incorrect rq_res.page_len causes nfsacl_size() bytes (typically tens of bytes up to many KB) of uninitialized/stale GFP_KERNEL reply-page contents to be sent on the wire, which is a substantial kernel memory disclosure rather than a few-byte padding leak.\nI:N - The flaw only appends unread garbage past a well-formed reply; it does not write attacker-controlled data into kernel memory or alter server state.\nA:N - The bug is an information leak only; it does not cause oops, panic, hang, or other denial of service."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:59:50.963Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a20b0abab966a189a79aba6ebf41f59024a3224d"
        },
        {
          "url": "https://git.kernel.org/stable/c/5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a"
        },
        {
          "url": "https://git.kernel.org/stable/c/d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a"
        },
        {
          "url": "https://git.kernel.org/stable/c/2b825efb0577a32a872e872a869e0947cf9dd6d3"
        },
        {
          "url": "https://git.kernel.org/stable/c/ea5021e911d3479346a75ac9b7d9dcd751b0fb99"
        }
      ],
      "title": "NFSD: Finish converting the NFSv2 GETACL result encoder",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50861",
    "datePublished": "2025-12-30T12:15:34.511Z",
    "dateReserved": "2025-12-30T12:06:07.135Z",
    "dateUpdated": "2026-08-05T08:59:50.963Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…