{"id":"CVE-2021-46952","aliases":["CVE-2021-46952"],"related":[],"kind":"vulnerability","state":"published","title":"NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: NFS: fs_context: valida las retransmisiones UDP para evitar cambios fuera de los límites. Corrige cambios fuera de los límites en xprt_calc_majortimeo(). Esto se debe a que se pasa una opción de montaje de tiempo de espera de basura (retransmisión) al montaje nfs, en este caso desde syzkaller. Si el protocolo es XPRT_TRANSPORT_UDP, entonces 'retrans' es un valor de desplazamiento para un entero largo de 64 bits, por lo que 'retrans' no puede ser &gt;= 64. Si es &gt;= 64, falla el montaje y devuelve un error.","source":"nvd"}],"published":"2024-02-27T18:40:35.343Z","modified":"2026-06-17T04:15:57.717Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"9954bf92c0cddd50a2a470be302e1c1ffdf21d42","fixed":"96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2","status":"affected"},{"type":"git","introduced":"9954bf92c0cddd50a2a470be302e1c1ffdf21d42","fixed":"2f3380121d49e829fb73ba86240c181bc32ad897","status":"affected"},{"type":"git","introduced":"9954bf92c0cddd50a2a470be302e1c1ffdf21d42","fixed":"3d0163821c035040a46d816a42c0780f0f0a30a8","status":"affected"},{"type":"git","introduced":"9954bf92c0cddd50a2a470be302e1c1ffdf21d42","fixed":"c09f11ef35955785f92369e25819bf0629df2e59","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.36","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.20","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.3","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.6.0","fixed":"5.10.36"},{"status":"affected","introduced":"5.11.0","fixed":"5.11.20"},{"status":"affected","introduced":"5.12.0","fixed":"5.12.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/96fa26b74cdcf9f5c98996bf36bec9fb5b19ffe2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f3380121d49e829fb73ba86240c181bc32ad897","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3d0163821c035040a46d816a42c0780f0f0a30a8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c09f11ef35955785f92369e25819bf0629df2e59","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-27T20:13:18.077Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-46952","url":"https://www.cve.org/CVERecord?id=CVE-2021-46952","licence":"CVE Terms of Use","modified":"2026-05-11T13:45:06.243Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-46952","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46952","licence":"Public domain","modified":"2026-06-17T04:15:57.717Z"}],"updatedAt":"2026-11-25T22:58:08.583Z","epss":{"score":0.00281,"percentile":0.22142,"date":"2026-12-01T12:00:22.000Z"}}