Patch "bpf: fix stack state printing in verifier log" has been added to the 4.15-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
bpf: fix stack state printing in verifier log
to the 4.15-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
bpf-fix-stack-state-printing-in-verifier-log.patch
and it can be found in the queue-4.15 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Fri Mar 16 15:11:07 CET 2018
From: Alexei Starovoitov <[email protected]>
Date: Thu, 30 Nov 2017 21:31:35 -0800
Subject: bpf: fix stack state printing in verifier log
From: Alexei Starovoitov <[email protected]>
[ Upstream commit 12a3cc8424fe1237aaeb982dec4f0914ddd22f3e ]
fix incorrect stack state prints in print_verifier_state()
--- kernel/bpf/verifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/bpf/verifier.c +1 -1
@@ -279,7 +279,7 @@ static void print_verifier_state(structfor (i =0 ; i < state->allocated_stack /BPF_REG_SIZE ; i++) {if (state->stack[i].slot_type[0 ] ==STACK_SPILL )verbose (env," fp%d=%s" , - -MAX_BPF_STACK + i *BPF_REG_SIZE , + (-i -1 ) *BPF_REG_SIZE , reg_type_str[state->stack[i].spilled_ptr.type]); }verbose (env,"\n" );
Patches currently in stable-queue which might be from [email protected] are
queue-4.15/bpf-fix-stack-state-printing-in-verifier-log.patch