CVE-2022-50861

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux6677b0d16abe77702040768c96e2ea17cd5b3f6e < a20b0abab966a189a79aba6ebf41f59024a3224daffected
LinuxLinuxf8cba47344f794b54373189bec23195b51020faf < 5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377aaffected
LinuxLinuxf8cba47344f794b54373189bec23195b51020faf < d5b867fd2d7f79630b1a2906a7bb4f4b75bf297aaffected
LinuxLinuxf8cba47344f794b54373189bec23195b51020faf < 2b825efb0577a32a872e872a869e0947cf9dd6d3affected
LinuxLinuxf8cba47344f794b54373189bec23195b51020faf < ea5021e911d3479346a75ac9b7d9dcd751b0fb99affected
LinuxLinux5.13affected
LinuxLinux0 < 5.13unaffected
LinuxLinux5.15.86 <= 5.15.*unaffected
LinuxLinux6.0.16 <= 6.0.*unaffected
LinuxLinux6.1.2 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

References