From: patchwork-bot+netdevbpf@kernel.org
To: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
brouer@redhat.com, toke@redhat.com, lorenzo.bianconi@redhat.com,
andrii@kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH bpf-next] bpf: test_run: fix OOB access in bpf_prog_test_run_xdp
Date: Thu, 03 Feb 2022 17:50:09 +0000 [thread overview]
Message-ID: <164391060904.1486.6609284418127236354.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <688c26f9dd6e885e58e8e834ede3f0139bb7fa95.1643835097.git.lorenzo@kernel.org>
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Wed, 2 Feb 2022 21:53:20 +0100 you wrote:
> Fix the following kasan issue reported by syzbot:
>
> BUG: KASAN: slab-out-of-bounds in __skb_frag_set_page include/linux/skbuff.h:3242 [inline]
> BUG: KASAN: slab-out-of-bounds in bpf_prog_test_run_xdp+0x10ac/0x1150 net/bpf/test_run.c:972
> Write of size 8 at addr ffff888048c75000 by task syz-executor.5/23405
>
> CPU: 1 PID: 23405 Comm: syz-executor.5 Not tainted 5.16.0-syzkaller #0
> Hardware name: Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
> Call Trace:
> <TASK>
> __dump_stack lib/dump_stack.c:88 [inline]
> dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
> print_address_description.constprop.0.cold+0x8d/0x336 mm/kasan/report.c:255
> __kasan_report mm/kasan/report.c:442 [inline]
> kasan_report.cold+0x83/0xdf mm/kasan/report.c:459
> __skb_frag_set_page include/linux/skbuff.h:3242 [inline]
> bpf_prog_test_run_xdp+0x10ac/0x1150 net/bpf/test_run.c:972
> bpf_prog_test_run kernel/bpf/syscall.c:3356 [inline]
> __sys_bpf+0x1858/0x59a0 kernel/bpf/syscall.c:4658
> __do_sys_bpf kernel/bpf/syscall.c:4744 [inline]
> __se_sys_bpf kernel/bpf/syscall.c:4742 [inline]
> __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4742
> do_syscall_x64 arch/x86/entry/common.c:50 [inline]
> do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
> entry_SYSCALL_64_after_hwframe+0x44/0xae
> RIP: 0033:0x7f4ea30dd059
> RSP: 002b:00007f4ea1a52168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
> RAX: ffffffffffffffda RBX: 00007f4ea31eff60 RCX: 00007f4ea30dd059
> RDX: 0000000000000048 RSI: 0000000020000000 RDI: 000000000000000a
> RBP: 00007f4ea313708d R08: 0000000000000000 R09: 0000000000000000
> R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
> R13: 00007ffc8367c5af R14: 00007f4ea1a52300 R15: 0000000000022000
> </TASK>
>
> [...]
Here is the summary with links:
- [bpf-next] bpf: test_run: fix OOB access in bpf_prog_test_run_xdp
https://git.kernel.org/bpf/bpf-next/c/a6763080856f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2022-02-03 17:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-02 20:53 [PATCH bpf-next] bpf: test_run: fix OOB access in bpf_prog_test_run_xdp Lorenzo Bianconi
2022-02-03 17:50 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=164391060904.1486.6609284418127236354.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=brouer@redhat.com \
--cc=daniel@iogearbox.net \
--cc=lorenzo.bianconi@redhat.com \
--cc=lorenzo@kernel.org \
--cc=syzkaller-bugs@googlegroups.com \
--cc=toke@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox