KVM: SEV: Ignore Port I/O requests of length '0'
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 291bd20d5d88814a73d43b55b9428feab2f28094 · < 3988bd2723de407ae90fa7a6f6029b4e60238c58| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s KVM SEV code could underflow a length value while setting up a software scratch area for a Port I/O request with zero length or count. The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with KVM SEV should check their versions against the vendor advisory; affected versions are not specified.