Description
In the Linux kernel, the following vulnerability has been resolved: s390/mm: Add missing secure storage access fixups for donated memory There are special cases where secure storage access exceptions happen in a kernel context for pages that don't have the PG_arch_1 bit set. That bit is set for non-exported guest secure storage (memory) but is absent on storage donated to the Ultravisor since the kernel isn't allowed to export donated pages. Prior to this patch we would try to export the page by calling arch_make_folio_accessible() which would instantly return since the arch bit is absent signifying that the page was already exported and no further action is necessary. This leads to secure storage access exception loops which can never be resolved. With this patch we unconditionally try to export and if that fails we fixup.
Product status
084ea4d611a3d00ee3930400b262240e10895900 (git) before b36b0e804aee5f20c6798dbeaeaa7cfdb7c6cf88
084ea4d611a3d00ee3930400b262240e10895900 (git) before 43ac2d18db1131df0a89993f709131ebfc29f3bd
084ea4d611a3d00ee3930400b262240e10895900 (git) before b00be77302d7ec4ad0367bb236494fce7172b730
5.7
Any version before 5.7
6.18.21 (semver)
6.19.11 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/b36b0e804aee5f20c6798dbeaeaa7cfdb7c6cf88
git.kernel.org/...c/43ac2d18db1131df0a89993f709131ebfc29f3bd
git.kernel.org/...c/b00be77302d7ec4ad0367bb236494fce7172b730