CVE-2024-53064 idpf: fix idpf_vc_core_init error path
A null pointer dereference in the idpf driver during device reset can cause a kernel crash, leading to denial of service.
- 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-53064?
CVE-2024-53064 is a medium-severity vulnerability in Linux kernel, published on 19 Nov 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:
idpf: fix idpf_vc_core_init error path
In an event where the platform running the device control plane is rebooted, reset is detected on the driver. It releases all the resources and waits for the reset to complete. Once the reset is done, it tries to build the resources back. At this time if the device control plane is not yet started, then the driver timeouts on the virtchnl message and retries to establish the mailbox again.
In the retry flow, mailbox is deinitialized but the mailbox workqueue is still alive and polling for the mailbox message. This results in accessing the released control queue leading to null-ptr-deref. Fix it by unrolling the work queue cancellation and mailbox deinitialization in the reverse order which they got initialized.
Weakness: CWE-476
Which versions are affected by CVE-2024-53064?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-53064?
Apply the vendor's patch.
Is CVE-2024-53064 being exploited?
There is no known exploitation of CVE-2024-53064 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-53064, DEBIAN-CVE-2024-53064, GHSA-87vp-wcxm-f9g2, ROOT-OS-UBUNTU-2404-CVE-2024-53064, UBUNTU-CVE-2024-53064.