{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/srpt: Do not register event handler until srpt device is fully setup\n\nUpon rare occasions, KASAN reports a use-after-free Write\nin srpt_refresh_port().\n\nThis seems to be because an event handler is registered before the\nsrpt device is fully setup and a race condition upon error may leave a\npartially setup event handler in place.\n\nInstead, only register the event handler after srpt device initialization\nis complete."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/infiniband/ulp/srpt/ib_srpt.c"
               ],
               "versions": [
                  {
                     "version": "a42d985bd5b2",
                     "lessThan": "bdd895e0190c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a42d985bd5b2",
                     "lessThan": "6413e78086ca",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a42d985bd5b2",
                     "lessThan": "e362d0072949",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a42d985bd5b2",
                     "lessThan": "85570b91e482",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a42d985bd5b2",
                     "lessThan": "7104a00fa37a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a42d985bd5b2",
                     "lessThan": "ec77fa12da41",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "a42d985bd5b2",
                     "lessThan": "c21a8870c986",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/infiniband/ulp/srpt/ib_srpt.c"
               ],
               "versions": [
                  {
                     "version": "3.3",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "3.3",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.214",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.153",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.83",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.23",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.7.11",
                     "lessThanOrEqual": "6.7.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8.2",
                     "lessThanOrEqual": "6.8.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.9",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/bdd895e0190c464f54f84579e7535d80276f0fc5"
            },
            {
               "url": "https://git.kernel.org/stable/c/6413e78086caf7bf15639923740da0d91fdfd090"
            },
            {
               "url": "https://git.kernel.org/stable/c/e362d007294955a4fb929e1c8978154a64efdcb6"
            },
            {
               "url": "https://git.kernel.org/stable/c/85570b91e4820a0db9d9432098778cafafa7d217"
            },
            {
               "url": "https://git.kernel.org/stable/c/7104a00fa37ae898a827381f1161fa3286c8b346"
            },
            {
               "url": "https://git.kernel.org/stable/c/ec77fa12da41260c6bf9e060b89234b980c5130f"
            },
            {
               "url": "https://git.kernel.org/stable/c/c21a8870c98611e8f892511825c9607f1e2cd456"
            }
         ],
         "title": "RDMA/srpt: Do not register event handler until srpt device is fully setup",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-26872",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
