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

Status: upstream: reported on 2025/02/10 06:39
Reported-by: syzbot+171f3fbee35ba6030ee9@syzkaller.appspotmail.com
First crash: 556d, last: 31d
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c -1 24 1647d 1679d 3/4 fixed on 2022/02/16 17:50
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c (2) -1 1 1642d 1642d 3/4 fixed on 2022/02/26 07:36
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c (5) -1 358 638d 909d 0/4 auto-obsoleted due to no activity on 2025/01/08 15:50
openbsd assert "sc->sc_dev == NUM" failed in if_tun.c (3) -1 68 1145d 1634d 0/4 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 1 1046d 1046d 0/4 auto-obsoleted due to no activity on 2024/01/09 18:17

Sample crash report:
login: panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 319
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*494060  39894      0         0x2          0    0K ifconfig
 182087  53293      0           0          0    1  syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834bf7b2) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff834fa343,ffffffff835425a8,13f,ffffffff83437977) at __assert+0x29 sys/kern/subr_prf.c:-1
tun_clone_destroy(ffff8000015e3800) at tun_clone_destroy+0x38a
if_clone_destroy(ffff80002a35bf60) at if_clone_destroy+0x205 sys/net/if.c:1479
ifioctl(ffff800010fdd4a0,80206979,ffff80002a35bf60,ffff800045feea78) at ifioctl+0x59d sys/net/if.c:2160
sys_ioctl(ffff800045feea78,ffff80002a35c140,ffff80002a35c090) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80002a35c140) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a35c140) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x786901371410, count: 6
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb{0}> 
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 319
ddb{0}> show kasan
No such command
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834bf7b2) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff834fa343,ffffffff835425a8,13f,ffffffff83437977) at __assert+0x29 sys/kern/subr_prf.c:-1
tun_clone_destroy(ffff8000015e3800) at tun_clone_destroy+0x38a
if_clone_destroy(ffff80002a35bf60) at if_clone_destroy+0x205 sys/net/if.c:1479
ifioctl(ffff800010fdd4a0,80206979,ffff80002a35bf60,ffff800045feea78) at ifioctl+0x59d sys/net/if.c:2160
sys_ioctl(ffff800045feea78,ffff80002a35c140,ffff80002a35c090) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80002a35c140) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a35c140) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x786901371410, count: -9
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002a35bd10
rbx               0xffffffff83949e07    cpu_info_full_primary+0x2e07
rdx                                0
rcx               0xffff800045feea78
rax               0xffffffff83948ff0    cpu_info_full_primary+0x1ff0
r8                 0x101010101010101
r9                0x8080808080808080
r10                0x18a7f9ba1ef069c
r11               0x818c4fb0cee4bab8
r12               0xffffffff83949c08    cpu_info_full_primary+0x2c08
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff82f141f5    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff80002a35bd00
ss                              0x10
db_enter+0x25:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (ifconfig) tid=494060 pid=39894 tcnt=1 stat=onproc
    flags process=2<EXEC> proc=0
    runpri=86, usrpri=86, slppri=17, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff800045fef770,0xffffffff83a2f7d0
    process=0xffff800045ff1cf0 user=0xffff80002a357000, vmspace=0xfffff0806fb53d60
    estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID   UID  S      PRLAGS     PFLAGS WAIT      COMMAND
