CVE-2021-46952

NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds

published February 27, 2024

CVSS
—
EPSS
0%
Percentile
19.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00281 · 19.6th percentile
Published
2024-02-27T18:40Z
EPSS history
Timeline
  • 27 FEB 18:40Z
    NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
    cvelistv5