syzbot


protection_fault: bpfdetach

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

Sample crash report:
����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������kernel: protection fault trap, code=0
Stopped at      bpfdetach+0x70: movq    0(%r15),%r12
ddb{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
the kernel did not panic
ddb{1}> trace
bpfdetach(ffff80000148d800) at bpfdetach+0x70 sys/net/bpf.c:1770
if_detach(ffff80000148d800) at if_detach+0x1bb sys/net/if.c:1200
tun_clone_destroy(ffff80000148d800) at tun_clone_destroy+0x2ce sys/net/if_tun.c:340
if_clone_destroy(ffff80003a82d150) at if_clone_destroy+0x1d5 sys/net/if.c:1389
ifioctl(ffff8000014acf10,80206979,ffff80003a82d150,ffff80003c458558) at ifioctl+0x59d sys/net/if.c:2066
sys_ioctl(ffff80003c458558,ffff80003a82d330,ffff80003a82d280) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80003a82d330) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003a82d330) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xe2210b1d0f0, count: -8
ddb{1}> show registers
rdi                                0
rsi                                0
rbp               0xffff80003a82cf70
rbx                       0x80206979    __kernel_virt_to_phys+0x206979
rdx                                0
rcx               0xffff80003c458558
rax               0xffff8000299edff0
r8                                 0
r9                               0x1
r10               0xb0b895b48046e544
r11                0xf5b30085f4fc52d
r12               0xdeaf0002deafbead
r13               0xffff80000148de00
r14               0xffff80000148d800
r15               0xdeaf0002deafbead
rip               0xffffffff82c97950    bpfdetach+0x70
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff80003a82cf40
ss                              0x10
bpfdetach+0x70: movq    0(%r15),%r12
ddb{1}> show proc
PROC (syz-executor) tid=354810 pid=2679 tcnt=3 stat=onproc
    flags process=0 proc=4000000<THREAD>
    runpri=32, usrpri=72, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80003c459cb0,0xffff80003c4582d0
    process=0xffff8000374126a0 user=0xffff80003a828000, vmspace=0xfffffd806b7cf5d8
    estcpu=22, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 63805  264885  48931      0  2           0                syz-executor
 63805  180486  48931      0  3   0x4000000  biowait       syz-executor
 54165   39260  37146      0  2       0xc90                syz-executor
 54165  440122  37146      0  3   0x4000010  clonelk       syz-executor
 54165  154627  37146      0  3   0x4000010  clonelk       syz-executor
 54165  321110  37146      0  3   0x4000090  fsleep        syz-executor
 54165  365725  37146      0  3   0x4000090  fsleep        syz-executor
  2679   21503  38629      0  2       0xc80                syz-executor
  2679   28079  38629      0  3   0x4000000  clonelk       syz-executor
