{"id":"CVE-2021-46952","published":"2024-02-27T18:40:35Z","modified":"2026-05-11T13:45:06Z","title":"NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: fs_context: validate UDP retrans to prevent shift out-of-bounds\n\nFix shift out-of-bounds in xprt_calc_majortimeo(). This is caused\nby a garbage timeout (retrans) mount option being passed to nfs mount,\nin this case from syzkaller.\n\nIf the protocol is XPRT_TRANSPORT_UDP, then 'retrans' is a shift\nvalue for a 64-bit long integer, so 'retrans' cannot be >= 64.\nIf it is >= 64, fail the mount and return an error.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00281,"percentile":0.13244,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2","tags":[]},{"url":"https://git.kernel.org/stable/c/2f3380121d49e829fb73ba86240c181bc32ad897","tags":[]},{"url":"https://git.kernel.org/stable/c/3d0163821c035040a46d816a42c0780f0f0a30a8","tags":[]},{"url":"https://git.kernel.org/stable/c/c09f11ef35955785f92369e25819bf0629df2e59","tags":[]}],"priority":{"score":2.6,"factors":[{"name":"EPSS percentile","points":2.65}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9954bf92c0cddd50a2a470be302e1c1ffdf21d42, < 96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2",">= 9954bf92c0cddd50a2a470be302e1c1ffdf21d42, < 2f3380121d49e829fb73ba86240c181bc32ad897",">= 9954bf92c0cddd50a2a470be302e1c1ffdf21d42, < 3d0163821c035040a46d816a42c0780f0f0a30a8",">= 9954bf92c0cddd50a2a470be302e1c1ffdf21d42, < c09f11ef35955785f92369e25819bf0629df2e59"]},{"vendor":"Linux","product":"Linux","versions":["5.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-27T20:13:18.077870Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33600","exploited":false,"provenance":"source"}}