syzbot


panic: acquiring blockable sleep lock with spinlock or criticapl saneictci:o nk ehrenled (lk deriangenlo_lsotickc)

Status: closed as invalid on 2022/03/22 11:48
Reported-by: syzbot+f07df867f55febef5da9@syzkaller.appspotmail.com
First crash: 978d, last: 978d

Sample crash report:
panic: acquiring blockable sleep lock with spinlock or criticapl  saneictci:o  nk ehrenled  (lk deriangenlo_lsotickc)    & k e rn e  l _ alos s ecrkt
ionStopped at     db_enter+0x18:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 514627  50241      0           0  0x4000000    1  syz-executor.2
*211652    756      0           0  0x4000000    0  syz-executor.5
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff825a0385) at panic+0x177 sys/kern/subr_prf.c:202
witness_checkorder(ffffffff82b7e900,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833
__mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline]
__mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline]
__mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142
selwakeup(fffffd806fbc3130) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline]
selwakeup(fffffd806fbc3130) at selwakeup+0x16 sys/kern/sys_generic.c:885
sorwakeup(fffffd806fbc3018) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699
rip_input(ffff80002e380398,ffff80002e3803a4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188
ip_deliver(ffff80002e380398,ffff80002e3803a4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657
ip_ours(ffff80002e380398,ffff80002e3803a4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616
ip_input_if(ffff80002e380398,ffff80002e3803a4,4,0,ffff80000019f2a8) at ip_input_if+0x2a1
ipv4_input(ffff80000019f2a8,fffffd806d373300) at ipv4_input+0x48 sys/netinet/ip_input.c:242
if_input_local(ffff80000019f2a8,fffffd806d373300,2) at if_input_local+0x10e sys/net/if.c:774
ether_resolve(ffff80000019f2a8,fffffd806c617700,fffffd806f67df28,fffffd806f36a380,ffff80002e3804e8) at ether_resolve+0x4ac sys/net/if_ethersubr.c:242
ether_output(ffff80000019f2a8,fffffd806c617700,fffffd806f67df28,fffffd806f36a380) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:324 [inline]
ether_output(ffff80000019f2a8,fffffd806c617700,fffffd806f67df28,fffffd806f36a380) at ether_output+0x47 sys/net/if_ethersubr.c:353
end trace frame: 0xffff80002e380660, count: 0
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb{0}> 
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock
 cpu1: kernel diagnostic assertion "!_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_fork.c", line 678
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff825a0385) at panic+0x177 sys/kern/subr_prf.c:202
witness_checkorder(ffffffff82b7e900,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833
__mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline]
__mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline]
__mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142
selwakeup(fffffd806fbc3130) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline]
selwakeup(fffffd806fbc3130) at selwakeup+0x16 sys/kern/sys_generic.c:885
sorwakeup(fffffd806fbc3018) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699
rip_input(ffff80002e380398,ffff80002e3803a4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188
ip_deliver(ffff80002e380398,ffff80002e3803a4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657
ip_ours(ffff80002e380398,ffff80002e3803a4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616
ip_input_if(ffff80002e380398,ffff80002e3803a4,4,0,ffff80000019f2a8) at ip_input_if+0x2a1
ipv4_input(ffff80000019f2a8,fffffd806d373300) at ipv4_input+0x48 sys/netinet/ip_input.c:242
if_input_local(ffff80000019f2a8,fffffd806d373300,2) at if_input_local+0x10e sys/net/if.c:774
ether_resolve(ffff80000019f2a8,fffffd806c617700,fffffd806f67df28,fffffd806f36a380,ffff80002e3804e8) at ether_resolve+0x4ac sys/net/if_ethersubr.c:242
ether_output(ffff80000019f2a8,fffffd806c617700,fffffd806f67df28,fffffd806f36a380) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:324 [inline]
ether_output(ffff80000019f2a8,fffffd806c617700,fffffd806f67df28,fffffd806f36a380) at ether_output+0x47 sys/net/if_ethersubr.c:353
ip_output(fffffd806c617700,0,fffffd806f67df18,20,0,fffffd806f67dea0,4baef4361a409f91) at ip_output+0x106b sys/netinet/ip_output.c:468
rip_output(fffffd806c617700,fffffd806fbc31f8,ffff80002e380700,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302
rip_usrreq(fffffd806fbc31f8,9,fffffd806c617700,0,0,ffff8000ffff4a80) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554
sosend(fffffd806fbc31f8,0,ffff80002e380870,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582
sendit(ffff8000ffff4a80,7,ffff80002e380970,0,ffff80002e380a60) at sendit+0x65d sys/kern/uipc_syscalls.c:653
sys_sendto(ffff8000ffff4a80,ffff80002e380a08,ffff80002e380a60) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
syscall(ffff80002e380ad0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff80002e380ad0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb2e45e00140, count: -22
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80002e37ff20
rbx               0xffffffff82949bff    cpu_info_full_primary+0x2bff
rdx                                0
rcx                                0
rax               0xffff8000ffff4a80
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x1df086868bce50ab
r11               0xa679cd6f6fed3084
r12               0xffffffff82949a00    cpu_info_full_primary+0x2a00
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff81828e88    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff80002e37ff10
ss                              0x10
db_enter+0x18:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor.5) pid=211652 stat=onproc
    flags process=0 proc=4000000<THREAD>
    pri=32, usrpri=78, nice=20
    forw=0xffffffffffffffff, list=0xffff8000ffff5ce0,0xffffffff82b2f860
    process=0xffff8000ffff3620 user=0xffff80002e37b000, vmspace=0xfffffd8067821b80
    estcpu=36, cpticks=1, pctcpu=0.0
    user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 25478  363618  53365      0  2           0                syz-executor.6
 50241   59944  75714      0  2           0                syz-executor.2
 50241  514627  75714      0  7   0x4000000                syz-executor.2
 50241  489615  75714      0  3   0x4000080  fsleep        syz-executor.2
 50241  443613  75714      0  2   0x4000000                syz-executor.2
   756  381007  38192      0  2           0                syz-executor.5
*  756  211652  38192      0  7   0x4000000                syz-executor.5
 26289   58773  86156      0  3        0x80  nanoslp       syz-executor.0
 26289  146505  86156      0  3   0x4000080  fsleep        syz-executor.0
 12513  297227  81730      0  2           0                syz-executor.3
 12513  469475  81730      0  3   0x4000080  fsleep        syz-executor.3
 44004    3872  88030      0  2           0                syz-executor.7
 77921   29141  42804      0  2         0x2                syz-executor.1
 88030  472827  42804      0  3        0x82  nanoslp       syz-executor.7
 53365   15072  42804      0  3        0x82  nanoslp       syz-executor.6
 38192  141856  42804      0  3        0x82  nanoslp       syz-executor.5
 89889  485894  42804      0  2         0x2                syz-executor.4
 81730  342144  42804      0  3        0x82  nanoslp       syz-executor.3
 75714  214810  42804      0  2         0x2                syz-executor.2
 86156   19106  42804      0  3        0x82  nanoslp       syz-executor.0
 42804  304759  82777      0  3        0x82  thrsleep      syz-fuzzer
 42804    8111  82777      0  3   0x4000082  nanoslp       syz-fuzzer
 42804   94294  82777      0  3   0x4000082  thrsleep      syz-fuzzer
 42804  138982  82777      0  2   0x4000082                syz-fuzzer
 42804   74119  82777      0  3   0x4000082  thrsleep      syz-fuzzer
 42804  249570  82777      0  2   0x4000082                syz-fuzzer
 42804  177376  82777      0  3   0x4000082  thrsleep      syz-fuzzer
 42804  122148  82777      0  3   0x4000082  thrsleep      syz-fuzzer
 42804  187531  82777      0  3   0x4000082  thrsleep      syz-fuzzer
 82777  163284  21514      0  3    0x10008a  sigsusp       ksh
 21514  363208  22273      0  2        0x9a                sshd
 48055  426157      1      0  3    0x100083  ttyin         getty
 22273  408455      1      0  3        0x88  kqread        sshd
 24438  114687  20394     74  3   0x1100092  bpf           pflogd
 20394  301762      1      0  3        0x80  netio         pflogd
 38523  203625  60622     73  3   0x1100090  kqread        syslogd
 60622  204300      1      0  3    0x100082  netio         syslogd
 41842  466436      1      0  3    0x100080  kqread        resolvd
 35201  420714  69721     77  3    0x100092  kqread        dhcpleased
 60070  194961  69721     77  3    0x100092  kqread        dhcpleased
 69721   43492      1      0  3        0x80  kqread        dhcpleased
 20645  446591      0      0  3     0x14200  bored         smr
 77930  225387      0      0  2     0x14200                zerothread
 65809  137174      0      0  3     0x14200  aiodoned      aiodoned
 35816   28757      0      0  3     0x14200  syncer        update
 93850   55439      0      0  3     0x14200  cleaner       cleaner
 72608  376065      0      0  3     0x14200  reaper        reaper
 92279  269342      0      0  3     0x14200  pgdaemon      pagedaemon
 70370  326055      0      0  3     0x14200  bored         viomb
 67195  321453      0      0  3  0x40014200  acpi0         acpi0
 51561  196704      0      0  3  0x40014200                idle1
 78594  189075      0      0  3     0x14200  bored         softnet
 83903   52755      0      0  3     0x14200  bored         systqmp
  2332  448358      0      0  3     0x14200  bored         systq
 70543  422047      0      0  3  0x40014200  bored         softclock
 55070   90415      0      0  3  0x40014200                idle0
     1  423306      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
CPU 0:
exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b4af68)
#0  witness_lock+0x44d
#1  mtx_enter_try+0x100
#2  mtx_enter+0x4b sys/kern/kern_lock.c:266
#3  rip_input+0x135
#4  ip_deliver+0x322 sys/netinet/ip_input.c:657
#5  ip_ours+0x3ba sys/netinet/ip_input.c:616
#6  ip_input_if+0x2a1
#7  ipv4_input+0x48 sys/netinet/ip_input.c:242
#8  if_input_local+0x10e sys/net/if.c:774
#9  ether_resolve+0x4ac sys/net/if_ethersubr.c:242
#10 ether_output+0x47 ether_encap sys/net/if_ethersubr.c:324 [inline]
#10 ether_output+0x47 sys/net/if_ethersubr.c:353
#11 ip_output+0x106b sys/netinet/ip_output.c:468
#12 rip_output+0x2cb sys/netinet/raw_ip.c:302
#13 rip_usrreq+0x49c sys/netinet/raw_ip.c:554
#14 sosend+0x632 sys/kern/uipc_socket.c:582
#15 sendit+0x65d sys/kern/uipc_syscalls.c:653
#16 sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
#17 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#17 syscall+0x489 sys/arch/amd64/amd64/trap.c:585
#18 Xsyscall+0x128
Process 756 (syz-executor.5) thread 0xffff8000ffff4a80 (211652)
exclusive rwlock netlock r = 0 (0xffffffff82980490)
#0  witness_lock+0x44d
#1  solock+0x86 sys/kern/uipc_socket2.c:295
#2  sosend+0x517 sys/kern/uipc_socket.c:570
#3  sendit+0x65d sys/kern/uipc_syscalls.c:653
#4  sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
#5  syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#5  syscall+0x489 sys/arch/amd64/amd64/trap.c:585
#6  Xsyscall+0x128
exclusive mutex &table->inpt_mtx r = 0 (0xffffffff82b4af68)
#0  witness_lock+0x44d
#1  mtx_enter_try+0x100
#2  mtx_enter+0x4b sys/kern/kern_lock.c:266
#3  rip_input+0x135
#4  ip_deliver+0x322 sys/netinet/ip_input.c:657
#5  ip_ours+0x3ba sys/netinet/ip_input.c:616
#6  ip_input_if+0x2a1
#7  ipv4_input+0x48 sys/netinet/ip_input.c:242
#8  if_input_local+0x10e sys/net/if.c:774
#9  ether_resolve+0x4ac sys/net/if_ethersubr.c:242
#10 ether_output+0x47 ether_encap sys/net/if_ethersubr.c:324 [inline]
#10 ether_output+0x47 sys/net/if_ethersubr.c:353
#11 ip_output+0x106b sys/netinet/ip_output.c:468
#12 rip_output+0x2cb sys/netinet/raw_ip.c:302
#13 rip_usrreq+0x49c sys/netinet/raw_ip.c:554
#14 sosend+0x632 sys/kern/uipc_socket.c:582
#15 sendit+0x65d sys/kern/uipc_syscalls.c:653
#16 sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
#17 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#17 syscall+0x489 sys/arch/amd64/amd64/trap.c:585
#18 Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10180   6538K    7314K  78643K     11896        0
            pcb    13      8K       8K  78643K        32        0
         rtable   240      6K       7K  78643K       399        0
         ifaddr    86     17K      18K  78643K       107        0
       counters    56     35K      35K  78643K        58        0
       ioctlops     0      0K       4K  78643K      1632        0
            iov     0      0K      12K  78643K         4        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         5        0
         vnodes  1302     81K      82K  78643K      1477        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       9K  78643K        20        0
         VM map     2      1K       1K  78643K         2        0
            sem    12      0K       0K  78643K        85        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc    16     57K      93K  78643K       465        0
           proc    68     87K     124K  78643K       549        0
        subproc   104      6K       6K  78643K       117        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K         4        0
       in_multi    99      6K       6K  78643K       116        0
    ether_multi     1      0K       0K  78643K         3        0
            mrt     0      0K       0K  78643K         4        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys    37    175K     175K  78643K        37        0
           exec     0      0K       2K  78643K       693        0
            tdb     3      0K       0K  78643K         3        0
        pagedep     1      8K       8K  78643K         1        0
       inodedep     1     32K      32K  78643K         1        0
         newblk     1      0K       0K  78643K         1        0
        VM swap     7     26K      26K  78643K         7        0
       UVM amap   335    180K     180K  78643K      7500        0
       UVM aobj    31      2K       2K  78643K        31        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K        20        0
            NDP    14      0K       2K  78643K        32        0
           temp    97   4699K    4766K  78643K     17954        0
         kqueue    12     18K      22K  78643K        50        0
      SYN cache     2     16K      16K  78643K         2        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       22    0        0     1     0     1     1     0     8    0
rtpcb      120       39    0       36     1     0     1     1     0     8    0
rtentry    112      129    0       18     4     0     4     4     0     8    0
unpcb      136      243    0      227     5     2     3     5     0     8    2
syncache   296        4    0        4     1     1     0     1     0     8    0
tcpcb      736      227    0      223    10     3     7     7     0     8    6
arp        120       20    0        2     1     0     1     1     0     8    0
inpcb      312      411    0      401     8     2     6     6     0     8    5
nd6         48       28    0        4     1     0     1     1     0     8    0
kcovpl      48        9    0        1     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
pftag       88        1    0        0     1     0     1     1     0     8    0
pfstitem    24       27    0        4     1     0     1     1     0     8    0
pfstkey    112       27    0        4     1     0     1     1     0     8    0
pfstate    320       27    0        4     2     0     2     2     0     8    0
pfrule     1360      37    0       25     3     1     2     2     0     8    1
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      537    0       86    29     0    29    29     0     8    0
art_table   32      538    0       86     4     0     4     4     0     8    0
art_node    16      128    0       28     1     0     1     1     0     8    0
semapl     112       83    0       73     1     0     1     1     0     8    0
shmpl      112       28    0        0     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     1941    0      501    91     0    91    91     0     8    0
ffsino     272     1941    0      501    97     0    97    97     0     8    0
nchpl      144     2651    0     1019    63     0    63    63     0     8    0
uvmvnodes   80     2198    0        0    45     0    45    45     0     8    0
vnodes     224     2198    0        0   130     0   130   130     0     8    0
namei      1024    9159    0     9159     2     1     1     2     0     8    1
percpumem   16       41    0        1     1     0     1     1     0     8    0
vcpupl     2048      38    0        0     5     0     5     5     0     8    0
vmpool     560       38    0        0     3     0     3     3     0     8    0
scsiplug    72        3    0        3     1     1     0     1     0     8    0
scxspl     216     8518    0     8518     9     8     1     8     0     8    1
plimitpl   152       34    0       19     1     0     1     1     0     8    0
sigapl     424      768    0      725     7     1     6     6     0     8    0
futexpl     64     3087    0     3084     1     0     1     1     0     8    0
knotepl    120      174    0        0     6     0     6     6     0     8    0
kqueuepl   216      140    0      132     5     0     5     5     0     8    4
pipepl     336      155    0      127     3     0     3     3     0     8    0
fdescpl    496      754    0      725     6     2     4     5     0     8    0
filepl     152     3631    0     3388    17     2    15    16     0     8    5
lockfpl    104      100    0       98     1     0     1     1     0     8    0
lockfspl    48       35    0       33     1     0     1     1     0     8    0
sessionpl  144       25    0        8     1     0     1     1     0     8    0
pgrppl      48       92    0       75     1     0     1     1     0     8    0
ucredpl     96      310    0      298     1     0     1     1     0     8    0
zombiepl   144      725    0      725     1     0     1     1     0     8    1
processpl  1064     768    0      725     4     0     4     4     0     8    0
procpl     672     1447    0     1390     8     1     7     7     0     8    2
sockpl     480      693    0      664    24    12    12    24     0     8    8
mcl64k     65536      3    0        0     1     0     1     1     0     8    0
mcl16k     16384      2    0        0     1     0     1     1     0     8    0
mcl12k     12288      4    0        0     1     0     1     1     0     8    0
mcl9k      9216       2    0        0     1     0     1     1     0     8    0
mcl8k      8192      11    0        0     2     0     2     2     0     8    0
mcl4k      4096      13    0        0     2     0     2     2     0     8    0
mcl2k2     2112       1    0        0     1     0     1     1     0     8    0
mcl2k      2048     172    0        0    21     0    21    21     0     8    0
mtagpl      96       52    0        0     2     0     2     2     0     8    0
mbufpl     256      290    0        0    18     0    18    18     0     8    0
bufpl      288     4303    0      145   297     0   297   297     0     8    0
anonpl      24   170369    0   154714   133     8   125   128     0   186   11
amapchunkpl 152   17581    0    16750    42     3    39    42     0   158    4
amappl16   200     1542    0      999    30     1    29    29     0     8    0
amappl15   192      185    0      176     1     0     1     1     0     8    0
amappl14   184       54    0       49     1     0     1     1     0     8    0
amappl13   176      132    0      129     1     0     1     1     0     8    0
amappl12   168      102    0       97     1     0     1     1     0     8    0
amappl11   160      129    0      113     1     0     1     1     0     8    0
amappl10   152       34    0       28     1     0     1     1     0     8    0
amappl9    144      537    0      530     1     0     1     1     0     8    0
amappl8    136      600    0      552     2     0     2     2     0     8    0
amappl7    128      122    0      110     1     0     1     1     0     8    0
amappl6    120      268    0      246     2     1     1     2     0     8    0
amappl5    112      408    0      388     1     0     1     1     0     8    0
amappl4    104     1032    0     1000     2     0     2     2     0     8    0
amappl3     96      292    0      279     1     0     1     1     0     8    0
amappl2     88      654    0      605     3     1     2     3     0     8    0
amappl1     80    16906    0    16331    19     6    13    19     0     8    0
amappl      88     7017    0     6761     8     1     7     7     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       30    0        0     1     0     1     1     0     8    0
uaddrrnd    24      792    0      725     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      792    0      725     1     0     1     1     0     8    0
vmmpekpl   168    10390    0    10339     3     0     3     3     0     8    0
vmmpepl    168    73579    0    71047   126     4   122   122     0   357    8
vmsppl     368      791    0      725     8     1     7     7     0     8    0
rwobjpl     56    20860    0    17113    55     1    54    54     0     8    0
pdppl      4096    1591    0     1488   149    42   107   107     0     8    4
pvpl        32   418932    0   399141   262    20   242   262     0   265   55
pmappl     248      791    0      725     5     0     5     5     0     8    0
extentpl    40       58    0       38     1     0     1     1     0     8    0
phpool     112      754    0       52    21     0    21    21     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff825a0385) at panic+0x177 sys/kern/subr_prf.c:202
witness_checkorder(ffffffff82b7e900,9,0) at witness_checkorder+0x116d sys/kern/subr_witness.c:833
__mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 read_rflags machine/cpufunc.h:195 [inline]
__mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 intr_disable machine/cpufunc.h:216 [inline]
__mp_lock(ffffffff82b7e6f8) at __mp_lock+0xa1 sys/kern/kern_lock.c:142
selwakeup(fffffd806fbc3130) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline]
selwakeup(fffffd806fbc3130) at selwakeup+0x16 sys/kern/sys_generic.c:885
sorwakeup(fffffd806fbc3018) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1699
rip_input(ffff80002e380398,ffff80002e3803a4,0,2) at rip_input+0x3b0 sys/netinet/raw_ip.c:188
ip_deliver(ffff80002e380398,ffff80002e3803a4,0,2) at ip_deliver+0x322 sys/netinet/ip_input.c:657
ip_ours(ffff80002e380398,ffff80002e3803a4,0,0) at ip_ours+0x3ba sys/netinet/ip_input.c:616
ip_input_if(ffff80002e380398,ffff80002e3803a4,4,0,ffff80000019f2a8) at ip_input_if+0x2a1
ipv4_input(ffff80000019f2a8,fffffd806d373300) at ipv4_input+0x48 sys/netinet/ip_input.c:242
if_input_local(ffff80000019f2a8,fffffd806d373300,2) at if_input_local+0x10e sys/net/if.c:774
ether_resolve(ffff80000019f2a8,fffffd806c617700,fffffd806f67df28,fffffd806f36a380,ffff80002e3804e8) at ether_resolve+0x4ac sys/net/if_ethersubr.c:242
ether_output(ffff80000019f2a8,fffffd806c617700,fffffd806f67df28,fffffd806f36a380) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:324 [inline]
ether_output(ffff80000019f2a8,fffffd806c617700,fffffd806f67df28,fffffd806f36a380) at ether_output+0x47 sys/net/if_ethersubr.c:353
ip_output(fffffd806c617700,0,fffffd806f67df18,20,0,fffffd806f67dea0,4baef4361a409f91) at ip_output+0x106b sys/netinet/ip_output.c:468
rip_output(fffffd806c617700,fffffd806fbc31f8,ffff80002e380700,1) at rip_output+0x2cb sys/netinet/raw_ip.c:302
rip_usrreq(fffffd806fbc31f8,9,fffffd806c617700,0,0,ffff8000ffff4a80) at rip_usrreq+0x49c sys/netinet/raw_ip.c:554
sosend(fffffd806fbc31f8,0,ffff80002e380870,0,0,0) at sosend+0x632 sys/kern/uipc_socket.c:582
sendit(ffff8000ffff4a80,7,ffff80002e380970,0,ffff80002e380a60) at sendit+0x65d sys/kern/uipc_syscalls.c:653
sys_sendto(ffff8000ffff4a80,ffff80002e380a08,ffff80002e380a60) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520
syscall(ffff80002e380ad0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff80002e380ad0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb2e45e00140, count: -22
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x1a:        addq    $0x8,%rsp
x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
x86_bus_space_io_write_1(3f8,0,6e) at x86_bus_space_io_write_1+0x31 sys/arch/amd64/amd64/bus_space.c:759
comcnputc(800,6e) at comcnputc+0x128 bus_space_barrier machine/bus.h:481 [inline]
comcnputc(800,6e) at comcnputc+0x128 sys/dev/ic/com.c:1263
cnputc(6e) at cnputc+0x4b sys/dev/cons.c:239
db_putchar(6e) at db_putchar+0x3fc sys/ddb/db_output.c:155
kprintf() at kprintf+0x20ec sys/kern/subr_prf.c:1068
db_printf(ffffffff82600d82) at db_printf+0x85 sys/kern/subr_prf.c:502
panic(ffffffff82587590) at panic+0xd7 sys/kern/subr_prf.c:220
__assert(ffffffff82600cbd,ffffffff825e697d,2a6,ffffffff825bf24b) at __assert+0x25 sys/kern/subr_prf.c:161
proc_trampoline_mp() at proc_trampoline_mp+0x131
end trace frame: 0x0, count: 3
ddb{1}> trace
x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
x86_bus_space_io_write_1(3f8,0,6e) at x86_bus_space_io_write_1+0x31 sys/arch/amd64/amd64/bus_space.c:759
comcnputc(800,6e) at comcnputc+0x128 bus_space_barrier machine/bus.h:481 [inline]
comcnputc(800,6e) at comcnputc+0x128 sys/dev/ic/com.c:1263
cnputc(6e) at cnputc+0x4b sys/dev/cons.c:239
db_putchar(6e) at db_putchar+0x3fc sys/ddb/db_output.c:155
kprintf() at kprintf+0x20ec sys/kern/subr_prf.c:1068
db_printf(ffffffff82600d82) at db_printf+0x85 sys/kern/subr_prf.c:502
panic(ffffffff82587590) at panic+0xd7 sys/kern/subr_prf.c:220
__assert(ffffffff82600cbd,ffffffff825e697d,2a6,ffffffff825bf24b) at __assert+0x25 sys/kern/subr_prf.c:161
proc_trampoline_mp() at proc_trampoline_mp+0x131
end trace frame: 0x0, count: -12

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/22 05:21 openbsd 6be6ed882de0 e2d91b1d .config console log report ci-openbsd-multicore panic: acquiring blockable sleep lock with spinlock or criticapl saneictci:o nk ehrenled (lk deriangenlo_lsotickc)
* Struck through repros no longer work on HEAD.