* 2679  354810  38629      0  7   0x4000000                syz-executor
 42487  448751  80561      0  2           0                syz-executor
 42487  517680  80561      0  7   0x4000000                syz-executor
 27763  346354      0      0  3     0x14200  bored         sosplice
 61072  370745   7315      0  2       0xc80                syz-executor
 61072  334718   7315      0  3   0x4000080  ttyout        syz-executor
 81003  247623  71459      0  2       0xc90                syz-executor
 81003  302595  71459      0  3   0x4000090  netacc        syz-executor
 81003   63830  71459      0  3   0x4000090  fsleep        syz-executor
 81003  391448  71459      0  3   0x4000090  fsleep        syz-executor
 11846  440277  78356      0  2         0x2                syz-executor
  7315  447324  78356      0  2       0xc82                syz-executor
 80561  459191  78356      0  2       0xc82                syz-executor
 37146  401021  78356      0  3        0x82  nanoslp       syz-executor
 90944  200244  78356      0  2       0xc82                syz-executor
 48931  133098  78356      0  3        0x82  nanoslp       syz-executor
 38629  277534  78356      0  2       0xc82                syz-executor
 71459   41237  78356      0  3        0x82  nanoslp       syz-executor
 78356  497125  45309      0  3        0x82  kqread        syz-executor
 45309  442150  24007      0  3    0x10008a  sigsusp       ksh
 24007  320077  62568      0  3        0x98  kqread        sshd-session
 62568  358878  14074      0  3        0x92  kqread        sshd-session
 47653  182502      1      0  3    0x100083  ttyin         getty
 14074  204818      1      0  3        0x88  kqread        sshd
 52517  366823  21505     74  3   0x1100092  bpf           pflogd
 21505  216492      1      0  3        0x80  sbwait        pflogd
 66728   72450  55589     73  3   0x1100090  kqread        syslogd
 55589  456344      1      0  3    0x100082  sbwait        syslogd
 64349    5879      1      0  3    0x100080  kqread        resolvd
 28544  373982  77499     77  3    0x100092  kqread        dhcpleased
   546  106958  77499     77  3    0x100092  kqread        dhcpleased
 77499  303328      1      0  3        0x80  kqread        dhcpleased
  2982  258356      0      0  3     0x14200  bored         smr
 93731  424840      0      0  2     0x14200                zerothread
 96893   56133      0      0  3     0x14200  aiodoned      aiodoned
 98190  463795      0      0  3     0x14200  syncer        update
 52699   61466      0      0  3     0x14200  cleaner       cleaner
 99998  172730      0      0  3     0x14200  reaper        reaper
 52137  402126      0      0  3     0x14200  pgdaemon      pagedaemon
 28627  432497      0      0  3     0x14200  bored         viomb
 10471  182405      0      0  3  0x40014200  acpi0         acpi0
 29887   25575      0      0  3  0x40014200                idle1
 28874  171714      0      0  3     0x14200  bored         softnet7
 44263  387225      0      0  3     0x14200  bored         softnet6
 69459  228466      0      0  3     0x14200  bored         softnet5
 59047  472593      0      0  3     0x14200  bored         softnet4
  2626  515956      0      0  3     0x14200  bored         softnet3
 26115  305864      0      0  3     0x14200  bored         softnet2
 93883   96342      0      0  3     0x14200  bored         softnet1
 39814     816      0      0  3     0x14200  bored         softnet0
 28990  371789      0      0  3     0x14200  bored         systqmp
 22308  281807      0      0  3     0x14200  bored         systq
 65489  105027      0      0  3     0x14200  tmoslp        softclockmp
 28585  447483      0      0  3  0x40014200  tmoslp        softclock
 79736  339009      0      0  3  0x40014200                idle0
     1  495126      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 63805 (syz-executor) thread 0xffff800033809778 (180486)
exclusive rrwlock inode r = 0 (0xfffffd806bef0a18)
#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+0xa3 sys/kern/vfs_vops.c:527
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:570
#5  uvm_vnp_uncache+0x1a2 sys/uvm/uvm_vnode.c:1411
#6  ffs_truncate+0x584 sys/ufs/ffs/ffs_inode.c:-1
#7  ufs_setattr+0x8e9 sys/ufs/ufs/ufs_vnops.c:403
#8  VOP_SETATTR+0x11b sys/kern/vfs_vops.c:210
#9  dotruncate+0x1da sys/kern/vfs_syscalls.c:2865
#10 sys_truncate+0x13e sys/kern/vfs_syscalls.c:2889
#11 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#11 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748
#12 Xsyscall+0x128
Process 2679 (syz-executor) thread 0xffff80003c458558 (354810)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff838aaa80)
#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:367
#3  rw_do_enter_write+0x1dc sys/kern/kern_rwlock.c:298
#4  bpf_detachd+0x1b2 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:1090
#9  vgonel+0xb0 sys/kern/vfs_subr.c:1192
#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+0x1bb sys/net/if.c:1200
#16 tun_clone_destroy+0x2ce sys/net/if_tun.c:340
#17 if_clone_destroy+0x1d5 sys/net/if.c:1389
#18 ifioctl+0x59d sys/net/if.c:2066
exclusive rwlock clonelk r = 0 (0xffffffff837ffb98)
#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+0x67 sys/net/if.c:-1
#3  ifioctl+0x59d sys/net/if.c:2066
#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:748
#6  Xsyscall+0x128
Process 11846 (syz-executor) thread 0xffff8000ffff2010 (440277)
exclusive rrwlock inode r = 0 (0xfffffd806b8067d0)
#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+0xa3 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:159
#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:3113
#10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806bef0200)
#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+0xa3 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  domkdirat+0x8b sys/kern/vfs_syscalls.c:3098
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:748
#9  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10204  11091K   11096K 166960K     11315        0
            pcb    18     14K      16K 166960K        23        0
         rtable   208      6K       6K 166960K       268        0
             pf    38     18K      19K 166960K        59        0
         ifaddr    44      7K       8K 166960K        54        0
        ifgroup    57      2K       2K 166960K        73        0
         sysctl     1      1K       9K 166960K         5        0
       counters    72     37K      37K 166960K        86        0
       ioctlops     0      0K       4K 166960K      1493        0
            iov     1      0K       4K 166960K         3        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1348     85K      85K 166960K      1388        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         4        0
         VM map     2      1K       1K 166960K         2        0
            sem     3      0K       0K 166960K         3        0
        dirhash    12      2K       2K 166960K        12        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    17     61K      93K 166960K       167        0
           proc    72    115K     180K 166960K       540        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         4        0
       in_multi    99      7K       7K 166960K       105        0
    ether_multi     1      0K       0K 166960K         1        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    37    175K     175K 166960K        37        0
           exec     0      0K       1K 166960K       377        0
   fusefs mount     1     32K      32K 166960K         1        0
     pfkey data     0      0K       0K 166960K         1        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   240    169K     174K 166960K      3260        0
       UVM aobj     6      2K       2K 166960K         6        0
     pinsyscall    42     84K     107K 166960K      1275        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K         2        0
            NDP    13      0K       2K 166960K        33        0
           temp    36   8638K    8702K 166960K      4129        0
         kqueue    14     22K      26K 166960K        29        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{1}> 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       37    0       34     1     0     1     1     0     8    0
