CVE-2021-46952

Source
https://cve.org/CVERecord?id=CVE-2021-46952
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46952.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-46952
Downstream
Published
2024-02-27T19:04:06.517Z
Modified
2026-03-14T11:18:50.481544Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 xprtcalcmajortimeo(). This is caused by a garbage timeout (retrans) mount option being passed to nfs mount, in this case from syzkaller.

If the protocol is XPRTTRANSPORTUDP, 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

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46952.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "5.6.0"
            },
            {
                "fixed": "5.10.36"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.11.0"
            },
            {
                "fixed": "5.11.20"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.12.0"
            },
            {
                "fixed": "5.12.3"
            }
        ]
    }
]