pseries/papr-hvpipe: Fix race with interrupt handler
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.577.0.77.1In the Linux kernel, the following vulnerability has been resolved:
pseries/papr-hvpipe: Fix race with interrupt handler
While executing ->ioctl handler or ->release handler, if an interrupt fires on the same cpu, then we can enter into a deadlock.
This patch fixes both these handlers to take spin_lock_irq{save|restore} versions of the lock to prevent this deadlock.
From the CVE record · Linux
A race in the Linux kernel's pseries/papr-hvpipe component can cause a deadlock if an interrupt fires on the same CPU while an ioctl or release handler is running. The input does not specify how an attacker could trigger the race, or whether authentication or user interaction is required.
Engineers running Linux kernels with the pseries/papr-hvpipe component should check their versions; affected versions are not specified.