syzbot


assertion failed: kref_refcnt(kref) > 0

Status: fixed on 2019/05/02 18:43
Reported-by: syzbot+75a997a9a55827b3871d@syzkaller.appspotmail.com
Fix commit: 71cfd5f4c021 9ns: make kstrdup() actually atomic 1f0ded4d14f1 kprof: use parsecmd() instead of strncmp on user pointers
First crash: 2073d, last: 1879d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
akaros assertion failed: kref_refcnt(kref) > 0 (2) 246 995d 1630d 0/1 auto-closed as invalid on 2021/12/03 02:15

Sample crash report:
kernel panic at /syzkaller/managers/main/kernel/kern/include/kref.h:68, from core 2: assertion failed: kref_refcnt(kref) > 0
Stack Backtrace on Core 2:
#01 [<0xffffffffc200a3ac>] in backtrace at src/kdebug.c:229
#02 [<0xffffffffc2009b3d>] in _panic at src/init.c:268
#03 [<     [inline]     >] in kref_put at include/kref.h:68
#03 [<0xffffffffc200ac1b>] in kfree at src/kmalloc.c:236
#04 [<0xffffffffc2031474>] in kstrdup at src/ns/chan.c:122
#05 [<0xffffffffc20755b3>] in conswrite at drivers/dev/cons.c:1246
#06 [<0xffffffffc207e11e>] in mntversion at drivers/dev/mnt.c:213
#07 [<0xffffffffc207f532>] in mntattach at drivers/dev/mnt.c:360
#08 [<0xffffffffc203f431>] in sysmount at src/ns/sysfile.c:530
#09 [<0xffffffffc2056581>] in sys_nmount at src/syscall.c:2196
#10 [<0xffffffffc2059f59>] in syscall at src/syscall.c:2465
#11 [<0xffffffffc205a124>] in run_local_syscall at src/syscall.c:2500
#12 [<0xffffffffc205a659>] in prep_syscalls at src/syscall.c:2520
#13 [<0xffffffffc20ac10a>] in sysenter_callwrapper at arch/x86/trap.c:854

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/10/19 14:11 akaros 73001cbb86fe 9aba67b5 .config console log report syz C ci-akaros-main
2018/09/01 11:12 akaros 09363dc1775f 19cfcead .config console log report syz ci-akaros-main
2018/08/22 20:37 akaros e94ea40da19b 95b5c82b .config console log report syz ci-akaros-main
2019/03/04 15:45 akaros d9d5899d33d7 7c693b52 .config console log report ci-akaros-main
2019/02/22 10:19 akaros babe106ae718 7ff74a98 .config console log report ci-akaros-main
2019/02/18 12:52 akaros babe106ae718 59f36113 .config console log report ci-akaros-main
2019/02/02 15:11 akaros babe106ae718 c198d5dd .config console log report ci-akaros-main
2019/01/18 07:54 akaros 828f5ad57f41 5bf17c30 .config console log report ci-akaros-main
2018/12/15 10:02 akaros f89b6d306593 7624ddd6 .config console log report ci-akaros-main
2018/12/07 14:57 akaros f89b6d306593 1eb6a7e4 .config console log report ci-akaros-main
2018/10/23 15:07 akaros c62a28c78976 24fa2ad8 .config console log report ci-akaros-main
2018/10/21 16:09 akaros 73001cbb86fe ecb386fe .config console log report ci-akaros-main
* Struck through repros no longer work on HEAD.