# CVE-2022-50518: parisc: Fix locking in pdc_iodc_print() firmware call

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-10-07T15:19:13.040Z
- Modified: 2026-08-05T08:59:02.991Z
- Weaknesses: CWE-667
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ef1afd4d79f0479960ff36bb5fe6ec6eba1ebff2 before 04a603058e70b8b881bb7860b8bd649f931f2591; from ef1afd4d79f0479960ff36bb5fe6ec6eba1ebff2 before 553bc5890ed96a8d006224c3a4673c47fee0d12a; from ef1afd4d79f0479960ff36bb5fe6ec6eba1ebff2 before 7236aae5f81f3efbd93d0601e74fc05994bc2580; 24319896af06b84f965bcefa0f2d926b726ed05b; from 2.6.24.5 before 2.6.25; 2.6.25 (not affected: before 2.6.25; from 6.0.18 up to 6.0.*; from 6.1.4 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 2.6.24.5 before 2.6.25; from 2.6.25.1 before 6.0.18; from 6.1 before 6.1.4; 2.6.25

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/04a603058e70b8b881bb7860b8bd649f931f2591> (patch)
- <https://git.kernel.org/stable/c/553bc5890ed96a8d006224c3a4673c47fee0d12a> (patch)
- <https://git.kernel.org/stable/c/7236aae5f81f3efbd93d0601e74fc05994bc2580> (patch)

## Sources

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

---

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