syzbot


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

Status: auto-obsoleted due to no activity on 2023/09/29 16:10
Reported-by: syzbot+ed53517a9a8fa3197793@syzkaller.appspotmail.com
First crash: 729d, last: 240d
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 742d 774d 3/3 fixed on 2022/02/16 17:50
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c (2) 1 737d 737d 3/3 fixed on 2022/02/26 07:36
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c (5) 1 4d08h 4d08h 0/3 upstream: reported on 2024/02/23 03:53
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c (4) 1 141d 141d 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/main/kernel/sys/net/if_tun.c", line 315
Starting stack trace...
panic(ffffffff8276d0a4) at panic+0x159 sys/kern/subr_prf.c:229
__assert(ffffffff827ecf06,ffffffff82821f80,13b,ffffffff828021fc) at __assert+0x29 sys/kern/subr_prf.c:157
tun_clone_destroy(ffff800000cf5000) at tun_clone_destroy+0x234 sys/net/if_tun.c:315
if_clone_destroy(ffff800027bd27b0) at if_clone_destroy+0x132 sys/net/if.c:1318
sys_ioctl(ffff800027c0a0e8,ffff800027bd28c0,ffff800027bd2910) at sys_ioctl+0x49e
syscall(ffff800027bd2990) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:632
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc74d3b98080, count: 250
End of stack trace.
syncing disks...22 9  done

dump to dev 4,1 not possible
rebooting...
SeaBIOS (version 1.8.2-google)
Total RAM Size = 0x0000000080000000 = 2048 MiB
CPUs found: 2     Max CPUs supported: 2
SeaBIOS (version 1.8.2-google)
Machine UUID a0530fd3-c3ad-b54d-95aa-ef4c7d9dfdbd
found virtio-scsi at 0:3
virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0
virtio-scsi blksize=512 sectors=4194304 = 2048 MiB
drive 0x000f2850: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304
Sending Seabios boot VM event.
Booting from Hard Disk 0...
>> OpenBSD/amd64 BOOT 3.56
boot> set $maxwidth = 0
set: syntax error
boot> show panic
boot: illegal argument panic
boot> trace
boot> show registers
boot> show proc
boot> ps
boot> show all locks
boot> show malloc
boot> show all pools
boot> machine ddbcpu 0
machine: syntax error
boot> trace
boot> machine ddbcpu 1
machine: syntax error
boot> trace

Crashes (68):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/01 16:09 openbsd 79a7ca0d25b8 bfc47836 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/06/30 23:13 openbsd 5f0c994b3e51 af3053d2 .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/06/28 17:52 openbsd b2536c643881 8064cb02 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/04/30 13:20 openbsd 89f0212b2c6b 62df2017 .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/04/25 22:12 openbsd 1e5b016c5082 7560799c .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/04/13 09:48 openbsd 1e5b016c5082 82d5e53e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/03/27 18:44 openbsd 1e5b016c5082 f8f96aa9 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/03/26 18:17 openbsd 1e5b016c5082 fbf0499a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/03/25 22:20 openbsd 1e5b016c5082 fbf0499a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/03/25 09:04 openbsd 1e5b016c5082 fbf0499a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/03/25 06:52 openbsd 1e5b016c5082 fbf0499a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/03/24 18:55 openbsd 1e5b016c5082 ee89d73c .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/03/01 04:38 openbsd 1e5b016c5082 95aee97a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/28 19:58 openbsd 1e5b016c5082 95aee97a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/28 15:43 openbsd 1e5b016c5082 95aee97a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/27 00:10 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/26 12:15 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/26 08:53 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/26 05:59 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/26 04:57 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/26 02:44 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/25 21:28 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/25 10:41 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/25 05:05 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/25 01:29 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/25 00:07 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/24 18:48 openbsd 1e5b016c5082 e792ae78 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/24 01:35 openbsd 1e5b016c5082 4359978e .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/23 12:45 openbsd 1e5b016c5082 9e2ebb3c .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/21 23:24 openbsd 1e5b016c5082 d8daec9b .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/21 19:35 openbsd 1e5b016c5082 d8daec9b .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/21 09:28 openbsd 1e5b016c5082 2414209c .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/17 20:46 openbsd 1e5b016c5082 3e7039f4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/02/17 12:57 openbsd 1e5b016c5082 3e7039f4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/01/28 17:06 openbsd b7211c5dd361 b68fb8d6 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/01/27 23:41 openbsd 8ff74958d206 e5a31411 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2023/01/26 00:40 openbsd 9356e752d591 3d904c7a .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2023/01/12 17:01 openbsd 73be947e61bb 96166539 .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2022/12/26 00:16 openbsd 96df42a842ab 9da18ae8 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/12/24 17:27 openbsd ae3e02d6b1f1 9da18ae8 .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2022/12/22 12:27 openbsd 6a5148d0c915 c692fab1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/11/23 19:20 openbsd d0597228d649 75740b3f .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/11/09 17:18 openbsd 3415f164b32e bebca8b7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/11/07 07:13 openbsd 5c6e572844be 6d752409 .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2022/09/18 07:43 openbsd 5d6f1c4a07ab dd9a85ff .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/09/15 06:35 openbsd 816ecec3e0e1 b884348d .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2022/09/15 03:01 openbsd 816ecec3e0e1 b884348d .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2022/09/10 16:06 openbsd c7c3c873e254 356d8217 .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2022/08/20 06:23 openbsd 24b6f6bc8d78 26a13b38 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/08/09 16:33 openbsd 9170c2da45e8 c2a623d6 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/07/04 11:00 openbsd 744c85643fc3 1434eec0 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/06/13 01:22 openbsd ef428a5ea726 0d5abf15 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/06/12 23:23 openbsd ef428a5ea726 0d5abf15 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/06/12 17:51 openbsd ef428a5ea726 0d5abf15 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/06/08 04:21 openbsd 39be06a3852c b2706118 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/06/01 13:48 openbsd 75a6bad90285 3666edfe .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/06/01 06:08 openbsd 75a6bad90285 3666edfe .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/05/16 12:16 openbsd 9d7872c9260d 744a39e2 .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2022/04/26 07:49 openbsd adf35c805063 1fa34c1b .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2022/04/22 06:39 openbsd 52a13037ad83 2738b391 .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2022/03/27 19:54 openbsd 814fd41b4cce 89bc8608 .config console log report ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2022/03/08 19:09 openbsd 9f7de9371f1f 9e8eaa75 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/03/08 15:09 openbsd 9f7de9371f1f 7bdd8b2c .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/03/02 18:07 openbsd bce6894f9dae 45a13a73 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/02/27 18:27 openbsd dd2bb77956f6 45a13a73 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2022/02/27 12:46 openbsd dd2bb77956f6 45a13a73 .config console log report ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
* Struck through repros no longer work on HEAD.