*39894  494060  60341     0  7         0x2          0           ifconfig
 60341   16839  80870     0  3    0x100002       0x88 sigsusp   sh
 83857  513100  49629     0  2           0          0           syz-executor
 83857  141747  49629     0  2           0  0x4000000           syz-executor
 80870  154304  64724     0  3         0x2       0x80 wait      syz-executor
 35734  175221  33137     0  2           0          0           syz-executor
 35734  212535  33137     0  3           0  0x4000080 fsleep    syz-executor
 44893  423190  30216     0  2    0x100000          0           sh
 53293  182087  23509     0  7           0          0           syz-executor
 53293   62990  23509     0  3           0  0x4000080 kqread    syz-executor
 53293  475131  23509     0  3           0  0x4000080 fsleep    syz-executor
 15668  487924  76059     0  2           0          0           syz-executor
 15668  208862  76059     0  3           0  0x4000080 fsleep    syz-executor
 15668   10055  76059     0  3           0  0x4000080 fsleep    syz-executor
 30216   22805   9709     0  3    0x100002       0x88 sigsusp   sh
 92587  278874  28975     0  2           0          0           syz-executor
 92587  315146  28975     0  3           0  0x4000080 fsleep    syz-executor
  9709   43515  64724     0  3         0x2       0x80 wait      syz-executor
 10332  357564      1     0  3    0x100003       0x80 ttyin     getty
 49629   35953  64724     0  3         0x2       0x80 nanoslp   syz-executor
 76059  220465  64724     0  2         0x2      0xc80           syz-executor
 23509  239976  64724     0  2         0x2      0xc80           syz-executor
 33137  271148  64724     0  2         0x2      0xc80           syz-executor
 92016  398149  64724     0  3         0x2          0 biowait   syz-executor
 28975  416378  64724     0  2         0x2      0xc80           syz-executor
 64724  484545      1     0  3         0x2       0x80 kqread    syz-executor
 66299  154699      1    74  3   0x1100012       0x80 bpf       pflogd
 54724   37918      1    73  3   0x1100010       0x80 kqread    syslogd
 86178  226990      0     0  3     0x14000      0x200 bored     smr
 40625  464422      0     0  2     0x14000      0x200           zerothread
   538   29729      0     0  3     0x14000      0x200 aiodoned  aiodoned
 58430  410897      0     0  3     0x14000      0x200 syncer    update
 31813  366514      0     0  3     0x14000      0x200 cleaner   cleaner
  7021  117904      0     0  3     0x14000      0x200 reaper    reaper
 99158  159094      0     0  3     0x14000      0x200 pgdaemon  pagedaemon
  9666  376987      0     0  3     0x14000      0x200 bored     viomb
  2470   43066      0     0  3     0x14000 0x40000200 acpi0     acpi0
 98532   15152      0     0  3     0x14000 0x40000200           idle1
 43785  402555      0     0  3     0x14000      0x200 bored     softnet1
   161  109063      0     0  3     0x14000      0x200 bored     softnet0
 11053  217542      0     0  3     0x14000      0x200 bored     systqmp
 53352  241534      0     0  3     0x14000      0x200 bored     systq
 69332   20765      0     0  2     0x14000      0x200           softclockmp
 75771  324145      0     0  3     0x14000 0x40000200 tmoslp    softclock
 33346  379010      0     0  3     0x14000 0x40000200           idle0
     1  375804      0     0  3         0x2       0x80 wait      init
     0       0     -1     0  3     0x10000      0x200 scheduler swapper
ddb{0}> show all locks
Process 39894 (ifconfig) thread 0xffff800045feea78 (494060)
exclusive rwlock clonelk r = 0 (0xffffffff838fc2f8)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2  if_clone_destroy+0x93 sys/net/if.c:-1
#3  ifioctl+0x59d sys/net/if.c:2160
#4  sys_ioctl+0x674 sys/kern/sys_generic.c:-1
#5  syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#5  syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
#6  Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83aa2640)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  ifioctl+0x58c sys/net/if.c:2160
#2  sys_ioctl+0x674 sys/kern/sys_generic.c:-1
#3  syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#3  syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
#4  Xsyscall+0x128
Process 92016 (syz-executor) thread 0xffff80002a222540 (398149)
exclusive rrwlock inode r = 0 (0xfffff0806ed85118)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2  rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3  VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
#4  ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline]
#4  ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:150
#5  ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232
#6  ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393
#7  ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112
#8  VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394
#9  domkdirat+0x179 sys/kern/vfs_syscalls.c:3063
#10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffff0807346ed68)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2  rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3  VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:576
#5  vfs_lookup+0x12b sys/kern/vfs_lookup.c:431
#6  namei+0x7c5 sys/kern/vfs_lookup.c:250
#7  domkdirat+0x8b sys/kern/vfs_syscalls.c:3048
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
#9  Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11059  12100K   12239K 166960K     12467        0
            pcb    18     12K      12K 166960K        89        0
         rtable   162      6K       7K 166960K       458        0
             pf    36     18K      26K 166960K       409        0
         ifaddr    34      5K       7K 166960K        74        0
        ifgroup    55      2K       2K 166960K       102        0
         sysctl     3      1K       9K 166960K         7        0
       counters    70     37K      38K 166960K       110        0
       ioctlops     0      0K       4K 166960K      1589        0
            iov     0      0K      12K 166960K         2        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1294     81K      82K 166960K      1757        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       9K 166960K        17        0
         VM map     2      1K       1K 166960K         2        0
            sem     7      0K       0K 166960K         7        0
        dirhash    12      2K       2K 166960K        15        0
           ACPI  1734    201K     291K 166960K     11964        0
      file desc    19     69K      89K 166960K       538        0
          sigio     0      0K       0K 166960K         2        0
           proc    27     49K     196K 166960K       629        0
        subproc    72      4K       4K 166960K       108        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     2      0K       0K 166960K        31        0
       in_multi    66      4K       6K 166960K       128        0
    ether_multi     1      0K       0K 166960K         1        0
            mrt     0      0K       0K 166960K        15        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    73    334K     334K 166960K        73        0
           exec     0      0K       1K 166960K       449        0
   fusefs mount     1     32K      32K 166960K         1        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   148     93K     169K 166960K      6513        0
       UVM aobj    19      4K       4K 166960K        19        0
     pinsyscall    25     50K     105K 166960K      1786        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        11        0
            NDP    12      0K       1K 166960K        50        0
           temp    39   9114K    9122K 166960K     24977        0
         kqueue     4      6K      28K 166960K        80        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       28    0        0     1     0     1     1     0     8    0
