{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: fix performance regression in swap operation\n\nThe patch \"netfilter: ipset: fix race condition between swap/destroy\nand kernel side add/del/test\", commit 28628fa9 fixes a race condition.\nBut the synchronize_rcu() added to the swap function unnecessarily slows\nit down: it can safely be moved to destroy and use call_rcu() instead.\n\nEric Dumazet pointed out that simply calling the destroy functions as\nrcu callback does not work: sets with timeout use garbage collectors\nwhich need cancelling at destroy which can wait. Therefore the destroy\nfunctions are split into two: cancelling garbage collectors safely at\nexecuting the command received by netlink and moving the remaining\npart only into the rcu callback."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "include/linux/netfilter/ipset/ip_set.h",
                  "net/netfilter/ipset/ip_set_bitmap_gen.h",
                  "net/netfilter/ipset/ip_set_core.c",
                  "net/netfilter/ipset/ip_set_hash_gen.h",
                  "net/netfilter/ipset/ip_set_list_set.c"
               ],
               "versions": [
                  {
                     "version": "427deb5ba566",
                     "lessThan": "c7f2733e5011",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "e7152a138a5a",
                     "lessThan": "a24d5f2ac8ef",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "8bb930c3a1ea",
                     "lessThan": "c2dc077d8f72",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "875ee3a09e27",
                     "lessThan": "653bc5e6d999",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "23c31036f862",
                     "lessThan": "b93a6756a01f",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "28628fa952fe",
                     "lessThan": "970709a67696",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "28628fa952fe",
                     "lessThan": "97f7cf1cd80e",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "include/linux/netfilter/ipset/ip_set.h",
                  "net/netfilter/ipset/ip_set_bitmap_gen.h",
                  "net/netfilter/ipset/ip_set_core.c",
                  "net/netfilter/ipset/ip_set_hash_gen.h",
                  "net/netfilter/ipset/ip_set_list_set.c"
               ],
               "versions": [
                  {
                     "version": "6.7",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "6.7",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.269",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.210",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.149",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.79",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.18",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.7.6",
                     "lessThanOrEqual": "6.7.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225"
            },
            {
               "url": "https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05"
            },
            {
               "url": "https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49"
            },
            {
               "url": "https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c"
            },
            {
               "url": "https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397"
            },
            {
               "url": "https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb"
            },
            {
               "url": "https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001"
            }
         ],
         "title": "netfilter: ipset: fix performance regression in swap operation",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-26910",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
