CVE-2022-50425: Linux kernel x86 FPU XSAVE state copy NULL pointer dereference
- Vendor
- Linux
CVE-2022-50425 is a flaw in the Linux kernel x86 FPU extended-state export path, specifically copy_xstate_to_uabi(). When an extended state component is absent from an fpstate but considered to be in its initial state, the function may attempt to copy that component from init_fpstate. Dynamic XSAVE components have all-zero initial states and are not present in init_fpstate, causing an invalid source pointer to reach the copy operation and triggering a kernel NULL pointer dereference. The corrective change zeros the userspace output buffer for features unavailable in both fpstate and init_fpstate, and verifies that compacted XSAVE is enabled before reading XCOMP_BV from init_fpstate.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful triggering causes a kernel NULL pointer dereference during extended CPU-state copying, resulting in a kernel oops or panic and denial of service. The observed call path includes KVM vCPU ioctl handling.
Mitigation
If you can’t patch tonight, do this now.
No complete workaround is specified. Until patched, limit untrusted local users' ability to access KVM vCPU ioctls and restrict or avoid KVM virtualization workloads on affected x86 systems where operationally feasible.
Remediation
Patch, then assume compromise.
Install a Linux kernel update that includes the upstream x86/fpu fix for copy_xstate_to_uabi(). The fix must avoid copying unavailable dynamic features from init_fpstate by zeroing the corresponding userspace buffer and must gate XCOMP_BV access on compacted XSAVE support. Reboot into the updated kernel after installation.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2022-50425 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2022-50425 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-50425?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2022-50425.
- Is there a patch for CVE-2022-50425?
- Install a Linux kernel update that includes the upstream x86/fpu fix for copy_xstate_to_uabi(). The fix must avoid copying unavailable dynamic features from init_fpstate by zeroing the corresponding userspace buffer and must gate XCOMP_BV access on compacted XSAVE support.
- What products are affected by CVE-2022-50425?
- Linux Kernel.
- How severe is CVE-2022-50425?
- CVE-2022-50425 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.19% (5th percentile) as of Sep 25, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.