syzbot


protection_fault: bpfdetach

Status: upstream: reported on 2025/02/16 16:28
Reported-by: syzbot+47d95e88904ebdae1d04@syzkaller.appspotmail.com
First crash: 364d, last: 3d00h

Sample crash report:
kernel: protection fault trap, code=0
Stopped at      bpfdetach+0x70: movq    0(%r15),%r12
ddb{0}> 
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
the kernel did not panic
ddb{0}> trace
bpfdetach(ffff80000159f000) at bpfdetach+0x70 sys/net/bpf.c:1770
if_detach(ffff80000159f000) at if_detach+0x12b sys/net/if.c:1288
tun_clone_destroy(ffff80000159f000) at tun_clone_destroy+0x2ce sys/net/if_tun.c:347
if_clone_destroy(ffff8000383de430) at if_clone_destroy+0x205 sys/net/if.c:1478
ifioctl(ffff8000015af4a8,80206979,ffff8000383de430,ffff80003c426558) at ifioctl+0x59d sys/net/if.c:2159
sys_ioctl(ffff80003c426558,ffff8000383de610,ffff8000383de560) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff8000383de610) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff8000383de610) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xd0019655af0, count: -8
ddb{0}> show registers
rdi               0xffff8000327c7000
rsi                          0x196c0    acpi_pdirpa+0x5531
rbp               0xffff8000383de250
rbx                       0x80206979    __kernel_virt_to_phys+0x206979
rdx               0xffff8000327c7000
rcx                          0x196bf    acpi_pdirpa+0x5530
rax               0xffffffff8297a3f9    bpfdetach+0xb9
r8                0xfffffd806b46e900
r9                                 0
r10               0xffff8000383de110
r11               0x670e7f648c2fdf50
r12               0xdeaf0002deafbead
r13               0xffff80000159f600
r14               0xffff80000159f000
r15               0xdeaf0002deafbead
rip               0xffffffff8297a3b0    bpfdetach+0x70
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff8000383de220
ss                              0x10
bpfdetach+0x70: movq    0(%r15),%r12
ddb{0}> show proc
PROC (syz-executor) tid=417246 pid=70501 tcnt=3 stat=onproc
    flags process=0 proc=4000000<THREAD>
    runpri=32, usrpri=86, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80003c427250,0xffff80003c4274f8
    process=0xffff80003c410e90 user=0xffff8000383d9000, vmspace=0xfffffd806b85f018
    estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 90121  478670  92465      0  2           0                syz-executor
 90121   30790  92465      0  2   0x4000000                syz-executor
 75526  202268  60217      0  3        0x80  nanoslp       syz-executor
 75526  305242  60217      0  3   0x4000080  lockf         syz-executor
 75526  135683  60217      0  3   0x4000080  fsleep        syz-executor
 70501  519458  57698      0  3        0x80  nanoslp       syz-executor
 70501  165021  57698      0  3   0x4000080  kqsel         syz-executor
