2084AI Security Observatory

CVE

CVE-2021-46952

CVE-2021-46952HIGH 7.1EPSS 21%

CNA description

In the Linux kernel, the following vulnerability has been resolved: NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds Fix shift out-of-bounds in xprt_calc_majortimeo(). This is caused by 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 shift value for a 64-bit long integer, so 'retrans' cannot be >= 64. If it is >= 64, fail the mount and return an error.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 5.12.0, < 5.12.3Fixed in 5.12.3
  • ≥ 5.11.0, < 5.11.20Fixed in 5.11.20
  • ≥ 5.6.0, < 5.10.36Fixed in 5.10.36

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.