CVE-2024-47748·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: vhost_vdpa: assign irq bypass producer token correctly We used to call irq_bypass_unregister_producer() in vhost_vdpa_setup_vq_irq() which is problematic as we don't know if the token pointer is still valid or not. Actually, we use the eventfd_ctx as the token so the life cycle of the token should be bound to the VHOST_SET_VRING_CALL instead of vhost_vdpa_setup_vq_irq() which could be called by set_status(). Fixing this by setting up irq bypass producer's token when handling VHOST_SET_VRING_CALL and un-registering the producer before calling vhost_vring_ioctl() to prevent a possible use after free as eventfd could have been released in vhost_vring_ioctl(). And such registering and unregistering will only be done if DRIVER_OK is set.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.11.2
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — in the bottom 1% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2024-47748 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.11
Until: 6.11.2
Fixed in: 6.11.2
How to fix this CVE
Update your Linux kernel to version 6.11.2 or later to fix a use-after-free vulnerability in the vhost_vdpa driver's IRQ bypass producer token handling. This vulnerability affects kernel versions 6.11 through 6.11.1 and requires immediate patching on systems using virtual host vDPA devices. Apply the kernel update through your distribution's package manager and reboot to activate the fixed kernel.
sudo dnf update kernel kernel-headers kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r (should be 6.11.2 or higher if patched)
- Verify vhost_vdpa module presence: lsmod | grep vhost_vdpa (indicates if feature is in use)
- Check for vDPA device assignments: cat /proc/devices | grep vdpa (confirms vDPA usage on the system)
- After updating, reboot and confirm new kernel version with: uname -r
FAQ
What is CVE-2024-47748?
This vulnerability is a use-after-free condition in the Linux kernel's vhost_vdpa driver where the IRQ bypass producer token lifecycle was incorrectly managed, potentially allowing memory corruption when virtual host vDPA devices are reconfigured.
Is CVE-2024-47748 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-47748?
Linux kernel versions 6.11, 6.11.1, and 6.11.2 (pre-patch) are affected. The vulnerability was fixed in kernel 6.11.2 and later.
How do I check if my server is vulnerable to CVE-2024-47748?
Run 'uname -r' to display your kernel version; if it shows 6.11.0, 6.11.1, or earlier 6.11.x versions before 6.11.2, your system is vulnerable.
Does Defensia detect CVE-2024-47748?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-47748 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/02e9e9366fefe461719da5d173385b6685f70319
- https://git.kernel.org/stable/c/0c170b1e918b9afac25e2bbd01eaa2bfc0ece8c0
- https://git.kernel.org/stable/c/7cf2fb51175cafe01df8c43fa15a06194a59c6e2
- https://git.kernel.org/stable/c/927a2580208e0f9b0b47b08f1c802b7233a7ba3c
- https://git.kernel.org/stable/c/ca64edd7ae93402af2596a952e0d94d545e2b9c0
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-47748. Free for 1 server.
Get started free