Files
CVEs-PoC/2021/CVE-2021-46952.md
2025-09-29 21:09:30 +02:00

1.1 KiB

CVE-2021-46952

Description

In the Linux kernel, the following vulnerability has been resolved:NFS: fs_context: validate UDP retrans to prevent shift out-of-boundsFix shift out-of-bounds in xprt_calc_majortimeo(). This is causedby a garbage timeout (retrans) mount option being passed to nfs mount,in this case from syzkaller.If the protocol is XPRT_TRANSPORT_UDP, then 'retrans' is a shiftvalue for a 64-bit long integer, so 'retrans' cannot be >= 64.If it is >= 64, fail the mount and return an error.

POC

Reference

Github

No PoCs found on GitHub currently.