{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-40993",
        "ASSIGNER": "cve@kernel.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "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()."
            }
        ]
    },
    "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": "c0761d1f1ce1",
                                            "version_value": "3799d02ae420"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "93b53c202b51",
                                            "version_value": "72d961196886"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "0f1bb77c6d83",
                                            "version_value": "523bed6489e0"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "390b353d1a1d",
                                            "version_value": "788d585e62f4"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "2ba35b37f780",
                                            "version_value": "94dd411c18d7"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "90ae20d47de6",
                                            "version_value": "3fc09e1ca854"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "4e7aaa6b82d6",
                                            "version_value": "8ecd06277a76"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "6.1.95",
                                            "version_value": "6.1.96"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "6.6.35",
                                            "version_value": "6.6.36"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "6.9.6",
                                            "version_value": "6.9.7"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1"
            },
            {
                "url": "https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a"
            },
            {
                "url": "https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2"
            },
            {
                "url": "https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33"
            },
            {
                "url": "https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4"
            },
            {
                "url": "https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5"
            },
            {
                "url": "https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6"
            }
        ]
    },
    "generator": {
        "engine": "bippy-c9c4e1df01b2"
    }
}