syzbot


memory leak in __do_sys_bpf

Status: closed as invalid on 2021/12/14 20:22
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 910d, last: 814d

Sample crash report:
executing program
executing program
executing program
BUG: memory leak
unreferenced object 0xffff88811898bac0 (size 64):
  comm "syz-executor599", pid 6525, jiffies 4294944091 (age 13.040s)
  hex dump (first 32 bytes):
    c0 1f 65 04 00 ea ff ff c0 d9 68 04 00 ea ff ff  ..e.......h.....
    80 c9 a8 04 00 ea ff ff c0 bb 94 04 00 ea ff ff  ................
  backtrace:
    [<000000009bde6626>] kmalloc_node include/linux/slab.h:577 [inline]
    [<000000009bde6626>] bpf_ringbuf_area_alloc kernel/bpf/ringbuf.c:94 [inline]
    [<000000009bde6626>] bpf_ringbuf_alloc kernel/bpf/ringbuf.c:135 [inline]
    [<000000009bde6626>] ringbuf_map_alloc kernel/bpf/ringbuf.c:183 [inline]
    [<000000009bde6626>] ringbuf_map_alloc+0x166/0x350 kernel/bpf/ringbuf.c:150
    [<0000000077cffe98>] find_and_alloc_map kernel/bpf/syscall.c:119 [inline]
    [<0000000077cffe98>] map_create kernel/bpf/syscall.c:820 [inline]
    [<0000000077cffe98>] __do_sys_bpf+0x4b4/0x2450 kernel/bpf/syscall.c:4160
    [<00000000039145b1>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<0000000035e7c0b5>] entry_SYSCALL_64_after_hwframe+0x44/0xa9


Crashes (8):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2020/09/06 09:39 upstream 9322c47b21b9 abf9ba4f .config log report syz C
ci-upstream-gce-leak 2020/08/08 11:51 upstream 5631c5e0eb90 ff51e522 .config log report syz C
ci-upstream-gce-leak 2020/07/31 03:13 upstream 83bdc7275e62 8df85ed9 .config log report syz C
ci-upstream-gce-leak 2020/07/09 21:07 upstream 0bddd227f3dc bc238812 .config log report syz C
ci-upstream-gce-leak 2020/07/05 06:33 upstream 7cc2a8ea1048 51095195 .config log report syz C
ci-upstream-gce-leak 2020/06/09 00:54 upstream 7ae77150d94d 7604bb03 .config log report syz C
ci-upstream-gce-leak 2020/09/12 23:58 upstream 729e3d091984 ce441f06 .config log report syz
ci-upstream-gce-leak 2020/09/12 23:13 upstream 729e3d091984 ce441f06 .config log report syz
* Struck through repros no longer work on HEAD.