{"api_version":"1","generated_at":"2026-06-04T05:24:04+00:00","cve":"CVE-2024-40993","urls":{"html":"https://cve.report/CVE-2024-40993","api":"https://cve.report/api/cve/CVE-2024-40993.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-40993","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-40993"},"summary":{"title":"netfilter: ipset: Fix suspicious rcu_dereference_protected()","description":"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().","state":"PUBLISHED","assigner":"Linux","published_at":"2024-07-12 13:15:20","updated_at":"2026-05-12 12:17:01"},"problem_types":["NVD-CWE-noinfo"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4","name":"https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6","name":"https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a","name":"https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5","name":"https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33","name":"https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1","name":"https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2","name":"https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","name":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-40993","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40993","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c0761d1f1ce1d5b85b5e82bbb714df12de1aa8c3 3799d02ae4208af08e81310770d8754863a246a1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 93b53c202b51a69e42ca57f5a183f7e008e19f83 72d9611968867cc4c5509e7708b1507d692b797a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0f1bb77c6d837c9513943bc7c08f04c5cc5c6568 523bed6489e089dd8040e72453fb79da47b144c2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 390b353d1a1da3e9c6c0fd14fe650d69063c95d6 788d585e62f487bc4536d454937f737b70d39a33 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2ba35b37f780c6410bb4bba9c3072596d8576702 94dd411c18d7fff9e411555d5c662d29416501e4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 90ae20d47de602198eb69e6cd7a3db3420abfc08 3fc09e1ca854bc234e007a56e0f7431f5e2defb5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4e7aaa6b82d63e8ddcbfb56b4fd3d014ca586f10 8ecd06277a7664f4ef018abae3abd3451d64e7a6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.95 6.1.96 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.35 6.6.36 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.9.6 6.9.7 semver","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","version":"affected * custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2024","cve_id":"40993","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"6.1.95","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2024","cve_id":"40993","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"6.10","cpe7":"rc4","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2024","cve_id":"40993","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"6.6.35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2024","cve_id":"40993","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"6.9.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2024","cve_id":"40993","cve":"CVE-2024-40993","epss":"0.000270000","percentile":"0.077810000","score_date":"2026-05-12","updated_at":"2026-05-13 00:11:53"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2025-11-03T21:58:56.686Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_transferred"],"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"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"title":"CVE Program Container"},{"metrics":[{"other":{"content":{"id":"CVE-2024-40993","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2024-09-10T17:01:41.687653Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2024-09-11T17:34:20.022Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"affected":[{"defaultStatus":"unknown","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"0","versionType":"custom"}]}],"providerMetadata":{"dateUpdated":"2026-05-12T11:56:05.682Z","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP"},"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"}],"x_adpType":"supplier"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/netfilter/ipset/ip_set_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3799d02ae4208af08e81310770d8754863a246a1","status":"affected","version":"c0761d1f1ce1d5b85b5e82bbb714df12de1aa8c3","versionType":"git"},{"lessThan":"72d9611968867cc4c5509e7708b1507d692b797a","status":"affected","version":"93b53c202b51a69e42ca57f5a183f7e008e19f83","versionType":"git"},{"lessThan":"523bed6489e089dd8040e72453fb79da47b144c2","status":"affected","version":"0f1bb77c6d837c9513943bc7c08f04c5cc5c6568","versionType":"git"},{"lessThan":"788d585e62f487bc4536d454937f737b70d39a33","status":"affected","version":"390b353d1a1da3e9c6c0fd14fe650d69063c95d6","versionType":"git"},{"lessThan":"94dd411c18d7fff9e411555d5c662d29416501e4","status":"affected","version":"2ba35b37f780c6410bb4bba9c3072596d8576702","versionType":"git"},{"lessThan":"3fc09e1ca854bc234e007a56e0f7431f5e2defb5","status":"affected","version":"90ae20d47de602198eb69e6cd7a3db3420abfc08","versionType":"git"},{"lessThan":"8ecd06277a7664f4ef018abae3abd3451d64e7a6","status":"affected","version":"4e7aaa6b82d63e8ddcbfb56b4fd3d014ca586f10","versionType":"git"}]},{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/netfilter/ipset/ip_set_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6.1.96","status":"affected","version":"6.1.95","versionType":"semver"},{"lessThan":"6.6.36","status":"affected","version":"6.6.35","versionType":"semver"},{"lessThan":"6.9.7","status":"affected","version":"6.9.6","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.96","versionStartIncluding":"6.1.95","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.36","versionStartIncluding":"6.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.9.7","versionStartIncluding":"6.9.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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()."}],"providerMetadata":{"dateUpdated":"2026-05-11T20:23:52.803Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2024-40993","datePublished":"2024-07-12T12:37:36.453Z","dateReserved":"2024-07-12T12:17:45.606Z","dateUpdated":"2026-05-12T11:56:05.682Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-07-12 13:15:20","lastModifiedDate":"2026-05-12 12:17:01","problem_types":["NVD-CWE-noinfo"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.1.95:*:*:*:*:*:*:*","matchCriteriaId":"C8C0F47F-CC5A-4962-A13F-F2632DEBE9D0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.6.35:*:*:*:*:*:*:*","matchCriteriaId":"24BA51FC-6014-49BB-A4E3-0C0211421E38"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.9.6:*:*:*:*:*:*:*","matchCriteriaId":"BA2678D2-361E-4A41-AD4D-DBFA70AD14D4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*","matchCriteriaId":"79F18AFA-40F7-43F0-BA30-7BDB65F918B9"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"40993","Ordinal":"1","Title":"netfilter: ipset: Fix suspicious rcu_dereference_protected()","CVE":"CVE-2024-40993","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"40993","Ordinal":"1","NoteData":"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().","Type":"Description","Title":"netfilter: ipset: Fix suspicious rcu_dereference_protected()"}]}}}