Skip to content
Snippets Groups Projects
Commit 6afbdd05 authored by Rusty Russell's avatar Rusty Russell
Browse files

lguest: fix spurious BUG_ON() on invalid guest stack.


Impact: fix crash on misbehaving guest

gpte_addr() contains a BUG_ON(), insisting that the present flag is
set.  We need to return before we call it if that isn't the case.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Cc: stable@kernel.org
parent c5f841f1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment