CVE-2022-50518 PUBLISHED

parisc: Fix locking in pdc_iodc_print() firmware call

Assigner: Linux
Reserved: 07.10.2025 Published: 07.10.2025 Updated: 07.10.2025

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 04a603058e70b8b881bb7860b8bd649f931f2591 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 553bc5890ed96a8d006224c3a4673c47fee0d12a (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 7236aae5f81f3efbd93d0601e74fc05994bc2580 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • unaffected from 6.0.18 to 6.0.* (incl.)
  • unaffected from 6.1.4 to 6.1.* (incl.)
  • unaffected from 6.2 to * (incl.)

References