{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-46952","id":"CVE-2021-46952","title":"NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds","description":"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 integ","descriptionLong":"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.","published":"2024-02-27T18:40:35.343Z","updated":"2026-06-17T04:15:57.717Z","reserved":"2024-02-25T13:45:52.722Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9954bf92c0cddd50a2a470be302e1c1ffdf21d42","lessThan":"96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2","status":"affected","versionType":"git"},{"version":"9954bf92c0cddd50a2a470be302e1c1ffdf21d42","lessThan":"2f3380121d49e829fb73ba86240c181bc32ad897","status":"affected","versionType":"git"},{"version":"9954bf92c0cddd50a2a470be302e1c1ffdf21d42","lessThan":"3d0163821c035040a46d816a42c0780f0f0a30a8","status":"affected","versionType":"git"},{"version":"9954bf92c0cddd50a2a470be302e1c1ffdf21d42","lessThan":"c09f11ef35955785f92369e25819bf0629df2e59","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","lessThan":"5.6","status":"unaffected","versionType":"semver"},{"version":"5.10.36","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.11.20","lessThanOrEqual":"5.11.*","status":"unaffected","versionType":"semver"},{"version":"5.12.3","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/2f3380121d49e829fb73ba86240c181bc32ad897","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/3d0163821c035040a46d816a42c0780f0f0a30a8","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/c09f11ef35955785f92369e25819bf0629df2e59","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00281,"epssPercentile":0.20982,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-46952","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46952","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-46952","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-46952","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}