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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2025-12-30T12:15:34.511Z
- Modified: 2026-08-05T08:59:50.963Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6677b0d16abe77702040768c96e2ea17cd5b3f6e before a20b0abab966a189a79aba6ebf41f59024a3224d; from f8cba47344f794b54373189bec23195b51020faf before 5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a; from f8cba47344f794b54373189bec23195b51020faf before d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a; from f8cba47344f794b54373189bec23195b51020faf before 2b825efb0577a32a872e872a869e0947cf9dd6d3; from f8cba47344f794b54373189bec23195b51020faf before ea5021e911d3479346a75ac9b7d9dcd751b0fb99; 5.13 (not affected: before 5.13; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

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

## Sources

- CVE List: [CVE-2022-50861](https://www.cve.org/CVERecord?id=CVE-2022-50861), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50861](https://nvd.nist.gov/vuln/detail/CVE-2022-50861), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50861 · Whole record: https://cve.day/CVE-2022-50861.json · Rebuilt by cve.day 2026-11-25T22:58:21.383Z
