syzbot


assert "sc->sc_dev == NUM" failed in if_tun.c (5)

Status: upstream: reported on 2024/02/23 03:53
Reported-by: syzbot+34c25cc41c969a989f59@syzkaller.appspotmail.com
First crash: 113d, last: 16d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c 24 851d 883d 3/3 fixed on 2022/02/16 17:50
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c (2) 1 847d 847d 3/3 fixed on 2022/02/26 07:36
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c (3) 68 350d 839d 0/3 auto-obsoleted due to no activity on 2023/09/29 16:10
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c (4) 1 250d 250d 0/3 auto-obsoleted due to no activity on 2024/01/09 18:17

Sample crash report:
panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 315
Starting stack trace...
panic(ffffffff8295f3e7) at panic+0x16f sys/kern/subr_prf.c:229
__assert(ffffffff8291343a,ffffffff828ea2a2,13b,ffffffff828f36fc) at __assert+0x29 sys/kern/subr_prf.c:157
tun_clone_destroy(ffff800000dac000) at tun_clone_destroy+0x278 sys/net/if_tun.c:315
if_clone_destroy(ffff800036192f40) at if_clone_destroy+0x132 sys/net/if.c:1384
ifioctl(ffff800000eda2c0,80206979,ffff800036192f40,ffff80002d6e9238) at ifioctl+0x44b
sys_ioctl(ffff80002d6e9238,ffff800036193120,ffff800036193070) at sys_ioctl+0x4a9
syscall(ffff800036193120) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline]
syscall(ffff800036193120) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x3c9c9d4c5f0, count: 249
End of stack trace.

Crashes (160):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/30 04:28 openbsd 00aa7573f64b 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/30 01:06 openbsd b64799ca563a 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 23:47 openbsd b64799ca563a 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 22:17 openbsd b64799ca563a 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 20:53 openbsd b64799ca563a 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 19:53 openbsd b64799ca563a 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 18:46 openbsd b64799ca563a 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 17:44 openbsd b64799ca563a 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 16:06 openbsd b64799ca563a 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 14:07 openbsd b64799ca563a 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 13:00 openbsd f475ad27b09c 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 10:01 openbsd f475ad27b09c 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 08:48 openbsd f475ad27b09c 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 08:17 openbsd f475ad27b09c 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 07:03 openbsd f475ad27b09c 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 04:35 openbsd f475ad27b09c 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/29 03:20 openbsd f475ad27b09c 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 22:21 openbsd 06cae3775af3 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 21:13 openbsd 06cae3775af3 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 19:33 openbsd 06cae3775af3 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 18:23 openbsd 06cae3775af3 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 17:10 openbsd 06cae3775af3 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 13:45 openbsd 06cae3775af3 34889ee3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 10:30 openbsd 06cae3775af3 f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 09:19 openbsd 98f39564523a f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 08:14 openbsd 98f39564523a f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 07:04 openbsd 98f39564523a f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 05:17 openbsd 98f39564523a f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 04:40 openbsd 98f39564523a f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 03:03 openbsd 98f39564523a f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 01:28 openbsd 98f39564523a f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/28 00:09 openbsd 98f39564523a f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/27 21:02 openbsd 98f39564523a f550015e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/27 14:36 openbsd bc2c23e056db 761766e6 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 20:24 openbsd b0131f08c3a2 a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 17:33 openbsd b0131f08c3a2 a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 14:41 openbsd b0131f08c3a2 a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 12:17 openbsd b0131f08c3a2 a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 10:58 openbsd b0131f08c3a2 a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 08:40 openbsd c57a2cde1c3e a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 07:23 openbsd ccbdb1e7780e a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 05:36 openbsd c57a2cde1c3e a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 05:01 openbsd c57a2cde1c3e a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 03:18 openbsd c57a2cde1c3e a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/26 01:47 openbsd c57a2cde1c3e a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/25 23:51 openbsd c57a2cde1c3e a10a183e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/23 02:01 openbsd 6859a790d2a4 4d098039 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/22 08:03 openbsd 6859a790d2a4 1014eca7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/05/22 05:58 openbsd 6859a790d2a4 1014eca7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2024/02/23 03:53 openbsd 609e0b1cb961 8d446f15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
* Struck through repros no longer work on HEAD.