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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-09-18T07:12:21.854Z
- **Modified:** 2026-08-05T11:38:24.559Z

## Who should check

- Anyone running Linux \>= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, \< e997b357b13a7d95de31681fc54fcc34235fa527; \>= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, \< 112fd2f02b308564724b8e81006c254d20945c4b; \>= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, \< 611ff1b1ae989a7bcce3e2a8e132ee30e968c557
- Anyone running Linux 6.6

## 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 and fixed versions

- Linux: \>= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, \< e997b357b13a7d95de31681fc54fcc34235fa527; \>= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, \< 112fd2f02b308564724b8e81006c254d20945c4b; \>= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, \< 611ff1b1ae989a7bcce3e2a8e132ee30e968c557 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 611ff1b1ae989a7bcce3e2a8e132ee30e968c557 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-46762. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46762.md
Affected: Linux >= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, < e997b357b13a7d95de31681fc54fcc34235fa527; >= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, < 112fd2f02b308564724b8e81006c254d20945c4b; >= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, < 611ff1b1ae989a7bcce3e2a8e132ee30e968c557; Linux 6.6
Fixed in: Linux 112fd2f02b308564724b8e81006c254d20945c4b, Linux 611ff1b1ae989a7bcce3e2a8e132ee30e968c557

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-46762 being exploited?

There is no confirmed exploitation: CVE-2024-46762 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-46762?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-46762?

Linux \>= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, \< e997b357b13a7d95de31681fc54fcc34235fa527; \>= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, \< 112fd2f02b308564724b8e81006c254d20945c4b; \>= f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6, \< 611ff1b1ae989a7bcce3e2a8e132ee30e968c557; Linux 6.6.

### Is there a fix for CVE-2024-46762?

Yes. Fixed in Linux 112fd2f02b308564724b8e81006c254d20945c4b, Linux 611ff1b1ae989a7bcce3e2a8e132ee30e968c557. Upgrade Linux to 611ff1b1ae989a7bcce3e2a8e132ee30e968c557 or later.

### How do I check if I'm affected by CVE-2024-46762?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-46762>

HTML: <https://flawdb.com/CVE-2024-46762> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-46762>
