{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-47179",
        "ASSIGNER": "cve@kernel.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return()\n\nCommit de144ff4234f changes _pnfs_return_layout() to call\npnfs_mark_matching_lsegs_return() passing NULL as the struct\npnfs_layout_range argument. Unfortunately,\npnfs_mark_matching_lsegs_return() doesn't check if we have a value here\nbefore dereferencing it, causing an oops.\n\nI'm able to hit this crash consistently when running connectathon basic\ntests on NFS v4.1/v4.2 against Ontap."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Linux",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Linux",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "80e34f4957ec",
                                            "version_value": "4e1ba532dbc1"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "7b7b97746432",
                                            "version_value": "42637ca25c7d"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "9ffa7967f937",
                                            "version_value": "39785761fead"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "6be0e4b59314",
                                            "version_value": "aba3c7795f51"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "2fafe7d5047f",
                                            "version_value": "f9890652185b"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "7e65ea887d0c",
                                            "version_value": "b090d110e666"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "de144ff4234f",
                                            "version_value": "a421d218603f"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "4.9.269",
                                            "version_value": "4.9.271"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "4.14.233",
                                            "version_value": "4.14.235"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "4.19.191",
                                            "version_value": "4.19.193"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "5.4.118",
                                            "version_value": "5.4.124"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "5.10.36",
                                            "version_value": "5.10.42"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "5.12.3",
                                            "version_value": "5.12.9"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://git.kernel.org/stable/c/4e1ba532dbc1a0e19fc2458d74ab8d98680c4e42",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/4e1ba532dbc1a0e19fc2458d74ab8d98680c4e42"
            },
            {
                "url": "https://git.kernel.org/stable/c/42637ca25c7d7b5a92804a679af5192e8c1a9f48",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/42637ca25c7d7b5a92804a679af5192e8c1a9f48"
            },
            {
                "url": "https://git.kernel.org/stable/c/39785761feadf261bc5101372b0b0bbaf6a94494",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/39785761feadf261bc5101372b0b0bbaf6a94494"
            },
            {
                "url": "https://git.kernel.org/stable/c/aba3c7795f51717ae316f3566442dee7cc3eeccb",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/aba3c7795f51717ae316f3566442dee7cc3eeccb"
            },
            {
                "url": "https://git.kernel.org/stable/c/f9890652185b72b8de9ebeb4406037640b6e1b53",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/f9890652185b72b8de9ebeb4406037640b6e1b53"
            },
            {
                "url": "https://git.kernel.org/stable/c/b090d110e66636bca473fd8b98d5c97b555a965a",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/b090d110e66636bca473fd8b98d5c97b555a965a"
            },
            {
                "url": "https://git.kernel.org/stable/c/a421d218603ffa822a0b8045055c03eae394a7eb",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/a421d218603ffa822a0b8045055c03eae394a7eb"
            }
        ]
    },
    "generator": {
        "engine": "bippy-a5840b7849dd"
    }
}