# CVE-2024-46762: xen: privcmd: Fix possible access to a freed kirqfd instance

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-09-18T07:12:21.854Z
- Modified: 2026-08-05T11:38:24.559Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before e997b357b13a7d95de31681fc54fcc34235fa527; from f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before 112fd2f02b308564724b8e81006c254d20945c4b; from f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before 611ff1b1ae989a7bcce3e2a8e132ee30e968c557; 6.6 (not affected: before 6.6; from 6.6.51 up to 6.6.*; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 6.6.51; from 6.7 before 6.10.10

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e997b357b13a7d95de31681fc54fcc34235fa527> (patch)
- <https://git.kernel.org/stable/c/112fd2f02b308564724b8e81006c254d20945c4b> (patch)
- <https://git.kernel.org/stable/c/611ff1b1ae989a7bcce3e2a8e132ee30e968c557> (patch)

## Sources

- CVE List: [CVE-2024-46762](https://www.cve.org/CVERecord?id=CVE-2024-46762), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46762](https://nvd.nist.gov/vuln/detail/CVE-2024-46762), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46762 · Whole record: https://cve.day/CVE-2024-46762.json · Rebuilt by cve.day 2026-11-25T22:58:45.559Z
