# CVE-2022-50861: NFSD: Finish converting the NFSv2 GETACL result encoder

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.63% (percentile 45, 2026-11-26)
- **Published:** 2025-12-30T12:15:34.511Z
- **Modified:** 2026-08-05T08:59:50.963Z

## Who should check

- Anyone running Linux \>= 6677b0d16abe77702040768c96e2ea17cd5b3f6e, \< a20b0abab966a189a79aba6ebf41f59024a3224d; \>= f8cba47344f794b54373189bec23195b51020faf, \< 5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a; \>= f8cba47344f794b54373189bec23195b51020faf, \< d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a; \>= f8cba47344f794b54373189bec23195b51020faf, \< 2b825efb0577a32a872e872a869e0947cf9dd6d3; \>= f8cba47344f794b54373189bec23195b51020faf, \< ea5021e911d3479346a75ac9b7d9dcd751b0fb99
- Anyone running Linux 5.13

## Description

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.

## Affected and fixed versions

- Linux: \>= 6677b0d16abe77702040768c96e2ea17cd5b3f6e, \< a20b0abab966a189a79aba6ebf41f59024a3224d; \>= f8cba47344f794b54373189bec23195b51020faf, \< 5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a; \>= f8cba47344f794b54373189bec23195b51020faf, \< d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a; \>= f8cba47344f794b54373189bec23195b51020faf, \< 2b825efb0577a32a872e872a869e0947cf9dd6d3; \>= f8cba47344f794b54373189bec23195b51020faf, \< ea5021e911d3479346a75ac9b7d9dcd751b0fb99 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50861. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50861.md
Affected: Linux >= 6677b0d16abe77702040768c96e2ea17cd5b3f6e, < a20b0abab966a189a79aba6ebf41f59024a3224d; >= f8cba47344f794b54373189bec23195b51020faf, < 5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a; >= f8cba47344f794b54373189bec23195b51020faf, < d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a; >= f8cba47344f794b54373189…
Fixed in: Linux 5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a, Linux 2b825efb0577a32a872e872a869e0947cf9dd6d3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50861 being exploited?

There is no confirmed exploitation: CVE-2022-50861 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.63% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50861?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2022-50861?

Linux \>= 6677b0d16abe77702040768c96e2ea17cd5b3f6e, \< a20b0abab966a189a79aba6ebf41f59024a3224d; \>= f8cba47344f794b54373189bec23195b51020faf, \< 5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a; \>= f8cba47344f794b54373189bec23195b51020faf, \< d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a; \>= f8cba47344f794b54373189bec23195b51020faf, \< 2b825efb0577a32a872e872a869e0947cf9dd6d3; \>= f8cba47344f794b54373189bec23195b51020faf, \< ea5021e911d3479346a75ac9b7d9dcd751b0fb99; Linux 5.13.

### Is there a fix for CVE-2022-50861?

Yes. Fixed in Linux 5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a, Linux 2b825efb0577a32a872e872a869e0947cf9dd6d3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50861?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a20b0abab966a189a79aba6ebf41f59024a3224d>
- other: <https://git.kernel.org/stable/c/5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a>
- other: <https://git.kernel.org/stable/c/d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a>
- other: <https://git.kernel.org/stable/c/2b825efb0577a32a872e872a869e0947cf9dd6d3>
- other: <https://git.kernel.org/stable/c/ea5021e911d3479346a75ac9b7d9dcd751b0fb99>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50861>

HTML: <https://flawdb.com/CVE-2022-50861> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50861>
