{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-40993",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-07-12T12:17:45.606Z",
        "datePublished": "2024-07-12T12:37:36.453Z",
        "dateUpdated": "2024-09-11T17:34:20.022Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2024-07-15T06:52:58.373Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: Fix suspicious rcu_dereference_protected()\n\nWhen destroying all sets, we are either in pernet exit phase or\nare executing a \"destroy all sets command\" from userspace. The latter\nwas taken into account in ip_set_dereference() (nfnetlink mutex is held),\nbut the former was not. The patch adds the required check to\nrcu_dereference_protected() in ip_set_dereference()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/netfilter/ipset/ip_set_core.c"
                    ],
                    "versions": [
                        {
                            "version": "c0761d1f1ce1",
                            "lessThan": "3799d02ae420",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "93b53c202b51",
                            "lessThan": "72d961196886",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0f1bb77c6d83",
                            "lessThan": "523bed6489e0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "390b353d1a1d",
                            "lessThan": "788d585e62f4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2ba35b37f780",
                            "lessThan": "94dd411c18d7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "90ae20d47de6",
                            "lessThan": "3fc09e1ca854",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4e7aaa6b82d6",
                            "lessThan": "8ecd06277a76",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/netfilter/ipset/ip_set_core.c"
                    ],
                    "versions": [
                        {
                            "version": "6.1.95",
                            "lessThan": "6.1.96",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.6.35",
                            "lessThan": "6.6.36",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "6.9.6",
                            "lessThan": "6.9.7",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33"
                },
                {
                    "url": "https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6"
                }
            ],
            "title": "netfilter: ipset: Fix suspicious rcu_dereference_protected()",
            "x_generator": {
                "engine": "bippy-c9c4e1df01b2"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T04:39:56.065Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-40993",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-09-10T17:01:41.687653Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-11T17:34:20.022Z"
                }
            }
        ]
    }
}