Linux
s390/vfio_ccw: Move cp cleanup out of not operational
In the Linux kernel, the following vulnerability has been resolved: s390/vfio_ccw: Move cp cleanup out of not operational The fsm_notoper() routine is called when the device has been lost, and is (by definition) no longer operational. Since this can happen asynchronously from the normal behavior of the driver, the cleanup may happen when holding other locks in the calling sequence (notably, the cio subchannel lock). Push the cleanup of the private->cp resources to a workqueue, where it can be done out from under that lock sequence and a future patch can safely manage the locking requirements.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 204b394a23ad5e30944f23518e21e844614da2ff, < c9b85aa2cf73ea645e55e2c2670e0ddebfe1589b
- >= 204b394a23ad5e30944f23518e21e844614da2ff, < f98a9890ca42f4223d2d4c50e0660af3e012fcb4
- >= 204b394a23ad5e30944f23518e21e844614da2ff, < 4e3301e2a651d742c05914f6074a25b8e41bce19
- >= 204b394a23ad5e30944f23518e21e844614da2ff, < af1759d8e6e6da9ba94f30a2f92546f406899aa7
- >= 204b394a23ad5e30944f23518e21e844614da2ff, < 56100baa0eb7055b1026dfa73e696e8066ff71fd
- >= 204b394a23ad5e30944f23518e21e844614da2ff, < 0c11f61a876ed6fcca53d442ed3f33ea8362a0f9
Fixed in c9b85aa2cf73ea645e55e2c2670e0ddebfe1589b, f98a9890ca42f4223d2d4c50e0660af3e012fcb4, 4e3301e2a651d742c05914f6074a25b8e41bce19, af1759d8e6e6da9ba94f30a2f92546f406899aa7, 56100baa0eb7055b1026dfa73e696e8066ff71fd, 0c11f61a876ed6fcca53d442ed3f33ea8362a0f9
- 6.0
Fixed in 0, 6.1.185, 6.6.153, 6.12.105, 6.18.46, 7.1.10, 7.2
Mitigation
Upgrade Linux to c9b85aa2cf73ea645e55e2c2670e0ddebfe1589b or f98a9890ca42f4223d2d4c50e0660af3e012fcb4 or 4e3301e2a651d742c05914f6074a25b8e41bce19 or af1759d8e6e6da9ba94f30a2f92546f406899aa7 or 56100baa0eb7055b1026dfa73e696e8066ff71fd or 0c11f61a876ed6fcca53d442ed3f33ea8362a0f9 or later.
Upgrade Linux to 0 or 6.1.185 or 6.6.153 or 6.12.105 or 6.18.46 or 7.1.10 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.