{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-4001",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "dateUpdated": "2024-08-03T17:16:03.566Z",
        "dateReserved": "2021-11-22T00:00:00",
        "datePublished": "2022-01-21T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2022-10-07T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A race condition was found in the Linux kernel's ebpf verifier between bpf_map_update_elem and bpf_map_freeze due to a missing lock in kernel/bpf/syscall.c. In this flaw, a local user with a special privilege (cap_sys_admin or cap_bpf) can modify the frozen mapped address space. This flaw affects kernel versions prior to 5.16 rc2."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "kernel",
                    "versions": [
                        {
                            "version": "kernel 5.16 rc2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2025645"
                },
                {
                    "url": "https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=353050be4c19e102178ccc05988101887c25ae53"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-367",
                            "cweId": "CWE-367"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T17:16:03.566Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2025645",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=353050be4c19e102178ccc05988101887c25ae53",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}