syzbot


protection_fault: bpfdetach

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

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(ffff80000158f000) at bpfdetach+0x70 sys/net/bpf.c:1770
if_detach(ffff80000158f000) at if_detach+0x12b sys/net/if.c:1289
tun_clone_destroy(ffff80000158f000) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343
if_clone_destroy(ffff80003c3d0e50) at if_clone_destroy+0x205 sys/net/if.c:1479
ifioctl(ffff8000016265f8,80206979,ffff80003c3d0e50,ffff80002f793a18) at ifioctl+0x59d sys/net/if.c:2160
sys_ioctl(ffff80002f793a18,ffff80003c3d1030,ffff80003c3d0f80) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80003c3d1030) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c3d1030) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb049bfba0e0, count: -8
ddb{1}> show registers
rdi               0xffff800032f9e000
rsi                          0x18ee3    acpi_pdirpa+0x4d54
rbp               0xffff80003c3d0c70
rbx                       0x80206979    __kernel_virt_to_phys+0x206979
rdx               0xffff800032f9e000
rcx                          0x18ee2    acpi_pdirpa+0x4d53
rax               0xffffffff82962559    bpfdetach+0xb9
r8                0xffffffffffffffff
r9                               0x1
r10                                0
r11               0x99d5199f678f5795
r12               0xdead0002dead4110
r13               0xffff80000158f648
r14               0xffff80000158f000
r15               0xdead0002dead4110
rip               0xffffffff82962510    bpfdetach+0x70
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff80003c3d0c40
ss                              0x10
bpfdetach+0x70: movq    0(%r15),%r12
ddb{1}> show proc
PROC (syz-executor) tid=104144 pid=50584 tcnt=4 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=0xffff80002f7922c0,0xffff80002f793790
    process=0xffff80002a37e698 user=0xffff80003c3cc000, vmspace=0xfffff0806b3c23f8
    estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 62764  356397  62381      0  2         0x1                syz-executor
 62764  358244  62381      0  3   0x4000080  fsleep        syz-executor
 62764   46761  62381      0  3   0x4000080  fsleep        syz-executor
  2542  202942  80466      0  2           0                syz-executor
  2542  327514  80466      0  3   0x4000080  sbwait        syz-executor
 50584   24477  68963      0  2         0x1                syz-executor
 50584   90860  68963      0  2   0x4000001                syz-executor
