CVE-2021-46952

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductLinux Kernel
PublishedFeb 27, 2024
First seenFeb 27, 2024

How to fix

Update
  • linux linux_kernel5.10.36, 5.11.20, 5.12.3 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.6.0 ≤ v < 5.10.36, 5.11.0 ≤ v < 5.11.20, 5.12.0 ≤ v < 5.12.35.10.36, 5.11.20, 5.12.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.