*70501  417246  57698      0  7   0x4000000                syz-executor
 94543  213300  26229      0  3        0x80  nanoslp       syz-executor
 94543  446361  26229      0  3   0x4000080  pppxread      syz-executor
 94543  244631  26229      0  3   0x4000080  fsleep        syz-executor
 84533  310880  89870      0  2         0x2                syz-executor
 60217  372439  89870      0  3        0x82  nanoslp       syz-executor
 40710   62983  89870      0  3        0x82  nanoslp       syz-executor
  3942  387964  89870      0  3        0x82  wait          syz-executor
 57698   90159  89870      0  3        0x82  nanoslp       syz-executor
 26229    6965  89870      0  3        0x82  nanoslp       syz-executor
 92465  459224  89870      0  3        0x82  nanoslp       syz-executor
 27638  152637  89870      0  2         0x2                syz-executor
 89870  462939  20810      0  3        0x82  kqread        syz-executor
 20810  120608  48288      0  3    0x10008a  sigsusp       ksh
 48288   98138  24595      0  3        0x98  kqread        sshd-session
 24595  220506  66321      0  3        0x92  kqread        sshd-session
 32331  144116      1      0  3    0x100083  ttyin         getty
 66321  501283      1      0  3        0x88  kqread        sshd
 25973  450402  70961     74  3   0x1100092  bpf           pflogd
 70961  368415      1      0  3        0x80  sbwait        pflogd
 81108   68042  35712     73  3   0x1100090  kqread        syslogd
 35712  277039      1      0  3    0x100082  sbwait        syslogd
 59293  240289      1      0  3    0x100080  kqread        resolvd
  7559   67344  33715     77  3    0x100092  kqread        dhcpleased
 55077   26099  33715     77  3    0x100092  kqread        dhcpleased
 33715  409841      1      0  3        0x80  kqread        dhcpleased
 89655  420178      0      0  3     0x14200  bored         smr
 47386  226182      0      0  3     0x14200  pgzero        zerothread
 16665  326282      0      0  3     0x14200  aiodoned      aiodoned
 13795  302838      0      0  3     0x14200  syncer        update
 25235  384514      0      0  3     0x14200  cleaner       cleaner
 28371   95700      0      0  3     0x14200  reaper        reaper
 54283  168020      0      0  3     0x14200  pgdaemon      pagedaemon
 92299  304446      0      0  3     0x14200  bored         viomb
 34657  119847      0      0  3  0x40014200  acpi0         acpi0
 19266  356593      0      0  3  0x40014200                idle1
 57405  472732      0      0  3     0x14200  bored         softnet1
 67715   66133      0      0  2     0x14200                softnet0
 89708  239162      0      0  3     0x14200  bored         systqmp
 87053  112393      0      0  3     0x14200  bored         systq
 77913  323433      0      0  3     0x14200  tmoslp        softclockmp
 94274  344813      0      0  3  0x40014200  tmoslp        softclock
 67092  390754      0      0  3  0x40014200                idle0
     1  303523      0      0  3        0x82  wait          init
     0       0     -1      0  3  0x10010200  scheduler     swapper
