Messages in this thread | | | Date | Mon, 19 Apr 2021 08:09:34 +0200 | From | Andrea Parri <> | Subject | Re: [PATCH] Drivers: hv: vmbus: Initialize unload_event statically |
| |
On Fri, Apr 16, 2021 at 03:25:03PM +0000, Michael Kelley wrote: > From: Andrea Parri (Microsoft) <parri.andrea@gmail.com> Sent: Friday, April 16, 2021 7:40 AM > > > > If a malicious or compromised Hyper-V sends a spurious message of type > > CHANNELMSG_UNLOAD_RESPONSE, the function vmbus_unload_response() will > > call complete() on an uninitialized event, and cause an oops. > > Please leave a comment somewhere in the code itself that describes this > scenario so that somebody in the future doesn't decide it's OK to "simplify" the > initialization of unload_event. :-)
Yes, will do for v2.
Thanks, Andrea
| |