summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2019-05-07 07:46:55 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-29 08:30:23 +0200
commit1069617a56d70147a6cb0a3658110c8e7891fb7c (patch)
tree28fbca5005b7529884e2d921d1af2eb4fa6c6405 /fs
parenta7ef13769f73ff5b5261d277d703b213f3a92b77 (diff)
downloadlinux-stable-1069617a56d70147a6cb0a3658110c8e7891fb7c.tar.gz
linux-stable-1069617a56d70147a6cb0a3658110c8e7891fb7c.tar.bz2
linux-stable-1069617a56d70147a6cb0a3658110c8e7891fb7c.zip
Drivers: hv: vmbus: Fix virt_to_hvpfn() for X86_PAE
commit a9fc4340aee041dd186d1fb8f1b5d1e9caf28212 upstream. In the case of X86_PAE, unsigned long is u32, but the physical address type should be u64. Due to the bug here, the netvsc driver can not load successfully, and sometimes the VM can panic due to memory corruption (the hypervisor writes data to the wrong location). Fixes: 6ba34171bcbd ("Drivers: hv: vmbus: Remove use of slow_virt_to_phys()") Cc: stable@vger.kernel.org Cc: Michael Kelley <mikelley@microsoft.com> Reported-and-tested-by: Juliana Rodrigueiro <juliana.rodrigueiro@intra2net.com> Signed-off-by: Dexuan Cui <decui@microsoft.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions