{"schema_version":"1.9.0","id":"CVE-2024-41052","published":"2024-07-29T14:32:08.262Z","modified":"2026-08-12T03:51:15.716991331Z","summary":"vfio/pci: Init the count variable in collecting hot-reset devices","details":"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":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"618fbf4c910a06a3aa6a8b88a5fb1f2197f964f3"},{"fixed":"f476dffc52ea70745dcabf63288e770e50ac9ab3"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9313244c26f3792daa86f3a18cc3bd5ad60310e0"},{"fixed":"f44136b9652291ac1fc39ca67c053ac624d0d11b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f6944d4a0b87c16bc34ae589169e1ded3d4db08e"},{"fixed":"5a88a3f67e37e39f933b38ebb4985ba5822e9eca"}]}],"versions":["v6.6.40","v6.6.39","v6.6.38","v6.6.37","v6.6.36","v6.9.9","v6.9.8","v6.9.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41052.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.36"},{"fixed":"6.6.41"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.9.7"},{"fixed":"6.9.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41052.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5a88a3f67e37e39f933b38ebb4985ba5822e9eca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f44136b9652291ac1fc39ca67c053ac624d0d11b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f476dffc52ea70745dcabf63288e770e50ac9ab3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41052.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41052"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41052.json"}}