rtentry    176       97    0        3     5     0     5     5     0     8    0
unpcb      144       59    0       34     2     0     2     2     0     8    1
syncache   336        3    0        3     1     0     1     1     0     8    1
tcpcb      736       19    0       15     1     0     1     1     0     8    0
arp        128       10    0        0     1     0     1     1     0     8    0
inpcb      328      194    0      184     9     0     9     9     0     8    7
nd6        144       16    0        0     1     0     1     1     0     8    0
pkpcb       40        2    0        2     1     0     1     1     0     8    1
kcovpl      48        8    0        0     1     0     1     1     0     8    0
ppxss      1192       6    0        4     1     0     1     1     0     8    0
pppxif     1504       2    0        2     1     0     1     1     0     8    1
pffrag     232        1    0        0     1     0     1     1     0   482    0
pffrnode    88        1    0        0     1     0     1     1     0     8    0
pffrent     40        1    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
pfstitem    24       16    0        0     1     0     1     1     0     8    0
pfstkey    128       16    0        0     1     0     1     1     0     8    0
pfstate    384       16    0        0     2     0     2     2     0     8    0
pfrule     1344      21    0       16     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      443    0        6    28     0    28    28     0     8    0
art_table   40      444    0        6     5     0     5     5     0     8    0
art_node    32       97    0       13     1     0     1     1     0     8    0
semapl     112        1    0        0     1     0     1     1     0     8    0
shmpl      112        3    0        0     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     1621    0      104    96     0    96    96     0     8    1
ffsino     296     1621    0      104   117     0   117   117     0     8    0
nchpl      144     1853    0      157    64     0    64    64     0     8    0
rtmask      32        1    0        0     1     0     1     1     0     8    0
uvmvnodes   80     1722    0        0    36     0    36    36     0     8    0
vnodes     216     1722    0        0    96     0    96    96     0     8    0
namei      1024    5832    0     5831     1     0     1     1     0     8    0
percpumem   16       58    0        7     1     0     1     1     0     8    0
kstatmem   264       36    0        8     3     0     3     3     0     8    0
scxspl     216     6643    0     6641     3     2     1     2     1     8    0
plimitpl   152       35    0       15     1     0     1     1     0     8    0
sigapl     424      479    0      425     7     0     7     7     0     8    0
knotepl    120      498    0        0    16     0    16    16     0     8    0
kqueuepl   224       31    0       20     1     0     1     1     0     8    0
pipepl     344      108    0       81     3     0     3     3     0     8    0
fdescpl    528      456    0      425     3     0     3     3     0     8    0
filepl     160     1854    0     1618    13     0    13    13     0     8    3
lockfpl    104        9    0        6     1     0     1     1     0     8    0
lockfspl    48        6    0        3     1     0     1     1     0     8    0
sessionpl  144       22    0       13     1     0     1     1     0     8    0
pgrppl      48       31    0       14     1     0     1     1     0     8    0
ucredpl    104       93    0       78     1     0     1     1     0     8    0
zombiepl   144      426    0      425     1     0     1     1     0     8    0
processpl  1232     479    0      425     5     0     5     5     0     8    0
procpl     664      541    0      475     6     0     6     6     0     8    0
sockpl     752      292    0      253    13     0    13    13     0     8    9
mcl8k      8192       2    0        0     1     0     1     1     0     8    0
mcl4k      4096     113    0        0    15     0    15    15     0     8    0
mcl2k      2048      36    0        0     5     0     5     5     0     8    0
mtagpl      96        2    0        0     1     0     1     1     0     8    0
mbufpl     256      183    0        0    12     0    12    12     0     8    0
bufpl      280     2983    0      118   205     0   205   205     0     8    0
anonpl      32     5478    0        0    45     0    45    45     0   246    0
amapchunkpl 152    9677    0     9122    35     3    32    32     0   158    8
amappl16   200     2047    0     2023     5     1     4     5     0     8    2
amappl15   192       11    0       10     1     0     1     1     0     8    0
amappl14   184      115    0      103     1     0     1     1     0     8    0
amappl13   176        7    0        7     1     1     0     1     0     8    0
amappl12   168     1111    0     1080     4     1     3     3     0     8    1
amappl11   160       49    0       35     1     0     1     1     0     8    0
amappl10   152       23    0       23     1     1     0     1     0     8    0
amappl9    144      280    0      280     1     1     0     1     0     8    0
amappl8    136       39    0       37     1     0     1     1     0     8    0
amappl7    128      107    0       95     1     0     1     1     0     8    0
amappl6    120      179    0      176     1     0     1     1     0     8    0
amappl5    112      121    0      112     1     0     1     1     0     8    0
amappl4    104      297    0      278     1     0     1     1     0     8    0
amappl3     96     1473    0     1361     4     0     4     4     0     8    1
amappl2     88      638    0      579     2     0     2     2     0     8    0
amappl1     80     8358    0     7752    15     0    15    15     0     8    1
amappl      88     2563    0     2397     5     0     5     5     0    92    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      253    0      253     1     1     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        5    0        0     1     0     1     1     0     8    0
uaddrrnd    24      456    0      425     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      456    0      425     1     0     1     1     0     8    0
vmmpekpl   168     5348    0     5311     2     0     2     2     0     8    0
vmmpepl    168    35814    0    33839    89     0    89    89     0   357    0
vmsppl     488      455    0      425     5     0     5     5     0     8    0
rwobjpl     80    14672    0    12023    56     0    56    56     0     8    1
pdppl      4096     920    0      850   102    16    86    86     0     8   16
pvpl        32    13131    0        0   106     0   106   106     0   265    0
pmappl     256      455    0      425     3     0     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      272    0       18     8     0     8     8     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
ddb{0}> trace
x86_ipi_db(ffffffff83791ff0) 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(ffffffff838aa878) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline]
__mp_lock(ffffffff838aa878) at __mp_lock+0x192 sys/kern/kern_lock.c:165
intr_handler(ffff80003c4335c0,ffff800000069c00) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559
Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f
__mp_lock(ffffffff838aa878) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline]
__mp_lock(ffffffff838aa878) at __mp_lock+0x192 sys/kern/kern_lock.c:165
intr_handler(ffff80003c433720,ffff800000079a80) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:559
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
end of kernel
end trace frame: 0x8930c30ab90, count: -9
ddb{0}> machine ddbcpu 1
Stopped at      bpfdetach+0x70: movq    0(%r15),%r12
ddb{1}> trace
bpfdetach(ffff80000148d800) at bpfdetach+0x70 sys/net/bpf.c:1770
if_detach(ffff80000148d800) at if_detach+0x1bb sys/net/if.c:1200
tun_clone_destroy(ffff80000148d800) at tun_clone_destroy+0x2ce sys/net/if_tun.c:340
if_clone_destroy(ffff80003a82d150) at if_clone_destroy+0x1d5 sys/net/if.c:1389
ifioctl(ffff8000014acf10,80206979,ffff80003a82d150,ffff80003c458558) at ifioctl+0x59d sys/net/if.c:2066
sys_ioctl(ffff80003c458558,ffff80003a82d330,ffff80003a82d280) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80003a82d330) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003a82d330) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xe2210b1d0f0, count: -8

Crashes (31):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.