{"id":"CVE-2024-41052","state":"PUBLISHED","title":"vfio/pci: Init the count variable in collecting hot-reset devices","description":"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.","publishedAt":"2024-07-29T14:32:08.262Z","updatedAt":"2026-05-11T20:25:16.231Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"618fbf4c910a06a3aa6a8b88a5fb1f2197f964f3","status":"affected","lessThan":"f476dffc52ea70745dcabf63288e770e50ac9ab3","versionType":"git"},{"version":"9313244c26f3792daa86f3a18cc3bd5ad60310e0","status":"affected","lessThan":"f44136b9652291ac1fc39ca67c053ac624d0d11b","versionType":"git"},{"version":"f6944d4a0b87c16bc34ae589169e1ded3d4db08e","status":"affected","lessThan":"5a88a3f67e37e39f933b38ebb4985ba5822e9eca","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vfio/pci/vfio_pci_core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6.6.36","status":"affected","lessThan":"6.6.41","versionType":"semver"},{"version":"6.9.7","status":"affected","lessThan":"6.9.10","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vfio/pci/vfio_pci_core.c"]}],"references":["https://git.kernel.org/stable/c/f476dffc52ea70745dcabf63288e770e50ac9ab3","https://git.kernel.org/stable/c/f44136b9652291ac1fc39ca67c053ac624d0d11b","https://git.kernel.org/stable/c/5a88a3f67e37e39f933b38ebb4985ba5822e9eca"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/41xxx/CVE-2024-41052.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-41052","state":"PUBLISHED","datePublished":"2024-07-29T14:32:08.262Z","dateUpdated":"2026-05-11T20:25:16.231Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-07-12T12:17:45.626Z"},"containers":{"cna":{"title":"vfio/pci: Init the count variable in collecting hot-reset devices","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":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"618fbf4c910a06a3aa6a8b88a5fb1f2197f964f3","status":"affected","lessThan":"f476dffc52ea70745dcabf63288e770e50ac9ab3","versionType":"git"},{"version":"9313244c26f3792daa86f3a18cc3bd5ad60310e0","status":"affected","lessThan":"f44136b9652291ac1fc39ca67c053ac624d0d11b","versionType":"git"},{"version":"f6944d4a0b87c16bc34ae589169e1ded3d4db08e","status":"affected","lessThan":"5a88a3f67e37e39f933b38ebb4985ba5822e9eca","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vfio/pci/vfio_pci_core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6.6.36","status":"affected","lessThan":"6.6.41","versionType":"semver"},{"version":"6.9.7","status":"affected","lessThan":"6.9.10","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vfio/pci/vfio_pci_core.c"]}],"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"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:25:16.231Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.36","versionEndExcluding":"6.6.41"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9.7","versionEndExcluding":"6.9.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/f476dffc52ea70745dcabf63288e770e50ac9ab3","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/f44136b9652291ac1fc39ca67c053ac624d0d11b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/5a88a3f67e37e39f933b38ebb4985ba5822e9eca","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:46:51.022Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-41052","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:22:38.248336Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:01.796Z"}}]}}}