*50584  104144  68963      0  7   0x4000000                syz-executor
 50584  271424  68963      0  3   0x4000000  biowait       syz-executor
 96153  328839  28180      0  3        0x80  nanoslp       syz-executor
 96153  232462  28180      0  3   0x4000080  kqread        syz-executor
 96153  366198  28180      0  3   0x4000080  fsleep        syz-executor
 67692  240417  84173      0  3        0x80  nanoslp       syz-executor
 67692  432385  84173      0  3   0x4000080  kqread        syz-executor
 83716  368163  37543      0  3      0x3000  suspend       syz-executor
 83716   77367  37543      0  2   0x4081080                syz-executor
 83716  417805  37543      0  2   0x4081080                syz-executor
 68963  383773  60497      0  3        0x82  nanoslp       syz-executor
 28180  439260  60497      0  3        0x82  nanoslp       syz-executor
 62381  327985  60497      0  3        0x82  nanoslp       syz-executor
 84173  268994  60497      0  3        0x82  nanoslp       syz-executor
 13333  479588  60497      0  3        0x82  nanoslp       syz-executor
 18033  250705  60497      0  2         0x3                syz-executor
 80466  126457  60497      0  3        0x82  nanoslp       syz-executor
 37543  518172  60497      0  3        0x82  nanoslp       syz-executor
 60497  148144   4380      0  3        0x82  kqread        syz-executor
  4380  299616  83444      0  3    0x10008a  sigsusp       ksh
 83444  397251  26430      0  3        0x98  kqread        sshd-session
 26430  335072  14254      0  3        0x92  kqread        sshd-session
 74604  149563      1      0  3    0x100083  ttyopn        getty
 14254  306132      1      0  3        0x88  kqread        sshd
 14899  240337  53415     74  3   0x1100092  bpf           pflogd
 53415   66727      1      0  3        0x80  sbwait        pflogd
 49410  129164  67414     73  3   0x1100090  kqread        syslogd
 67414  120644      1      0  3    0x100082  sbwait        syslogd
  8321  170914      1      0  3    0x100080  kqread        resolvd
 87000  262080  88556     77  2    0x100012                dhcpleased
  5071  387856  88556     77  3    0x100092  kqread        dhcpleased
 88556  498007      1      0  3        0x80  kqread        dhcpleased
 98465  370719      0      0  3     0x14200  bored         smr
 46308  390274      0      0  3     0x14200  pgzero        zerothread
 27728  223427      0      0  3     0x14200  aiodoned      aiodoned
 29523  413906      0      0  3     0x14200  syncer        update
 56439  391005      0      0  3     0x14200  cleaner       cleaner
 38408    4197      0      0  3     0x14200  reaper        reaper
 13535   29432      0      0  3     0x14200  pgdaemon      pagedaemon
 24301  322585      0      0  3     0x14200  bored         viomb
 73605  158452      0      0  3  0x40014200  acpi0         acpi0
 37251  385289      0      0  3  0x40014200                idle1
 81791  428375      0      0  3     0x14200  bored         softnet1
 80628  155536      0      0  2     0x14200                softnet0
 49264   52477      0      0  3     0x14200  smrbar        systqmp
  3004  400876      0      0  3     0x14200  bored         systq
  5195   86978      0      0  3     0x14200  tmoslp        softclockmp
 13889  302301      0      0  3  0x40014200  tmoslp        softclock
 60079   40378      0      0  3  0x40014200                idle0
     1   12627      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 2542 (syz-executor) thread 0xffff8000fffef240 (327514)
exclusive rrwlock inode r = 0 (0xfffff0806fb411e0)
#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  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+0x963 sys/kern/vfs_lookup.c:580
#10 namei+0x7c5 sys/kern/vfs_lookup.c:250
#11 vn_open+0x178 sys/kern/vfs_vnops.c:146
#12 vndioctl+0xc43 sys/dev/vnd.c:458
#13 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264
#14 vn_ioctl+0xf8 sys/kern/vfs_vnops.c:537
#15 sys_ioctl+0x674 sys/kern/sys_generic.c:-1
#16 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#16 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
#17 Xsyscall+0x128
Process 50584 (syz-executor) thread 0xffff80002f793a18 (104144)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b13a80)
#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  lf_purgelocks+0x2f sys/kern/vfs_lockf.c:731
#5  vgonel+0x47e sys/kern/vfs_subr.c:1216
#6  vop_generic_revoke+0x3ea sys/kern/vfs_default.c:124
#7  VOP_REVOKE+0x65 sys/kern/vfs_vops.c:291
#8  vdevgone+0x17b sys/kern/vfs_subr.c:-1
#9  bpfsdetach+0x155 sys/net/bpf.c:1794
#10 bpfdetach+0xa6 sys/net/bpf.c:-1
#11 if_detach+0x12b sys/net/if.c:1289
#12 tun_clone_destroy+0x2ce sys/net/if_tun.c:343
#13 if_clone_destroy+0x205 sys/net/if.c:1479
#14 ifioctl+0x59d sys/net/if.c:2160
#15 sys_ioctl+0x674 sys/kern/sys_generic.c:-1
#16 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#16 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
#17 Xsyscall+0x128
exclusive rwlock clonelk r = 0 (0xffffffff838e3498)
#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
Process 50584 (syz-executor) thread 0xffff8000fffee548 (271424)
exclusive rrwlock inode r = 0 (0xfffff0806b3ae8e0)
#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: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:3062
#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 (0xfffff0806ee18dc8)
#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:3047
#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
Process 80628 (softnet0) thread 0xffff8000ffffe298 (155536)
shared rwlock softnet0 r = 0 (0xffff80000002c078)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  taskq_thread+0x12a sys/kern/kern_task.c:442
#2  proc_trampoline+0x10
Process 49264 (systqmp) thread 0xffff8000ffffe000 (52477)
shared rwlock systqmp r = 0 (0xffffffff839c7d98)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  taskq_thread+0x12a sys/kern/kern_task.c:442
#2  proc_trampoline+0x10
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11113  12293K   12491K 166960K     12415        0
            pcb    17     12K      12K 166960K        57        0
         rtable   253      8K       9K 166960K       422        0
             pf    37     18K      24K 166960K       135        0
         ifaddr    44      7K       8K 166960K        67        0
        ifgroup    57      2K       3K 166960K       100        0
         sysctl     3      1K       9K 166960K         7        0
       counters    72     37K      38K 166960K       238        0
       ioctlops     0      0K       4K 166960K      1586        0
            iov     0      0K      17K 166960K         9        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1306     82K      82K 166960K      1513        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     8      0K       0K 166960K        13        0
        dirhash    12      2K       2K 166960K        15        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    17     61K      97K 166960K       332        0
           proc    72    115K     196K 166960K       595        0
        subproc    72      4K       4K 166960K        81        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K        36        0
       in_multi    99      7K       7K 166960K       118        0
    ether_multi     1      0K       0K 166960K         2        0
            mrt     0      0K       0K 166960K         9        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   241   1076K    1076K 166960K       241        0
           exec     0      0K       1K 166960K       405        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   247    171K     185K 166960K      4873        0
       UVM aobj     6      2K       2K 166960K         6        0
     pinsyscall    42     84K     106K 166960K      1524        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K         8        0
            NDP    15      0K       2K 166960K        44        0
           temp    45   9116K    9191K 166960K     15063        0
         kqueue    15     24K      32K 166960K        72        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       49    0       46     1     0     1     1     0     8    0
