Skip to content
Commit 6e0de817 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/bpf,jit: initialize A register if 1st insn is BPF_S_LDX_B_MSH



The A register needs to be initialized to zero in the prolog if the
first instruction of the BPF program is BPF_S_LDX_B_MSH to prevent
leaking the content of %r5 to user space.

Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 06cd7a87
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