CVE-2021-46952
HIGH 7.1CVSS 3.1In 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.
- Published
- 27 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-125
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.6.0, < 5.10.36 | 5.10.36 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11.0, < 5.11.20 | 5.11.20 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.12.0, < 5.12.3 | 5.12.3 |
References
- https://git.kernel.org/stable/c/2f3380121d49e829fb73ba86240c181bc32ad897 · Patch
- https://git.kernel.org/stable/c/3d0163821c035040a46d816a42c0780f0f0a30a8 · Patch
- https://git.kernel.org/stable/c/96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2 · Patch
- https://git.kernel.org/stable/c/c09f11ef35955785f92369e25819bf0629df2e59 · Patch
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 27 Feb 2024)