CVE-2021-46952
Severity CVSS v4.0:
Pending analysis
Type:
CWE-125
Out-of-bounds Read
Publication date:
27/02/2024
Last modified:
10/04/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds<br />
<br />
Fix shift out-of-bounds in xprt_calc_majortimeo(). This is caused<br />
by a garbage timeout (retrans) mount option being passed to nfs mount,<br />
in this case from syzkaller.<br />
<br />
If the protocol is XPRT_TRANSPORT_UDP, then &#39;retrans&#39; is a shift<br />
value for a 64-bit long integer, so &#39;retrans&#39; cannot be >= 64.<br />
If it is >= 64, fail the mount and return an error.
Impact
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.6.0 (including) | 5.10.36 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11.0 (including) | 5.11.20 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.12.0 (including) | 5.12.3 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



