What’s Vulnerable › Vulnerabilities
CVE-2024-46762: xen: privcmd: Fix possible access to a freed kirqfd instance
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-18 · updated 2026-08-04
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: xen: privcmd: Fix possible access to a freed kirqfd instance Nothing prevents simultaneous ioctl calls to privcmd_irqfd_assign() and privcmd_irqfd_deassign(). If that happens, it is possible that a kirqfd created and added to the irqfds_list by privcmd_irqfd_assign() may get removed by another thread executing privcmd_irqfd_deassign(), while the former is still using it after dropping the locks. This can lead to a situation where an already freed kirqfd instance may be accessed and cause kernel oops. Use SRCU locking to prevent the same, as is done for the KVM implementation for irqfds.
Affected products
- Linux kernel: before 6.6.51; from 6.7 before 6.10.10 — fixed in 6.10.10, 6.6.51
How to fix
Upgrade to a fixed version: Linux kernel 6.10.10, 6.6.51. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/112fd2f02b308564724b8e81006c254d20945c4b
- https://git.kernel.org/stable/c/611ff1b1ae989a7bcce3e2a8e132ee30e968c557
- https://git.kernel.org/stable/c/e997b357b13a7d95de31681fc54fcc34235fa527
Get alerted when CVE-2024-46762 or the next vulnerability affects your stack