CVE-2022-49568
KVM: Don't null dereference ops->destroy
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 852b6d57dc7fa378019786fa84727036e56839ea, < 170465715a60cbb7876e6b961b21bd3225469da8; >= 852b6d57dc7fa378019786fa84727036e56839ea, < 3616776bc51cd3262bb1be60cc01c72e0a1959cf; >= 852b6d57dc7fa378019786fa84727036e56839ea, < e91665fbbf3ccb268b268a7d71a6513538d813ac; >= 852b6d57dc7fa378019786fa84727036e56839ea, < d4a5a79b780891c5cbdfdc6124d46fdf8d13dba1; >= 852b6d57dc7fa378019786fa84727036e56839ea, < e8bc2427018826e02add7b0ed0fc625a60390ae5
- Anyone running Linux 3.10
Vulnerability facts
- Affected
- Linux >= 852b6d57dc7fa378019786fa84727036e56839ea, < 170465715a60cbb7876e6b961b21bd3225469da8; >= 852b6d57dc7fa378019786fa84727036e56839ea, < 3616776bc51cd3262bb1be60cc01c72e0a1959cf; >= 852b6d57dc7fa378019786fa84727036e56839ea, < e91665fbbf3ccb268b268a7d71a6513538d813ac; >= 852b6d57dc7fa378019786fa84727036e56839ea, < d4a5a79b780891c5cbdfdc6124d46fdf8d13dba1; >= 852b6d57dc7fa378019786fa84727036e56839ea, < e8bc2427018826e02add7b0ed0fc625a60390ae5; Linux 3.10
- Fixed in
- Linux 170465715a60cbb7876e6b961b21bd3225469da8, Linux 3616776bc51cd3262bb1be60cc01c72e0a1959cf
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: Don't null dereference ops->destroy A KVM device cleanup happens in either of two callbacks: 1) destroy() which is called when the VM is being destroyed; 2) release() which is called when a device fd is closed. Most KVM devices use 1) but Book3s's interrupt controller KVM devices (XICS, XIVE, XIVE-native) use 2) as they need to close and reopen during the machine execution. The error handling in kvm_ioctl_create_device() assumes destroy() is always defined which leads to NULL dereference as discovered by Syzkaller. This adds a checks for destroy!=NULL and adds a missing release(). This is not changing kvm_destroy_devices() as devices with defined release() should have been removed from the KVM devices list by then.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 852b6d57dc7fa378019786fa84727036e56839ea, < 170465715a60cbb7876e6b961b21bd3225469da8; >= 852b6d57dc7fa378019786fa84727036e56839ea, < 3616776bc51cd3262bb1be60cc01c72e0a1959cf; >= 852b6d57dc7fa378019786fa84727036e56839ea, < e91665fbbf3ccb268b268a7d71a6513538d813ac; >= 852b6d57dc7fa378019786fa84727036e56839ea, < d4a5a79b780891c5cbdfdc6124d46fdf8d13dba1; >= 852b6d57dc7fa378019786fa84727036e56839ea, < e8bc2427018826e02add7b0ed0fc625a60390ae5 | — | cvelist |
| Linux | 3.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49568. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49568.md Affected: Linux >= 852b6d57dc7fa378019786fa84727036e56839ea, < 170465715a60cbb7876e6b961b21bd3225469da8; >= 852b6d57dc7fa378019786fa84727036e56839ea, < 3616776bc51cd3262bb1be60cc01c72e0a1959cf; >= 852b6d57dc7fa378019786fa84727036e56839ea, < e91665fbbf3ccb268b268a7d71a6513538d813ac; >= 852b6d57dc7fa378019786f… Fixed in: Linux 170465715a60cbb7876e6b961b21bd3225469da8, Linux 3616776bc51cd3262bb1be60cc01c72e0a1959cf 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.
References
Patches
- https://git.kernel.org/stable/c/170465715a60cbb7876e6b961b21bd3225469da8
- https://git.kernel.org/stable/c/3616776bc51cd3262bb1be60cc01c72e0a1959cf
- https://git.kernel.org/stable/c/e91665fbbf3ccb268b268a7d71a6513538d813ac
- https://git.kernel.org/stable/c/d4a5a79b780891c5cbdfdc6124d46fdf8d13dba1
- https://git.kernel.org/stable/c/e8bc2427018826e02add7b0ed0fc625a60390ae5
FAQ
Is CVE-2022-49568 being exploited?
There is no confirmed exploitation: CVE-2022-49568 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-2022-49568?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49568?
Linux >= 852b6d57dc7fa378019786fa84727036e56839ea, < 170465715a60cbb7876e6b961b21bd3225469da8; >= 852b6d57dc7fa378019786fa84727036e56839ea, < 3616776bc51cd3262bb1be60cc01c72e0a1959cf; >= 852b6d57dc7fa378019786fa84727036e56839ea, < e91665fbbf3ccb268b268a7d71a6513538d813ac; >= 852b6d57dc7fa378019786fa84727036e56839ea, < d4a5a79b780891c5cbdfdc6124d46fdf8d13dba1; >= 852b6d57dc7fa378019786fa84727036e56839ea, < e8bc2427018826e02add7b0ed0fc625a60390ae5; Linux 3.10.
Is there a fix for CVE-2022-49568?
Yes. Fixed in Linux 170465715a60cbb7876e6b961b21bd3225469da8, Linux 3616776bc51cd3262bb1be60cc01c72e0a1959cf. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49568?
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.