cve-2024-40993
Vulnerability from cvelistv5
Published
2024-07-12 12:37
Modified
2025-05-04 09:19
Severity ?
Summary
netfilter: ipset: Fix suspicious rcu_dereference_protected()
Impacted products
LinuxLinux
LinuxLinux
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T04:39:56.065Z",
          "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"
          }
        ],
        "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"
      }
    ],
    "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": "2025-05-04T09:19:33.775Z",
        "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": "2025-05-04T09:19:33.775Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-40993\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-07-12T13:15:20.553\",\"lastModified\":\"2024-07-12T16:34:58.687\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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().\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: netfilter: ipset: corrige rcu_dereference_protected() sospechoso Al destruir todos los conjuntos, estamos en la fase de salida de pernet o estamos ejecutando un \\\"comando de destruir todos los conjuntos\\\" desde el espacio de usuario. Este \u00faltimo se tuvo en cuenta en ip_set_dereference() (se mantiene el mutex de nfnetlink), pero el primero no. El parche agrega la verificaci\u00f3n requerida a rcu_dereference_protected() en ip_set_dereference().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.