rtentry    176      128    0       16     6     0     6     6     0     8    0
unpcb      144      202    0      178     4     0     4     4     0     8    3
syncache   336        7    0        7     2     1     1     1     0     8    1
tcpqe       32        1    0        1     1     1     0     1     0     8    0
tcpcb      736       63    0       57     2     1     1     2     0     8    0
arp        136       20    0        2     1     0     1     1     0     8    0
inpcb      328      296    0      287     7     0     7     7     0     8    5
nd6        152       29    0        4     2     0     2     2     0     8    0
pkpcb       40        1    0        1     1     1     0     1     0     8    0
kcovpl      48        9    0        1     1     0     1     1     0     8    0
ppxss      1192      77    0       76     2     1     1     1     0     8    0
pppxif     1576       3    0        3     1     0     1     1     0     8    1
pfstscr     40        2    0        2     1     1     0     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
pfsrclim   320        1    0        1     1     0     1     1     0     8    1
pfanchor   1288      14    0        9     2     1     1     1     0     8    0
pfstitem    24       21    0        1     1     0     1     1     0     8    0
pfstkey    128       23    0        3     1     0     1     1     0     8    0
pfstate    448       22    0        2     3     0     3     3     0     8    0
pfrule     1360      29    0       23     2     1     1     2     0     8    0
art_heap8  4096       2    0        0     2     0     2     2     0     8    0
art_heap4  256      518    0       54    30     0    30    30     0     8    1
art_table   40      520    0       54     5     0     5     5     0     8    0
art_node    32      128    0       25     1     0     1     1     0     8    0
sysvmsgpl   40        1    0        0     1     0     1     1     0     8    0
semapl      72        9    0        3     1     0     1     1     0     8    0
shmpl      112        3    0        0     1     0     1     1     0     8    0
dirhash    1024      19    0        2     3     0     3     3     0     8    0
dino2pl    256     1891    0      417    94     1    93    93     0     8    0
ffsino     296     1891    0      417   114     0   114   114     0     8    0
nchpl      144     2340    0      624    64     0    64    64     0     8    0
rtmask      32        3    0        3     1     0     1     1     0     8    1
vnodes     216     2077    0        0   116     0   116   116     0     8    0
namei      1024    7587    0     7586     1     0     1     1     0     8    0
percpumem   16      134    0       83     1     0     1     1     0     8    0
kstatmem   264       55    0       26     4     1     3     3     0     8    1
scxspl     216     7843    0     7841     4     3     1     3     1     8    0
plimitpl   152       56    0       37     1     0     1     1     0     8    0
sigapl     424      649    0      601     7     1     6     7     0     8    0
knotepl    120      593    0        0    18     0    18    18     0     8    0
kqueuepl   224       80    0       69     2     0     2     2     0     8    1
pipepl     344      143    0      116     3     0     3     3     0     8    0
fdescpl    528      633    0      602     3     0     3     3     0     8    0
filepl     160     2963    0     2728    15     0    15    15     0     8    4
lockfpl    104      115    0      110     1     0     1     1     0     8    0
lockfspl    48       57    0       52     1     0     1     1     0     8    0
sessionpl  144       33    0       24     1     0     1     1     0     8    0
pgrppl      48       43    0       26     1     0     1     1     0     8    0
ucredpl    104      486    0      472     1     0     1     1     0     8    0
zombiepl   144      673    0      671     2     1     1     1     0     8    0
processpl  1232     649    0      601     5     1     4     5     0     8    0
procpl     664      971    0      912     6     0     6     6     0     8    0
sosppl     176        1    0        1     1     0     1     1     0     8    1
sockpl     752      554    0      518    12     1    11    11     0     8    7
mcl64k     65536      2    0        0     1     0     1     1     0     8    0
mcl16k     16384      1    0        0     1     0     1     1     0     8    0
mcl8k      8192       2    0        0     1     0     1     1     0     8    0
mcl4k      4096     118    0        0    15     0    15    15     0     8    0
mcl2k2     2112       2    0        0     1     0     1     1     0     8    0
mcl2k      2048      26    0        0     4     0     4     4     0     8    0
mtagpl      96        5    0        0     1     0     1     1     0     8    0
mbufpl     256      183    0        0    12     0    12    12     0     8    0
bufpl      272     2784    0      106   180     0   180   180     0     8    1
anonpl      32     7723    0        0    63     0    63    63     0   246    0
amapchunkpl 152   14344    0    13830    31     0    31    31     0   158   10
amappl16   200     1739    0     1713    14    12     2    14     0     8    0
amappl15   192       26    0       26     1     1     0     1     0     8    0
amappl14   184      441    0      440     1     0     1     1     0     8    0
amappl13   176      126    0      113     1     0     1     1     0     8    0
amappl12   168      886    0      854     2     0     2     2     0     8    0
amappl11   160       20    0       20     1     1     0     1     0     8    0
amappl10   152       66    0       52     1     0     1     1     0     8    0
amappl9    144      281    0      281     1     1     0     1     0     8    0
amappl8    136      103    0      101     1     0     1     1     0     8    0
amappl7    128      161    0      148     1     0     1     1     0     8    0
amappl6    120      163    0      162     1     0     1     1     0     8    0
amappl5    112       96    0       85     1     0     1     1     0     8    0
amappl4    104      312    0      291     1     0     1     1     0     8    0
amappl3     96     2757    0     2636     4     0     4     4     0     8    0
amappl2     88      568    0      507     2     0     2     2     0     8    0
amappl1     80    11716    0    11106    17     3    14    17     0     8    0
amappl      88     4094    0     3921     5     0     5     5     0    92    0
uvmvnodes   80      111    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
dma512     512        1    0        1     1     0     1     1     0     8    1
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      633    0      602     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      633    0      602     1     0     1     1     0     8    0
vmmpekpl   168     7320    0     7281     2     0     2     2     0     8    0
vmmpepl    168    49362    0    47413   108    20    88   107     0   357    0
vmsppl     488      632    0      601     6     1     5     5     0     8    0
rwobjpl     80    17073    0    16006    29     4    25    29     0     8    0
pdppl      4096    1273    0     1202   103    30    73    87     0     8    2
pvpl        32    15191    0        0   124     1   123   124     0   265    0
pmappl     256      632    0      601     3     0     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      463    0       36    13     0    13    13     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
ddb{0}> trace
x86_ipi_db(ffffffff83922ff0) 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(ffffffff83b13280) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83b13280) at __mp_lock+0x192 sys/kern/kern_lock.c:173
intr_handler(ffff80003c3cb810,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
Xspllower() at Xspllower+0x1d
pmap_page_remove(fffff0800812d148) at pmap_page_remove+0x689 pmap_tlb_shootwait sys/arch/amd64/amd64/pmap.c:3245 [inline]
pmap_page_remove(fffff0800812d148) at pmap_page_remove+0x689 sys/arch/amd64/amd64/pmap.c:2049
uvm_anfree(fffff08063817780) at uvm_anfree+0xd8 sys/uvm/uvm_anon.c:111
amap_wipeout(fffff0806b15cc18) at amap_wipeout+0x246 sys/uvm/uvm_amap.c:-1
uvm_unmap_detach(ffff80003c3cbac0,0) at uvm_unmap_detach+0x8a sys/uvm/uvm_map.c:1359
uvm_map_teardown(fffff0800b0631e8) at uvm_map_teardown+0x360 sys/uvm/uvm_map.c:2536
exit1(ffff8000fffefca0,0,0,1) at exit1+0x6fc sys/kern/kern_exit.c:260
sys_exit(ffff8000fffefca0,ffff80003c3cbc90,ffff80003c3cbbe0) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80003c3cbc90) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c3cbc90) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x70d72d664ec0, count: -16
ddb{0}> machine ddbcpu 1
Stopped at      bpfdetach+0x70: movq    0(%r15),%r12
ddb{1}> trace
bpfdetach(ffff80000158f000) at bpfdetach+0x70 sys/net/bpf.c:1770
if_detach(ffff80000158f000) at if_detach+0x12b sys/net/if.c:1289
tun_clone_destroy(ffff80000158f000) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343
if_clone_destroy(ffff80003c3d0e50) at if_clone_destroy+0x205 sys/net/if.c:1479
ifioctl(ffff8000016265f8,80206979,ffff80003c3d0e50,ffff80002f793a18) at ifioctl+0x59d sys/net/if.c:2160
sys_ioctl(ffff80002f793a18,ffff80003c3d1030,ffff80003c3d0f80) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80003c3d1030) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c3d1030) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb049bfba0e0, count: -8

Crashes (80):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/11 22:43 openbsd 28cce1e713d0 d93a6ab6 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/06/09 21:27 openbsd d89bad393cda c36c07f6 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/06/04 05:57 openbsd e8e5aa2db9cf 197909be .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/06/04 01:58 openbsd e8e5aa2db9cf 197909be .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/05/15 22:45 openbsd 25d4b1a85733 340bcdf0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/05/07 21:50 openbsd d8525c0ee876 340bcdf0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/04/30 08:43 openbsd 04e2410ca848 340bcdf0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/04/28 06:18 openbsd 623596ce970b ce741359 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/04/22 04:14 openbsd 9a8e8d261fbe 0b6ab7ec .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/04/06 15:37 openbsd 8a4a3a78bbe7 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/03/23 20:42 openbsd ccfcb3e6ef18 5e3db351 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/03/17 17:31 openbsd 7b59c65f5490 c8810548 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/03/13 17:09 openbsd 7210d95da7cb 351cb5cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/03/12 12:48 openbsd 7210d95da7cb 4efadf07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/03/12 11:09 openbsd 7210d95da7cb 4efadf07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/03/12 06:56 openbsd 73e77b6607d4 2d88ab01 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
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.