CVE-2024-41052 vfio/pci: Init the count variable in collecting hot-reset devices
An uninitialized variable in the Linux kernel VFIO PCI driver can cause userspace crashes when hot-reset information is collected.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-41052?
CVE-2024-41052 is a medium-severity vulnerability in Linux kernel, published on 29 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
vfio/pci: Init the count variable in collecting hot-reset devices
The count variable is used without initialization, it results in mistakes in the device counting and crashes the userspace if the get hot reset info path is triggered.
Weakness: CWE-908
Which versions are affected by CVE-2024-41052?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-41052?
Apply the vendor's patch.
Is CVE-2024-41052 being exploited?
There is no known exploitation of CVE-2024-41052 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2024-41052, GHSA-rhm4-r455-38cm, UBUNTU-CVE-2024-41052.