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.
References
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 06:35
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/2f3380121d49e829fb73ba86240c181bc32ad897 - Patch | |
References | () https://git.kernel.org/stable/c/3d0163821c035040a46d816a42c0780f0f0a30a8 - Patch | |
References | () https://git.kernel.org/stable/c/96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2 - Patch | |
References | () https://git.kernel.org/stable/c/c09f11ef35955785f92369e25819bf0629df2e59 - Patch |
10 Apr 2024, 20:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/2f3380121d49e829fb73ba86240c181bc32ad897 - Patch | |
References | () https://git.kernel.org/stable/c/3d0163821c035040a46d816a42c0780f0f0a30a8 - Patch | |
References | () https://git.kernel.org/stable/c/96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2 - Patch | |
References | () https://git.kernel.org/stable/c/c09f11ef35955785f92369e25819bf0629df2e59 - Patch | |
CWE | CWE-125 | |
First Time |
Linux
Linux linux Kernel |
|
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.1 |
27 Feb 2024, 19:04
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-02-27 19:04
Updated : 2024-11-21 06:35
NVD link : CVE-2021-46952
Mitre link : CVE-2021-46952
CVE.ORG link : CVE-2021-46952
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-125
Out-of-bounds Read