# CVE-2022-49774: KVM: x86/xen: Fix eventfd error handling in kvm_xen_eventfd_assign()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-05-01T14:09:11.188Z
- Modified: 2026-11-05T20:17:10.167Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: x86/xen: Fix eventfd error handling in kvm_xen_eventfd_assign()

Should not call eventfd_ctx_put() in case of error.

[Introduce new goto target instead. - Paolo]

(As written by CVE List.)

## Affected

- Linux Linux: from 2fd6df2f2b47d4301b1ee0fe9d627d1c061a5988 before d76f46f47dfde220712d1420ee5dbc546c8fc674; from 2fd6df2f2b47d4301b1ee0fe9d627d1c061a5988 before 7353633814f6e5b4899fb9ee1483709d6bb0e1cd; 5.19 (not affected: before 5.19; from 6.0.10 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.19 before 6.0.10; 6.1

## References

- <https://git.kernel.org/stable/c/d76f46f47dfde220712d1420ee5dbc546c8fc674> (patch)
- <https://git.kernel.org/stable/c/7353633814f6e5b4899fb9ee1483709d6bb0e1cd> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-49774 · Whole record: https://cve.day/CVE-2022-49774.json · Rebuilt by cve.day 2026-11-25T22:58:20.863Z
