syzbot


memory leak in bpf

Status: closed as invalid on 2021/03/01 16:21
Subsystems: bpf
[Documentation on labels]
Reported-by: syzbot+f3694595248708227d35@syzkaller.appspotmail.com
First crash: 1473d, last: 1386d
Discussions (1)
Title Replies (including bot) Last reply
memory leak in bpf 12 (14) 2021/07/07 17:06
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in bpf (2) bpf C 3 1266d 1335d 20/28 fixed on 2021/11/10 00:50

Sample crash report:
executing program
executing program
executing program
executing program
executing program
BUG: memory leak
unreferenced object 0xffff88811114a280 (size 64):
  comm "syz-executor711", pid 8441, jiffies 4294944443 (age 14.100s)
  hex dump (first 32 bytes):
    40 c8 42 04 00 ea ff ff 80 c0 42 04 00 ea ff ff  @.B.......B.....
    40 b1 3c 04 00 ea ff ff 80 d3 42 04 00 ea ff ff  @.<.......B.....
  backtrace:
    [<000000006141f281>] kmalloc_node include/linux/slab.h:575 [inline]
    [<000000006141f281>] __bpf_map_area_alloc+0xfc/0x120 kernel/bpf/syscall.c:300
    [<000000000aa95cde>] bpf_ringbuf_area_alloc kernel/bpf/ringbuf.c:90 [inline]
    [<000000000aa95cde>] bpf_ringbuf_alloc kernel/bpf/ringbuf.c:131 [inline]
    [<000000000aa95cde>] ringbuf_map_alloc kernel/bpf/ringbuf.c:170 [inline]
    [<000000000aa95cde>] ringbuf_map_alloc+0x134/0x350 kernel/bpf/ringbuf.c:146
    [<0000000014cdc365>] find_and_alloc_map kernel/bpf/syscall.c:122 [inline]
    [<0000000014cdc365>] map_create kernel/bpf/syscall.c:828 [inline]
    [<0000000014cdc365>] __do_sys_bpf+0x7c3/0x2fa0 kernel/bpf/syscall.c:4364
    [<00000000192eac59>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000003c5f5eb3>] entry_SYSCALL_64_after_hwframe+0x44/0xa9


Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/08 06:44 upstream b75dba7f472c 2ce644fc .config console log report syz C ci-upstream-gce-leak memory leak in bpf
2021/01/26 08:32 upstream f8ad8187c3b5 52e37319 .config console log report syz C ci-upstream-gce-leak memory leak in bpf
2021/01/21 21:41 upstream 9791581c049c d4f4eca5 .config console log report syz C ci-upstream-gce-leak memory leak in bpf
2021/01/16 16:32 upstream 1d94330a437a 65a7a854 .config console log report syz C ci-upstream-gce-leak
2021/01/12 11:06 upstream a0d54b4f5b21 2c1f2513 .config console log report syz C ci-upstream-gce-leak
2020/12/16 14:27 upstream d635a69dd498 f213e07e .config console log report syz C ci-upstream-gce-leak
2020/12/10 06:57 upstream a68a0262abda c090b4da .config console log report syz C ci-upstream-gce-leak
2020/11/14 15:14 upstream f01c30de86f1 1bf9a662 .config console log report syz ci-upstream-gce-leak
2020/11/14 03:40 upstream 585e5b17b92d e1140d25 .config console log report syz ci-upstream-gce-leak
* Struck through repros no longer work on HEAD.