netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* memory leak in bpf
@ 2020-11-18  3:50 syzbot
  2020-12-10  6:58 ` syzbot
  0 siblings, 1 reply; 14+ messages in thread
From: syzbot @ 2020-11-18  3:50 UTC (permalink / raw)
  To: andrii, ast, bpf, daniel, john.fastabend, kafai, kpsingh,
	linux-kernel, netdev, songliubraving, syzkaller-bugs, yhs

Hello,

syzbot found the following issue on:

HEAD commit:    f01c30de Merge tag 'vfs-5.10-fixes-2' of git://git.kernel...
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15b9b181500000
kernel config:  https://syzkaller.appspot.com/x/.config?x=a3f13716fa0212fd
dashboard link: https://syzkaller.appspot.com/bug?extid=f3694595248708227d35
compiler:       gcc (GCC) 10.1.0-syz 20200507
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=14b78b81500000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f3694595248708227d35@syzkaller.appspotmail.com

2020/11/14 15:01:05 executed programs: 33
2020/11/14 15:01:11 executed programs: 35
2020/11/14 15:01:17 executed programs: 37
2020/11/14 15:01:22 executed programs: 39
BUG: memory leak
unreferenced object 0xffff8881161c6440 (size 64):
  comm "syz-executor.0", pid 8961, jiffies 4295107077 (age 12.370s)
  hex dump (first 32 bytes):
    80 62 58 04 00 ea ff ff c0 17 37 04 00 ea ff ff  .bX.......7.....
    80 6f 47 04 00 ea ff ff 40 64 58 04 00 ea ff ff  .oG.....@dX.....
  backtrace:
    [<00000000189a27fd>] kmalloc_node include/linux/slab.h:575 [inline]
    [<00000000189a27fd>] bpf_ringbuf_area_alloc kernel/bpf/ringbuf.c:94 [inline]
    [<00000000189a27fd>] bpf_ringbuf_alloc kernel/bpf/ringbuf.c:135 [inline]
    [<00000000189a27fd>] ringbuf_map_alloc kernel/bpf/ringbuf.c:183 [inline]
    [<00000000189a27fd>] ringbuf_map_alloc+0x1be/0x410 kernel/bpf/ringbuf.c:150
    [<000000009e5cec3e>] find_and_alloc_map kernel/bpf/syscall.c:122 [inline]
    [<000000009e5cec3e>] map_create kernel/bpf/syscall.c:825 [inline]
    [<000000009e5cec3e>] __do_sys_bpf+0x7d0/0x30a0 kernel/bpf/syscall.c:4381
    [<00000000c513b5d1>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<0000000033006ec5>] entry_SYSCALL_64_after_hwframe+0x44/0xa9



---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-07-07 17:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18  3:50 memory leak in bpf syzbot
2020-12-10  6:58 ` syzbot
2021-03-01 16:21   ` Rustam Kovhaev
2021-03-01 19:05     ` Dmitry Vyukov
2021-03-01 20:39       ` Rustam Kovhaev
2021-03-01 20:43         ` Dmitry Vyukov
2021-04-07 23:24           ` Rustam Kovhaev
2021-04-07 23:35             ` Andrii Nakryiko
2021-04-08 18:56               ` Rustam Kovhaev
2021-06-13 15:17                 ` Rustam Kovhaev
2021-06-24 17:28                   ` Rustam Kovhaev
2021-06-25 14:28                     ` Dmitry Vyukov
2021-06-26 18:40                       ` Rustam Kovhaev
2021-07-07 17:06                     ` Andrii Nakryiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).