rtpcb      120       48    0       48     1     0     1     1     0     8    1
rtentry    176      140    0       74     5     0     5     5     0     8    0
unpcb      144      202    0      197     1     0     1     1     0     8    0
syncache   336        5    0        5     2     1     1     1     0     8    1
tcpcb      736       78    0       76     1     0     1     1     0     8    0
arp        136       23    0       11     1     0     1     1     0     8    0
inpcb      328      277    0      272     2     0     2     2     0     8    1
nd6        152       30    0       15     1     0     1     1     0     8    0
pkpcb       40        1    0        1     1     0     1     1     0     8    1
kcovpl      48       12    0        4     1     0     1     1     0     8    0
ppxss      1192      15    0       15     1     0     1     1     0     8    1
pppxif     1576       1    0        1     1     1     0     1     0     8    0
pfstscr     40       20    0       18     1     0     1     1     0     8    0
pffrag     232       17    0        7     1     0     1     1     0   482    0
pffrnode    88       17    0        7     1     0     1     1     0     8    0
pffrent     40       33    0       23     1     0     1     1     0     8    0
pfosfp      40     1428    0     1428     5     0     5     5     0     8    5
pfosfpen   112     1428    0     1428    21     0    21    21     0     8   21
pfrktable  1344       3    0        1     1     0     1     1     0     8    0
pfsrclim   320        1    0        0     1     0     1     1     0     8    0
pfanchor   1288     111    0      110     1     0     1     1     0     8    0
pfstitem    24       52    0       12     1     0     1     1     0     8    0
pfstkey    128       58    0        8     2     0     2     2     0     8    0
pfstate    448       48    0        9     5     0     5     5     0     8    0
pfrule     1360      28    0       16     2     0     2     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      609    0      299    29     1    28    29     0     8    3
art_table   40      610    0      299     5     0     5     5     0     8    0
art_node    32      140    0       81     1     0     1     1     0     8    0
sysvmsgpl   40        1    0        0     1     0     1     1     0     8    0
semapl      72        5    0        0     1     0     1     1     0     8    0
shmpl      112       16    0        0     1     0     1     1     0     8    0
dirhash    1024      19    0        2     3     0     3     3     0     8    0
dino2pl    256     2230    0      758    93     0    93    93     0     8    0
ffsino     296     2230    0      758   114     0   114   114     0     8    0
nchpl      144     2878    0     1168    64     0    64    64     0     8    0
rtmask      32        1    0        1     1     1     0     1     0     8    0
vnodes     216     2586    0        0   144     0   144   144     0     8    0
namei      1024    8787    0     8786     2     1     1     2     0     8    0
percpumem   16       71    0       20     1     0     1     1     0     8    0
pfiaddrpl  120        1    0        0     1     0     1     1     0     8    0
kstatmem   264       65    0       36     3     0     3     3     0     8    0
scsiplug    72       21    0       21     1     0     1     1     0     8    1
scxspl     216    10505    0    10504    11     7     4     8     1     8    3
plimitpl   152       50    0       38     1     0     1     1     0     8    0
sigapl     424      857    0      818     7     1     6     7     0     8    0
knotepl    120      280    0        0     9     0     9     9     0     8    0
kqueuepl   224       95    0       92     1     0     1     1     0     8    0
pipepl     344      171    0      143     3     0     3     3     0     8    0
fdescpl    528      841    0      818     3     0     3     3     0     8    0
filepl     160     3344    0     3169    11     0    11    11     0     8    2
lockfpl    104      163    0      163     1     0     1     1     0     8    1
lockfspl    48       74    0       74     1     0     1     1     0     8    1
sessionpl  144       45    0       40     1     0     1     1     0     8    0
pgrppl      48       58    0       45     1     0     1     1     0     8    0
ucredpl    104      437    0      430     1     0     1     1     0     8    0
zombiepl   144      818    0      818     1     0     1     1     0     8    1
processpl  1232     857    0      818     5     1     4     5     0     8    0
procpl     664     1333    0     1287     6     0     6     6     0     8    2
sosppl     176        2    0        2     1     0     1     1     0     8    1
sockpl     752      531    0      521     5     1     4     5     0     8    2
mcl64k     65536     22    0        0     3     0     3     3     0     8    0
mcl16k     16384     11    0        0     2     0     2     2     0     8    0
mcl12k     12288      2    0        0     1     0     1     1     0     8    0
mcl9k128   9344       2    0        0     1     0     1     1     0     8    0
mcl8k      8192       5    0        0     1     0     1     1     0     8    0
mcl4k      4096     117    0        0    15     0    15    15     0     8    0
mcl2k2     2112       4    0        0     1     0     1     1     0     8    0
mcl2k      2048      32    0        0     4     0     4     4     0     8    0
mextrefs    64       38    0        0     1     0     1     1     0     8    0
mtagpl      96        5    0        0     1     0     1     1     0     8    0
mbufpl     256      246    0        0    16     0    16    16     0     8    0
bufpl      272     3273    0      107   212     0   212   212     0     8    0
anonpl      32     7795    0        0    63     0    63    63     0   247    0
amapchunkpl 152   19464    0    19109    25     1    24    24     0   158   10
amappl16   200     1990    0     1976    16    10     6    15     0     8    4
amappl15   192        5    0        5     1     1     0     1     0     8    0
amappl14   184      465    0      463     1     0     1     1     0     8    0
amappl13   176      132    0      129     1     0     1     1     0     8    0
amappl12   168     1181    0     1161     2     0     2     2     0     8    0
amappl11   160       30    0       30     2     2     0     1     0     8    0
amappl10   152       67    0       63     1     0     1     1     0     8    0
amappl9    144      376    0      376     1     1     0     1     0     8    0
amappl8    136      114    0      112     1     0     1     1     0     8    0
amappl7    128      172    0      167     1     0     1     1     0     8    0
amappl6    120      198    0      195     1     0     1     1     0     8    0
amappl5    112       98    0       96     1     0     1     1     0     8    0
amappl4    104      313    0      303     1     0     1     1     0     8    0
amappl3     96     3978    0     3898     4     0     4     4     0     8    1
amappl2     88      573    0      556     2     0     2     2     0     8    0
amappl1     80    12349    0    12161    15     2    13    15     0     8    3
amappl      88     5685    0     5564     5     0     5     5     0    92    1
uvmvnodes   80      106    0        0     3     0     3     3     0     8    0
dma65536   65536     10    0       10     1     0     1     1     0     8    1
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma1024    1024       1    0        0     1     0     1     1     0     8    0
dma256     256        6    0        6     1     1     0     1     0     8    0
dma128     128      274    0      274     2     1     1     1     0     8    1
dma64       64        6    0        6     1     1     0     1     0     8    0
dma32       32        7    0        7     1     1     0     1     0     8    0
dma16       16       18    0       17     1     0     1     1     0     8    0
aobjpl      72       18    0        0     1     0     1     1     0     8    0
uaddrrnd    24      841    0      818     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      841    0      818     1     0     1     1     0     8    0
vmmpekpl   168     8374    0     8327     3     0     3     3     0     8    0
vmmpepl    168    60543    0    59569    97     4    93    97     0   357   43
vmsppl     488      840    0      818     5     1     4     5     0     8    0
rwobjpl     80    18920    0    18378    27     3    24    27     0     8    0
pdppl      4096    1689    0     1636   101    48    53    83     0     8    0
pvpl        32    15396    0        0   126     1   125   126     0   265    0
pmappl     256      840    0      818     3     0     3     3     0     8    0
extentpl    40       46    0       28     1     0     1     1     0     8    0
phpool     112      499    0       53    14     1    13    13     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834bf7b2) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff834fa343,ffffffff835425a8,13f,ffffffff83437977) at __assert+0x29 sys/kern/subr_prf.c:-1
tun_clone_destroy(ffff8000015e3800) at tun_clone_destroy+0x38a
if_clone_destroy(ffff80002a35bf60) at if_clone_destroy+0x205 sys/net/if.c:1479
ifioctl(ffff800010fdd4a0,80206979,ffff80002a35bf60,ffff800045feea78) at ifioctl+0x59d sys/net/if.c:2160
sys_ioctl(ffff800045feea78,ffff80002a35c140,ffff80002a35c090) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80002a35c140) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a35c140) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x786901371410, count: -9
ddb{0}> 

Crashes (122):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/20 02:24 openbsd 16594d90c4be 72524a66 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/07/15 14:45 openbsd af68cf7bb0f1 a4ed0f4f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/07/02 10:21 openbsd 30d0e3967450 27192279 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/06/04 11:39 openbsd e8e5aa2db9cf 197909be .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/06/02 16:05 openbsd d620432c9d9a cb4e87ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/05/17 00:20 openbsd c057dfdb27e5 340bcdf0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/04/08 16:47 openbsd 15cb22fda4ec 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2026/03/24 12:24 openbsd 7348976a6ac6 74e70d19 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/03/23 03:11 openbsd 33c7e43e4e2f 5b92003d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/03/21 05:52 openbsd a71bcab410b6 5b92003d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/03/17 14:07 openbsd 7b59c65f5490 0737c18f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/02/01 20:57 openbsd 455fdbe5e703 6b8752f2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/01/30 08:29 openbsd b822cddf2b35 bfa73b7b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/01/24 10:40 openbsd 652212f689da 40acda8a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2026/01/15 05:08 openbsd ac9e191703f1 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2026/01/10 20:57 openbsd 7ae91379da7d 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/12/28 09:21 openbsd d9ef728109ec 5dc09de1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "sc->sc_dev == NUM" failed in if_tun.c
2025/11/15 20:50 openbsd 42d4ce758e42 f7988ea4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/11/15 07:01 openbsd 56163c0cd41e f7988ea4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/11/15 05:56 openbsd 56163c0cd41e f7988ea4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/11/15 03:40 openbsd 56163c0cd41e f7988ea4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/13 22:48 openbsd 13656af3a292 b6605ba8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/13 21:46 openbsd 13656af3a292 b6605ba8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/12 18:37 openbsd d388a6109664 ff1712fe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/11 07:28 openbsd 4cb29f8dafd8 ff1712fe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/11 06:10 openbsd 4cb29f8dafd8 ff1712fe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/11 03:18 openbsd 4cb29f8dafd8 ff1712fe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/10 07:34 openbsd f02b280c025a ff1712fe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/10 01:07 openbsd f02b280c025a ff1712fe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/09 09:32 openbsd 42468faed836 7e2882b3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/09 02:01 openbsd 42468faed836 7e2882b3 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/06 21:51 openbsd f4db8a7c3d37 8ef35d49 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/06 20:21 openbsd 005f30971033 91305dbe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/06 19:01 openbsd 005f30971033 91305dbe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/06 15:56 openbsd 005f30971033 91305dbe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/06 11:50 openbsd 005f30971033 91305dbe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/06 10:32 openbsd 005f30971033 91305dbe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/06 09:13 openbsd 005f30971033 91305dbe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/05 17:40 openbsd f5a48fab3694 770ff59f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/05 16:07 openbsd f5a48fab3694 770ff59f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/04 21:11 openbsd cda73d07f20e 770ff59f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/04 17:26 openbsd cda73d07f20e 770ff59f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/04 14:50 openbsd cda73d07f20e 770ff59f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/10/04 05:04 openbsd 467d022937bc 770ff59f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
2025/02/10 06:38 openbsd 275cd30cffcd ef44b750 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "sc->sc_dev == NUM" failed in if_tun.c
* Struck through repros no longer work on HEAD.