diff options
author | Andrea Parri (Microsoft) <parri.andrea@gmail.com> | 2020-12-09 08:08:24 +0100 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-02-05 09:55:42 +0000 |
commit | fe8c1b18a27de4d6ca5d99b3ffb3125dc69a5b76 (patch) | |
tree | dd42a4e48da160d4dc2c8a6636350dcfc59117e5 /README | |
parent | 9c400d3548c39378327268fb18112b229f91b220 (diff) | |
download | linux-next-fe8c1b18a27de4d6ca5d99b3ffb3125dc69a5b76.tar.gz |
Drivers: hv: vmbus: Copy the hv_message in vmbus_on_msg_dpc()
Since the message is in memory shared with the host, an erroneous or a
malicious Hyper-V could 'corrupt' the message while vmbus_on_msg_dpc()
or individual message handlers are executing. To prevent it, copy the
message into private memory.
Reported-by: Juan Vazquez <juvazq@microsoft.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20201209070827.29335-4-parri.andrea@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions