{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2021-47179",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-03-25T09:12:14.112Z",
        "datePublished": "2024-03-25T09:16:28.787Z",
        "dateUpdated": "2024-08-04T05:32:07.318Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2024-05-29T05:03:25.920Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/nfs/pnfs.c"
                    ],
                    "versions": [
                        {
                            "version": "80e34f4957ec",
                            "lessThan": "4e1ba532dbc1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7b7b97746432",
                            "lessThan": "42637ca25c7d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9ffa7967f937",
                            "lessThan": "39785761fead",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6be0e4b59314",
                            "lessThan": "aba3c7795f51",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2fafe7d5047f",
                            "lessThan": "f9890652185b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7e65ea887d0c",
                            "lessThan": "b090d110e666",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "de144ff4234f",
                            "lessThan": "a421d218603f",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/nfs/pnfs.c"
                    ],
                    "versions": [
                        {
                            "version": "4.9.269",
                            "lessThan": "4.9.271",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "4.14.233",
                            "lessThan": "4.14.235",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "4.19.191",
                            "lessThan": "4.19.193",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.4.118",
                            "lessThan": "5.4.124",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.10.36",
                            "lessThan": "5.10.42",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "5.12.3",
                            "lessThan": "5.12.9",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/4e1ba532dbc1a0e19fc2458d74ab8d98680c4e42"
                },
                {
                    "url": "https://git.kernel.org/stable/c/42637ca25c7d7b5a92804a679af5192e8c1a9f48"
                },
                {
                    "url": "https://git.kernel.org/stable/c/39785761feadf261bc5101372b0b0bbaf6a94494"
                },
                {
                    "url": "https://git.kernel.org/stable/c/aba3c7795f51717ae316f3566442dee7cc3eeccb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f9890652185b72b8de9ebeb4406037640b6e1b53"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b090d110e66636bca473fd8b98d5c97b555a965a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a421d218603ffa822a0b8045055c03eae394a7eb"
                }
            ],
            "title": "NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return()",
            "x_generator": {
                "engine": "bippy-a5840b7849dd"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2021-47179",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-03-25T15:17:57.286141Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-07-05T17:21:16.888Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T05:32:07.318Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/4e1ba532dbc1a0e19fc2458d74ab8d98680c4e42",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/42637ca25c7d7b5a92804a679af5192e8c1a9f48",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/39785761feadf261bc5101372b0b0bbaf6a94494",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/aba3c7795f51717ae316f3566442dee7cc3eeccb",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/f9890652185b72b8de9ebeb4406037640b6e1b53",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/b090d110e66636bca473fd8b98d5c97b555a965a",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/a421d218603ffa822a0b8045055c03eae394a7eb",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}