CVE-2022-50518 parisc: Fix locking in pdc_iodc_print() firmware call
A race condition in the Linux kernel's parisc architecture allows parallel modifications to a buffer, potentially causing a buffer overflow and denial of service.
- 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-50518?
CVE-2022-50518 is a high-severity vulnerability in Linux kernel, published on 7 Oct 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:
parisc: Fix locking in pdc_iodc_print() firmware call
Utilize pdc_lock spinlock to protect parallel modifications of the iodc_dbuf[] buffer, check length to prevent buffer overflow of iodc_dbuf[], drop the iodc_retbuf[] buffer and fix some wrong indentings.
Weakness: CWE-667
Which versions are affected by CVE-2022-50518?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50518?
Apply the vendor's patch.
Is CVE-2022-50518 being exploited?
There is no known exploitation of CVE-2022-50518 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50518, GHSA-crw3-ph9v-p9p3, ROOT-OS-DEBIAN-11-CVE-2022-50518, ROOT-OS-UBUNTU-2204-CVE-2022-50518, UBUNTU-CVE-2022-50518.