CVE-2022-50623 fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
An integer overflow in the Linux kernel FPGA driver can lead to memory corruption, potentially allowing local attackers to execute code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50623?
CVE-2022-50623 is a high-severity vulnerability in Linux, published on 8 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
The "hdr.count * sizeof(s32)" multiplication can overflow on 32 bit systems leading to memory corruption. Use array_size() to fix that.
Which versions are affected by CVE-2022-50623?
How do I fix CVE-2022-50623?
Apply the vendor's patch.
Is CVE-2022-50623 being exploited?
There is no known exploitation of CVE-2022-50623 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50623, GHSA-4823-3f87-824g, UBUNTU-CVE-2022-50623.