CVE-2021-46952
publishedNFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9954bf92c0cddd50a2a470be302e1c1ffdf21d42 to < 96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2 · 9954bf92c0cddd50a2a470be302e1c1ffdf21d42 to < 2f3380121d49e829fb73ba86240c181bc32ad897 · 9954bf92c0cddd50a2a470be302e1c1ffdf21d42 to < 3d0163821c035040a46d816a42c0780f0f0a30a8 · 9954bf92c0cddd50a2a470be302e1c1ffdf21d42 to < c09f11ef35955785f92369e25819bf0629df2e59 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 5.10.36 through 5.10.* (unaffected · semver) · 5.11.20 through 5.11.* (unaffected · semver) · 5.12.3 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-002 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9954bf92c0cddd50a2a470be302e1c1ffdf21d42 to < 96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2 (affected · git)9954bf92c0cddd50a2a470be302e1c1ffdf21d42 to < 2f3380121d49e829fb73ba86240c181bc32ad897 (affected · git)9954bf92c0cddd50a2a470be302e1c1ffdf21d42 to < 3d0163821c035040a46d816a42c0780f0f0a30a8 (affected · git)9954bf92c0cddd50a2a470be302e1c1ffdf21d42 to < c09f11ef35955785f92369e25819bf0629df2e59 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.6 (affected)0 to < 5.6 (unaffected · semver)5.10.36 through 5.10.* (unaffected · semver)5.11.20 through 5.11.* (unaffected · semver)5.12.3 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ff75bda5cfdbe39121c45732220ff5a06dec2ae1956df5b06d352d5ed7d49ef6
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record