{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/pci: Init the count variable in collecting hot-reset devices\n\nThe count variable is used without initialization, it results in mistakes\nin the device counting and crashes the userspace if the get hot reset info\npath is triggered."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/vfio/pci/vfio_pci_core.c"
               ],
               "versions": [
                  {
                     "version": "618fbf4c910a",
                     "lessThan": "f476dffc52ea",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9313244c26f3",
                     "lessThan": "f44136b96522",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f6944d4a0b87",
                     "lessThan": "5a88a3f67e37",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/vfio/pci/vfio_pci_core.c"
               ],
               "versions": [
                  {
                     "version": "6.6.36",
                     "lessThan": "6.6.41",
                     "status": "affected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.9.7",
                     "lessThan": "6.9.10",
                     "status": "affected",
                     "versionType": "custom"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/f476dffc52ea70745dcabf63288e770e50ac9ab3"
            },
            {
               "url": "https://git.kernel.org/stable/c/f44136b9652291ac1fc39ca67c053ac624d0d11b"
            },
            {
               "url": "https://git.kernel.org/stable/c/5a88a3f67e37e39f933b38ebb4985ba5822e9eca"
            }
         ],
         "title": "vfio/pci: Init the count variable in collecting hot-reset devices",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-41052",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
