GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50861 (GCVE-0-2022-50861)

Vulnerability from cvelistv5 – Published: 2025-12-30 12:15 – Updated: 2026-08-05 08:59
VLAI
Title
NFSD: Finish converting the NFSv2 GETACL result encoder
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 CPE status
Linux Linux Affected: 6677b0d16abe77702040768c96e2ea17cd5b3f6e , < a20b0abab966a189a79aba6ebf41f59024a3224d (git)
Affected: f8cba47344f794b54373189bec23195b51020faf , < 5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a (git)
Affected: f8cba47344f794b54373189bec23195b51020faf , < d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a (git)
Affected: f8cba47344f794b54373189bec23195b51020faf , < 2b825efb0577a32a872e872a869e0947cf9dd6d3 (git)
Affected: f8cba47344f794b54373189bec23195b51020faf , < ea5021e911d3479346a75ac9b7d9dcd751b0fb99 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.13
Unaffected: 0 , < 5.13 (semver)
Unaffected: 5.15.86 , ≤ 5.15.* (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
guessed 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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50861",
      "date": "2026-09-17",
      "epss": "0.00566",
      "percentile": "0.45573"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50861\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:00.893\",\"lastModified\":\"2026-08-04T10:18:24.693\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/nfsd/nfs2acl.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6677b0d16abe77702040768c96e2ea17cd5b3f6e\",\"lessThan\":\"a20b0abab966a189a79aba6ebf41f59024a3224d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f8cba47344f794b54373189bec23195b51020faf\",\"lessThan\":\"5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f8cba47344f794b54373189bec23195b51020faf\",\"lessThan\":\"d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f8cba47344f794b54373189bec23195b51020faf\",\"lessThan\":\"2b825efb0577a32a872e872a869e0947cf9dd6d3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f8cba47344f794b54373189bec23195b51020faf\",\"lessThan\":\"ea5021e911d3479346a75ac9b7d9dcd751b0fb99\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/nfsd/nfs2acl.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.13\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.13\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.86\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0.16\",\"lessThanOrEqual\":\"6.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.2\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2b825efb0577a32a872e872a869e0947cf9dd6d3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a20b0abab966a189a79aba6ebf41f59024a3224d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ea5021e911d3479346a75ac9b7d9dcd751b0fb99\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T19:34:45+00:00",
      "cve": "CVE-2022-50861",
      "id": "CVE-2022-50861",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "321",
      "product_status:known_affected": "38",
      "product_status:known_not_affected": "118",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: NFSD: Finish converting the NFSv2 GETACL result encoder",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50861.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-02T01:59:19Z",
      "cve": "CVE-2022-50861",
      "id": "CVE-2022-50861",
      "initial_release_date": "2025-12-31T00:31:04Z",
      "product_status:known_affected": "354",
      "product_status:known_not_affected": "432",
      "product_status:recommended": "243",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50861",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50861.json",
      "version": "29"
    }
  }
}



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…

Detection rules are retrieved from Rulezet.

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…