ddb{0}> show all locks
Process 70501 (syz-executor) thread 0xffff80003c426558 (417246)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83952040)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1
#2  sleep_finish+0x2d8 sys/kern/kern_synch.c:369
#3  rw_do_enter_write+0x1dc sys/kern/kern_rwlock.c:298
#4  bpf_detachd+0x1c2 sys/net/bpf.c:345
#5  bpfclose+0x101 sys/net/bpf.c:417
#6  spec_close+0x466 sys/kern/spec_vnops.c:-1
#7  VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
#8  vclean+0x20f sys/kern/vfs_subr.c:1083
#9  vgonel+0xb0 sys/kern/vfs_subr.c:1185
#10 vop_generic_revoke+0x3ea sys/kern/vfs_default.c:124
#11 VOP_REVOKE+0x65 sys/kern/vfs_vops.c:291
#12 vdevgone+0x17b sys/kern/vfs_subr.c:-1
#13 bpfsdetach+0x155 sys/net/bpf.c:1794
#14 bpfdetach+0xa6 sys/net/bpf.c:-1
#15 if_detach+0x12b sys/net/if.c:1288
#16 tun_clone_destroy+0x2ce sys/net/if_tun.c:347
#17 if_clone_destroy+0x205 sys/net/if.c:1478
#18 ifioctl+0x59d sys/net/if.c:2159
exclusive rwlock clonelk r = 0 (0xffffffff837d9a78)
#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:2159
#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:775
#6  Xsyscall+0x128
Process 84533 (syz-executor) thread 0xffff80002a262d08 (310880)
exclusive rrwlock inode r = 0 (0xfffffd806e860a58)
#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:570
#5  vget+0x2a2 sys/kern/vfs_subr.c:686
#6  ufs_ihashget+0x185 sys/ufs/ufs/ufs_ihash.c:98
#7  ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1203
#8  ufs_lookup+0x1a36 sys/ufs/ufs/ufs_lookup.c:478
#9  VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85
#10 vfs_lookup+0x93a sys/kern/vfs_lookup.c:566
#11 namei+0x7ca sys/kern/vfs_lookup.c:250
#12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868
#13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806cd9b200)
#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:570
#5  vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1
#6  namei+0x7ca sys/kern/vfs_lookup.c:250
#7  dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
#9  Xsyscall+0x128
Process 27638 (syz-executor) thread 0xffff80002a284548 (152637)
exclusive rrwlock inode r = 0 (0xfffffd806e81ded8)
#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:570
#5  vget+0x2a2 sys/kern/vfs_subr.c:686
#6  ufs_ihashget+0x185 sys/ufs/ufs/ufs_ihash.c:98
#7  ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1203
#8  ufs_lookup+0x1a36 sys/ufs/ufs/ufs_lookup.c:478
#9  VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85
#10 vfs_lookup+0x93a sys/kern/vfs_lookup.c:566
#11 namei+0x7ca sys/kern/vfs_lookup.c:250
#12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868
#13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806b67c6a8)
#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:570
#5  vget+0x2a2 sys/kern/vfs_subr.c:686
#6  cache_lookup+0x351 sys/kern/vfs_cache.c:222
#7  ufs_lookup+0x1e3 sys/ufs/ufs/ufs_lookup.c:160
#8  VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85
#9  vfs_lookup+0x93a sys/kern/vfs_lookup.c:566
#10 namei+0x7ca sys/kern/vfs_lookup.c:250
#11 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868
#12 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#12 syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
#13 Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11077  12205K   12442K 166960K     12501        0
            pcb    17     12K      12K 166960K        71        0
         rtable   243      9K       9K 166960K       406        0
             pf    36     17K      20K 166960K        61        0
         ifaddr    43      7K       7K 166960K        60        0
        ifgroup    57      2K       2K 166960K        77        0
         sysctl     3      1K       9K 166960K        10        0
       counters    74     37K      38K 166960K       112        0
       ioctlops     0      0K       4K 166960K      1580        0
            iov     0      0K      16K 166960K        23        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1377     87K      87K 166960K      1613        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         6        0
         VM map     2      1K       1K 166960K         2        0
            sem     8      0K       0K 166960K        12        0
        dirhash    12      2K       2K 166960K        18        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    16     57K      89K 166960K       403        0
          sigio     0      0K       0K 166960K         3        0
           proc    73    115K     164K 166960K       569        0
        subproc    72      4K       4K 166960K        72        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K       175        0
       in_multi    95      7K       7K 166960K       122        0
    ether_multi     1      0K       0K 166960K         4        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       416        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   236    151K     161K 166960K      5392        0
       UVM aobj     9      8K       8K 166960K         9        0
     pinsyscall    41     82K     102K 166960K      1530        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        16        0
            NDP    13      0K       1K 166960K        40        0
           temp    40   8675K    8750K 166960K      7800        0
         kqueue    13     20K      32K 166960K        90        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       26    0        0     1     0     1     1     0     8    0
