Skip to content
Commit e1e23bb0 authored by David Rientjes's avatar David Rientjes Committed by Ingo Molnar
Browse files

x86: avoid dereferencing beyond stack + THREAD_SIZE



It's possible for get_wchan() to dereference past task->stack + THREAD_SIZE
while iterating through instruction pointers if fp equals the upper boundary,
causing a kernel panic.

Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent fd048088
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment