s390/cmf: Fix virtual vs physical address confusion
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
s390/cmf: Fix virtual vs physical address confusion
The measurement block address is an absolute address. Define the associated schib_config and schib fields as dma64_t to enable automatic detection of incorrect assignments. Also add the missing virt_to_dma64() translation.
Without this fix, a wrong address will be used by firmware when storing extended format channel measurement data on kernels built with CONFIG_RANDOMIZE_IDENTITY_BASE=y.
From the CVE record · Linux
The Linux kernel’s s390/cmf code can provide firmware with the wrong address for storing extended format channel measurement data when built with CONFIG_RANDOMIZE_IDENTITY_BASE=y. The input does not describe an attacker action, authentication requirement, or user interaction.
Engineers running Linux kernels built with CONFIG_RANDOMIZE_IDENTITY_BASE=y that use s390/cmf should check their deployments; affected versions were not provided.