Linux
KVM: SEV: Ignore Port I/O requests of length '0'
In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Ignore Port I/O requests of length '0' Explicitly ignore Port I/O requests of length '0' (or count '0'), so that setting up the software scratch area (and other code) doesn't have to worry about underflowing the length, and to allow for WARNing on trying to configure the scratch area with len==0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 291bd20d5d88814a73d43b55b9428feab2f28094, < c8aa0a79ab0b23cde4c46ccff78e63be35733e04
- >= 291bd20d5d88814a73d43b55b9428feab2f28094, < bbd3a27e4f99fdcad82d12d79c04a95dff1ff70b
- >= 291bd20d5d88814a73d43b55b9428feab2f28094, < 3b6035bc6bff20e89752ce4358bc4c9a9d5883f2
- >= 291bd20d5d88814a73d43b55b9428feab2f28094, < 2254972d4d69e279ba4e87bf0968eb08ad0d3c92
- >= 291bd20d5d88814a73d43b55b9428feab2f28094, < c30cde934c7813b4e3069765dac64ce3d31e34f2
- >= 291bd20d5d88814a73d43b55b9428feab2f28094, < 3988bd2723de407ae90fa7a6f6029b4e60238c58
Fixed in c8aa0a79ab0b23cde4c46ccff78e63be35733e04, bbd3a27e4f99fdcad82d12d79c04a95dff1ff70b, 3b6035bc6bff20e89752ce4358bc4c9a9d5883f2, 2254972d4d69e279ba4e87bf0968eb08ad0d3c92, c30cde934c7813b4e3069765dac64ce3d31e34f2, 3988bd2723de407ae90fa7a6f6029b4e60238c58
- 5.11
Fixed in 0, 6.1.191, 6.6.160, 6.12.95, 6.18.35, 7.0.12, 7.1
Mitigation
Upgrade Linux to c8aa0a79ab0b23cde4c46ccff78e63be35733e04 or bbd3a27e4f99fdcad82d12d79c04a95dff1ff70b or 3b6035bc6bff20e89752ce4358bc4c9a9d5883f2 or 2254972d4d69e279ba4e87bf0968eb08ad0d3c92 or c30cde934c7813b4e3069765dac64ce3d31e34f2 or 3988bd2723de407ae90fa7a6f6029b4e60238c58 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.95 or 6.18.35 or 7.0.12 or 7.1 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.