CVE-2022-49054: Drivers: hv: vmbus: Deactivate sysctl_record_panic_msg by default in isolated guests
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Drivers: hv: vmbus: Deactivate sysctl_record_panic_msg by default in isolated guests
hv_panic_page might contain guest-sensitive information, do not dump it over to Hyper-V by default in isolated guests.
While at it, update some comments in hyperv_{panic,die}_event().
The Linux kernel CVE team has assigned CVE-2022-49054 to this issue.
Affected and fixed versions
===========================
Fixed in 5.15.35 with commit 1b576e81d31b56b248316b8ff816b1cc5c4407c7 Fixed in 5.17.4 with commit 6230bc50d6d21cae4c084766623d0a6d17958721 Fixed in 5.18 with commit 9f8b577f7b43b2170628d6c537252785dcc2dcea
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-49054
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/hv/vmbus_drv.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/1b576e81d31b56b248316b8ff816b1cc5c4407c7 https://git.kernel.org/stable/c/6230bc50d6d21cae4c084766623d0a6d17958721 https://git.kernel.org/stable/c/9f8b577f7b43b2170628d6c537252785dcc2dcea