rtpcb      120       54    0       51     1     0     1     1     0     8    0
rtentry    176      115    0        9     6     0     6     6     0     8    0
unpcb      144      299    0      282     6     5     1     6     0     8    0
syncache   336        3    0        3     1     1     0     1     0     8    0
tcpcb      736       62    0       58     1     0     1     1     0     8    0
arp        136       19    0        1     1     0     1     1     0     8    0
inpcb      328      283    0      273     3     1     2     2     0     8    0
nd6        152       24    0        2     1     0     1     1     0     8    0
pkpcb       40        2    0        2     1     1     0     1     0     8    0
kcovpl      48        8    0        0     1     0     1     1     0     8    0
ppxss      1192      21    0       19     1     0     1     1     0     8    0
pffrag     232        2    0        0     1     0     1     1     0   482    0
pffrnode    88        2    0        0     1     0     1     1     0     8    0
pffrent     40        2    0        0     1     0     1     1     0     8    0
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
art_heap8  4096       2    0        0     2     0     2     2     0     8    0
art_heap4  256      465    0       18    29     0    29    29     0     8    0
art_table   40      467    0       18     5     0     5     5     0     8    0
art_node    32      115    0       18     1     0     1     1     0     8    0
sysvmsgpl   40        4    0        2     1     0     1     1     0     8    0
semupl     112        3    0        3     1     1     0     1     0     8    0
semapl     112       10    0        4     1     0     1     1     0     8    0
shmpl      112        3    0        0     1     0     1     1     0     8    0
dirhash    1024      21    0        4     3     0     3     3     0     8    0
dino2pl    256     2127    0      611    95     0    95    95     0     8    0
ffsino     296     2127    0      611   117     0   117   117     0     8    0
nchpl      144     2704    0      990    64     0    64    64     0     8    0
rtmask      32        5    0        5     2     1     1     1     0     8    1
vnodes     216     2348    0        0   131     0   131   131     0     8    0
namei      1024    8902    0     8902     2     1     1     1     0     8    1
percpumem   16       71    0       19     1     0     1     1     0     8    0
vcpupl     3968       3    0        0     1     0     1     1     0     8    0
vmpool     848        3    0        0     1     0     1     1     0     8    0
kstatmem   264       48    0       20     4     1     3     3     0     8    0
scsiplug    72        4    0        4     2     1     1     1     0     8    1
scxspl     216     9267    0     9267     5     4     1     3     1     8    1
plimitpl   152       64    0       45     1     0     1     1     0     8    0
sigapl     424      716    0      670     7     1     6     7     0     8    0
knotepl    120      546    0        0    17     0    17    17     0     8    0
kqueuepl   224      124    0      113     3     1     2     2     0     8    0
pipepl     344      142    0      114     3     0     3     3     0     8    0
fdescpl    528      696    0      666     3     0     3     3     0     8    0
filepl     160     3582    0     3352    16     5    11    16     0     8    1
lockfpl    104      103    0       98     1     0     1     1     0     8    0
lockfspl    48       48    0       45     1     0     1     1     0     8    0
sessionpl  144       22    0       13     1     0     1     1     0     8    0
pgrppl      48       33    0       16     1     0     1     1     0     8    0
ucredpl    104      330    0      317     1     0     1     1     0     8    0
zombiepl   144      672    0      670     1     0     1     1     0     8    0
processpl  1232     716    0      670     5     0     5     5     0     8    0
procpl     664     1206    0     1153     6     0     6     6     0     8    0
sosppl     176        5    0        5     1     1     0     1     0     8    0
sockpl     752      646    0      616    18    14     4    18     0     8    0
mcl64k     65536      5    0        0     1     0     1     1     0     8    0
mcl16k     16384      5    0        0     1     0     1     1     0     8    0
mcl12k     12288      1    0        0     1     0     1     1     0     8    0
mcl8k      8192       2    0        0     1     0     1     1     0     8    0
mcl4k      4096     119    0        0    15     0    15    15     0     8    0
mcl2k2     2112       1    0        0     1     0     1     1     0     8    0
mcl2k      2048      25    0        0     4     0     4     4     0     8    0
mtagpl      96        3    0        0     1     0     1     1     0     8    0
mbufpl     256      147    0        0    10     0    10    10     0     8    0
bufpl      280     3374    0      134   232     0   232   232     0     8    0
anonpl      32     7577    0        0    62     0    62    62     0   246    0
amapchunkpl 152   17099    0    16628    30     3    27    27     0   158    6
amappl16   200     2699    0     2669    17    13     4    15     0     8    0
amappl15   192        8    0        8     2     2     0     1     0     8    0
amappl14   184        4    0        4     1     1     0     1     0     8    0
amappl13   176      425    0      424     1     0     1     1     0     8    0
amappl12   168     1057    0     1016     3     0     3     3     0     8    0
amappl11   160       29    0       29     1     1     0     1     0     8    0
amappl10   152       56    0       40     1     0     1     1     0     8    0
amappl9    144      309    0      309     1     1     0     1     0     8    0
amappl8    136       28    0       26     1     0     1     1     0     8    0
amappl7    128      106    0      105     1     0     1     1     0     8    0
amappl6    120      277    0      264     1     0     1     1     0     8    0
amappl5    112       78    0       67     1     0     1     1     0     8    0
amappl4    104      412    0      383     1     0     1     1     0     8    0
amappl3     96     2856    0     2766     3     0     3     3     0     8    0
amappl2     88      807    0      732     2     0     2     2     0     8    0
amappl1     80    10057    0     9457    15     2    13    15     0     8    0
amappl      88     4624    0     4465     5     0     5     5     0    92    0
uvmvnodes   80      114    0        0     3     0     3     3     0     8    0
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      255    0      255     2     2     0     1     0     8    0
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        8    0        0     1     0     1     1     0     8    0
uaddrrnd    24      696    0      666     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      696    0      666     1     0     1     1     0     8    0
vmmpekpl   168     7413    0     7373     3     0     3     3     0     8    0
vmmpepl    168    51606    0    49721    98     9    89    97     0   357    1
vmsppl     488      695    0      666     5     1     4     5     0     8    0
rwobjpl     80    16928    0    15870    27     3    24    27     0     8    0
pdppl      4096    1405    0     1335   101    27    74    83     0     8    4
pvpl        32    13877    0        0   114     2   112   112     0   265    0
pmappl     256      698    0      666     3     0     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      272    0       31     7     0     7     7     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
bpfdetach(ffff80000159f000) at bpfdetach+0x70 sys/net/bpf.c:1770
if_detach(ffff80000159f000) at if_detach+0x12b sys/net/if.c:1288
tun_clone_destroy(ffff80000159f000) at tun_clone_destroy+0x2ce sys/net/if_tun.c:347
if_clone_destroy(ffff8000383de430) at if_clone_destroy+0x205 sys/net/if.c:1478
ifioctl(ffff8000015af4a8,80206979,ffff8000383de430,ffff80003c426558) at ifioctl+0x59d sys/net/if.c:2159
sys_ioctl(ffff80003c426558,ffff8000383de610,ffff8000383de560) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff8000383de610) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff8000383de610) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xd0019655af0, count: -8
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
ddb{1}> trace
x86_ipi_db(ffff8000299ddff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff83951840) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83951840) at __mp_lock+0x192 sys/kern/kern_lock.c:173
__mp_acquire_count(ffffffff83951840,2) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1
sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:369
rw_do_enter_write(ffffffff837d9b58,0) at rw_do_enter_write+0x1dc sys/kern/kern_rwlock.c:298
if_detach(ffff8000015a1000) at if_detach+0x140 sys/net/if.c:1289
pppacclose(6384,81,2000,ffff80003c4274e8) at pppacclose+0x118 sys/net/if_pppx.c:1329
spec_close(ffff80003c47cde0) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd805f4cb060,81,fffffd80097fd4e0,ffff80003c4274e8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
vn_closefile(fffffd806b0bd7e8,ffff80003c4274e8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd806b0bd7e8,ffff80003c4274e8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615
fdrop(fffffd806b0bd7e8,ffff80003c4274e8) at fdrop+0x121 sys/kern/kern_descrip.c:1280
closef(fffffd806b0bd7e8,ffff80003c4274e8) at closef+0x192 sys/kern/kern_descrip.c:1264
fdfree(ffff80003c4274e8) at fdfree+0x116 sys/kern/kern_descrip.c:1195
exit1(ffff80003c4274e8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215
sys_exit(ffff80003c4274e8,ffff80003c47d150,ffff80003c47d0a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80003c47d150) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c47d150) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f38a36c9510, count: -19

Crashes (64):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/13 12:26 openbsd 7d8bc7d2b639 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/02/12 12:49 openbsd 012cf974ca6d 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/02/09 23:36 openbsd a82d9bb4a825 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/02/02 18:11 openbsd 28dc9acc561e 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/01/31 10:02 openbsd ffeb3c477d3b c75a2f6e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/01/30 20:18 openbsd dfcd5193b8f0 ae7dc18c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/01/19 14:23 openbsd 665aeba05e03 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/01/15 16:51 openbsd c600931321c7 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/01/13 13:20 openbsd 67ddd48175b9 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/01/10 23:59 openbsd 7ae91379da7d 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/01/08 05:04 openbsd d77c41cf8f5a c1f5c7d0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/12/30 06:40 openbsd 163664d81c58 17e6c961 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/12/20 21:09 openbsd df8f251ef5f9 e14dbeb9 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/12/20 06:14 openbsd ddef1afac53e e14dbeb9 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/12/15 18:56 openbsd 2c50c5af38ad a066d2bc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/12/15 07:26 openbsd b46de5080dd7 a066d2bc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/12/11 08:06 openbsd d004c0aeba6f 48b27acc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/12/11 06:57 openbsd d004c0aeba6f 48b27acc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/12/07 05:48 openbsd e763f357d7fa cee4cb10 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/11/19 16:23 openbsd 809b9478d116 82d7b894 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/11/18 01:38 openbsd 8720e5dd1696 ef766cd7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/11/16 09:27 openbsd 9c41abc406e3 f7988ea4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/11/09 13:02 openbsd e187005a6767 4e1406b4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/10/29 11:37 openbsd 9abc5df53d8a fd2207e7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/10/28 20:13 openbsd 46d840b2b363 fd2207e7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/10/18 07:49 openbsd 47c08dbbd8a3 1c8c8cd8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/10/12 00:48 openbsd ba3be980ae71 ff1712fe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/10/06 06:08 openbsd 005f30971033 770ff59f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/09/24 18:01 openbsd 3b2384bb597f 770ff59f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/09/17 21:56 openbsd cfdf5dc3e7db e2beed91 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/09/15 20:19 openbsd f5fd5ebfe1eb e2beed91 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/09/11 03:27 openbsd 56696e8786be fdeaa69b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/08/26 06:41 openbsd 07d23478ec82 bf27483f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/08/20 14:39 openbsd 8dd4d68c0f49 0b9605c8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/08/15 02:24 openbsd bc42849e5050 1804e95e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/08/14 08:05 openbsd 7a15ea66e78c 22ec1469 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/08/08 18:23 openbsd 297fbc8e674e 32a0e5ed .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/08/01 08:20 openbsd 3b565b651350 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/07/27 19:35 openbsd 7b0d12c26b01 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/07/27 03:19 openbsd 6ef41150cbc6 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/07/23 17:58 openbsd ceb7068b172a 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/07/21 09:37 openbsd df9e633562d5 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/07/18 16:31 openbsd 5561167ae35d 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/07/17 03:41 openbsd 9ce74a582983 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/07/16 18:25 openbsd 054bb2fd459c 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/07/15 13:18 openbsd feb5a82c5bff 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/07/12 10:45 openbsd 36cc672466d3 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/06/29 14:17 openbsd b4d1cb14c459 fc9d8ee5 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/06/17 14:03 openbsd 154de61c2e99 a5686133 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/06/16 12:43 openbsd b38eaba60654 d1716036 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/06/10 05:28 openbsd eb252dbb8be6 4826c28e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/06/09 16:58 openbsd 1ccd80029b5d 4826c28e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/06/06 05:41 openbsd b57dcb7bc7e3 6b6b5f21 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/06/03 20:25 openbsd e4273848146a a30356b7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/05/17 18:02 openbsd 007267a8c99a f41472b0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/05/16 05:41 openbsd 84d74105a289 cfde8269 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/04/11 09:46 openbsd 5990a1963d9d 94486846 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/04/01 07:11 openbsd 6cbbb384a28a e2826670 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/03/08 12:51 openbsd 083866324387 7e3bd60d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/03/04 05:09 openbsd 4602d4e06be3 c3901742 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/02/23 19:47 openbsd c8d1658b9cef d34966d1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/02/17 13:02 openbsd c48feb9479a9 4121cf9d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/02/16 16:27 openbsd 3411e7e2a484 40a34ec9 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
* Struck through repros no longer work on HEAD.