CVE-2021-47179

Source
https://cve.org/CVERecord?id=CVE-2021-47179
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47179.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47179
Downstream
Related
Published
2024-03-25T10:15:09.317Z
Modified
2026-03-15T22:43:07.297821Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

NFSv4: Fix a NULL pointer dereference in pnfsmarkmatchinglsegsreturn()

Commit de144ff4234f changes pnfsreturnlayout() to call pnfsmarkmatchinglsegsreturn() passing NULL as the struct pnfslayoutrange argument. Unfortunately, pnfsmarkmatchinglsegs_return() doesn't check if we have a value here before dereferencing it, causing an oops.

I'm able to hit this crash consistently when running connectathon basic tests on NFS v4.1/v4.2 against Ontap.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47179.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "4.9.269"
            },
            {
                "fixed": "4.9.271"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.14.233"
            },
            {
                "fixed": "4.14.235"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.19.191"
            },
            {
                "fixed": "4.19.193"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.4.118"
            },
            {
                "fixed": "5.4.124"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.10.36"
            },
            {
                "fixed": "5.10.42"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.12.3"
            },
            {
                "fixed": "5.12.9"
            }
        ]
    }
]