syzbot


panic() at panic+0x15c (2)

Status: closed as dup on 2019/11/02 14:37
Reported-by: syzbot+dc46211ac99837ce164f@syzkaller.appspotmail.com
First crash: 1627d, last: 1627d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
panic: ifa_update_broadaddr does not support dynamic length syz 6780 1621d 1679d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic() at panic+0x15c (3) 5 1601d 1618d 0/3 closed as dup on 2019/11/11 08:21
openbsd panic() at panic+0x15c 63 1640d 1853d 0/3 closed as dup on 2019/03/21 14:43

Sample crash report:
panic() at panic+0x15c sys/kern/subr_prf.c:207
__assert(ffffffff8220951b,ffffffff821f8501,2ab,ffffffff821d784f) at __assert+0x2b sys/kern/subr_prf.c:154
proc_trampoline_mp() at proc_trampoline_mp+0x123
end trace frame: 0x0, count: 11
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{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
ifa_update_broadaddr does not support dynamic length
ddb{1}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic() at panic+0x15c sys/kern/subr_prf.c:207
__assert(ffffffff8220951b,ffffffff821f8501,2ab,ffffffff821d784f) at __assert+0x2b sys/kern/subr_prf.c:154
proc_trampoline_mp() at proc_trampoline_mp+0x123
end trace frame: 0x0, count: -4
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff800022561570
rbx               0xffff800022561620
rdx               0xffff800020ace020
rcx                                0
rax                                0
r8                0xffffffff81d00c7f    kprintf+0x16f
r9                               0x1
r10                             0x25
r11               0x2ca7e5770b7cc87a
r12                     0x3000000008
r13               0xffff800022561580
r14                            0x104
r15                              0x1
rip               0xffffffff8120bfe8    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff800022561560
ss                              0x10
db_enter+0x18:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor.1) pid=99921 stat=onproc
    flags process=0 proc=4000000<THREAD>
    pri=86, usrpri=86, nice=20
    forw=0xffffffffffffffff, list=0xffff800020acf3e0,0xffff800020acf8e0
    process=0xffff800020adce00 user=0xffff80002255c000, vmspace=0xfffffd807f00a2e0
    estcpu=36, cpticks=1, pctcpu=0.0
    user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 96638  111075  34500      0  2           0                syz-executor.0
 96638   57661  34500      0  7   0x4000000                syz-executor.0
 60638   18248  68407      0  2           0                syz-executor.1
 60638  168679  68407      0  3   0x4000080  fsleep        syz-executor.1
*60638   99921  68407      0  7   0x4000000                syz-executor.1
 34500  368490  88183      0  3        0x82  nanosleep     syz-executor.0
 68407  156057  88183      0  3        0x82  nanosleep     syz-executor.1
 14678  489350      0      0  3     0x14200  bored         sosplice
 88183   55471  79419      0  3        0x82  thrsleep      syz-fuzzer
 88183   26387  79419      0  3   0x4000082  thrsleep      syz-fuzzer
 88183  292812  79419      0  3   0x4000082  thrsleep      syz-fuzzer
 88183  326829  79419      0  3   0x4000082  thrsleep      syz-fuzzer
 88183  314518  79419      0  3   0x4000082  thrsleep      syz-fuzzer
 88183  316230  79419      0  3   0x4000082  thrsleep      syz-fuzzer
 88183  126466  79419      0  3   0x4000082  thrsleep      syz-fuzzer
 88183  375430  79419      0  3   0x4000082  thrsleep      syz-fuzzer
 88183  235909  79419      0  3   0x4000082  thrsleep      syz-fuzzer
 88183  163004  79419      0  3   0x4000082  kqread        syz-fuzzer
 79419   88244  88509      0  3    0x10008a  pause         ksh
 88509  203766  31317      0  3        0x92  select        sshd
 94521  170619      1      0  3    0x100083  ttyin         getty
 31317   68696      1      0  3        0x80  select        sshd
 92494  200615  64804     74  3    0x100092  bpf           pflogd
 64804  429336      1      0  3        0x80  netio         pflogd
 74080  459318  81539     73  3    0x100090  kqread        syslogd
 81539  122154      1      0  3    0x100082  netio         syslogd
 70742  493279      1     77  3    0x100090  poll          dhclient
 15827  435410      1      0  3        0x80  poll          dhclient
 10268   74126      0      0  2     0x14200                zerothread
 39536   54397      0      0  3     0x14200  aiodoned      aiodoned
 89805    5187      0      0  3     0x14200  syncer        update
 87514   16101      0      0  3     0x14200  cleaner       cleaner
  7937  115162      0      0  3     0x14200  reaper        reaper
 41201  194060      0      0  3     0x14200  pgdaemon      pagedaemon
 57007  513125      0      0  3     0x14200  bored         crynlk
 76526    9721      0      0  3     0x14200  bored         crypto
 33866  493845      0      0  3  0x40014200  acpi0         acpi0
 36045   72831      0      0  3  0x40014200                idle1
 22909  373691      0      0  3     0x14200  bored         softnet
 15337  296186      0      0  3     0x14200  bored         systqmp
 65491   26083      0      0  3     0x14200  bored         systq
 93083  510274      0      0  3  0x40014200  bored         softclock
 41801   23008      0      0  3  0x40014200                idle0
 39115   68562      0      0  3     0x14200  bored         smr
     1  217452      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 96638 (syz-executor.0) thread 0xffff800020acf8d0 (57661)
exclusive rwlock netlock r = 0 (0xffffffff824c0f78)
#0  witness_lock+0x52e sys/kern/subr_witness.c:1163
#1  in_ioctl+0x142
#2  ifioctl+0xb64 sys/net/if.c:2202
#3  sys_ioctl+0x5b9
#4  syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#4  syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#5  Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82623a10)
#0  witness_lock+0x52e sys/kern/subr_witness.c:1163
#1  syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline]
#1  syscall+0x400 sys/arch/amd64/amd64/trap.c:555
#2  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim Kern Lim
         devbuf  9647   6490K    7750K  78643K     37835        0        0
            pcb    13     12K      14K  78643K      2005        0        0
         rtable   135     14K      15K  78643K      5003        0        0
         ifaddr   116     28K      31K  78643K      1662        0        0
       counters    39     33K      33K  78643K        39        0        0
       ioctlops     0      0K       4K  78643K      1881        0        0
            iov     0      0K      28K  78643K      6323        0        0
          mount     1      1K       1K  78643K         1        0        0
         vnodes  1214     76K      77K  78643K     10603        0        0
      UFS quota     1     32K      32K  78643K         1        0        0
      UFS mount     5     36K      36K  78643K         5        0        0
            shm     2      1K       9K  78643K       516        0        0
         VM map    67     33K      34K  78643K       113        0        0
            sem    12      0K       0K  78643K      4006        0        0
        dirhash    12      2K       2K  78643K        12        0        0
           ACPI  1808    196K     290K  78643K     12765        0        0
      file desc     6     17K      25K  78643K      8326        0        0
          sigio     0      0K       0K  78643K       115        0        0
           proc    62     63K      95K  78643K      3225        0        0
        subproc    32      2K       2K  78643K       767        0        0
    NFS srvsock     1      0K       0K  78643K         1        0        0
     NFS daemon     1     16K      16K  78643K         1        0        0
    ip_moptions     0      0K       0K  78643K       682        0        0
       in_multi    29      1K       3K  78643K       929        0        0
    ether_multi     1      0K       0K  78643K        81        0        0
            mrt     0      0K       0K  78643K        54        0        0
    ISOFS mount     1     32K      32K  78643K         1        0        0
  MSDOSFS mount     1     16K      16K  78643K         1        0        0
           ttys    96    424K     424K  78643K        96        0        0
           exec     0      0K       1K  78643K      1733        0        0
        pagedep     1      8K       8K  78643K         1        0        0
       inodedep     1     32K      32K  78643K         1        0        0
         newblk     1      0K       0K  78643K         1        0        0
        VM swap     7     26K      26K  78643K         7        0        0
       UVM amap   257    601K     603K  78643K     30620        0        0
       UVM aobj   130      8K       8K  78643K       138        0        0
        memdesc     1      4K       4K  78643K         1        0        0
    crypto data     1      1K       1K  78643K         1        0        0
    ip6_options     0      0K       2K  78643K      2106        0        0
            NDP    27      0K       1K  78643K       511        0        0
           temp   278   3562K    4203K  78643K    180406        0        0
         kqueue     0      0K       0K  78643K        98        0        0
      SYN cache     2     16K      16K  78643K         2        0        0
ddb{1}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp         64      142    0      137     1     0     1     1     0     8    0
plcache    128       20    0        0     1     0     1     1     0     8    0
rtpcb       80      716    0      714     1     0     1     1     0     8    0
rtentry    112      843    0      792     2     0     2     2     0     8    0
unpcb      120     4815    0     4802     9     8     1     2     0     8    0
syncache   264       46    0       46    21    20     1     1     0     8    1
tcpqe       32       66    0       66    10    10     0     1     0     8    0
tcpcb      544     5831    0     5827    59    58     1    13     0     8    0
inpcb      280    14320    0    14312    75    73     2    13     0     8    1
rttmr       72       24    0       23     1     0     1     1     0     8    0
ip6q        72        8    0        8     5     5     0     1     0     8    0
ip6af       40       16    0       16     4     4     0     1     0     8    0
nd6         48      115    0      114     7     6     1     1     0     8    0
pkpcb       40       83    0       83    21    21     0     1     0     8    0
swfcl       56        2    0        0     1     0     1     1     0     8    0
ppxss      1128     252    0      252    22    21     1     1     0     8    1
pffrag     232      246    0      246    25    24     1     1     0   482    1
pffrnode    88      246    0      246    25    24     1     1     0     8    1
pffrent     40     7956    0     7956    25    24     1     1     0     8    1
pfosfp      40      846    0      423     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfstitem    24      935    0      815     1     0     1     1     0     8    0
pfstkey    112      936    0      816     5     1     4     5     0     8    0
pfstate    328      936    0      816    16     6    10    13     0     8    0
pfrule     1360      21    0       16     2     1     1     2     0     8    0
art_heap8  4096      40    0       36    17    13     4     6     0     8    0
art_heap4  256     3607    0     3347    46    27    19    22     0     8    0
art_table   32     3647    0     3383     3     0     3     3     0     8    0
art_node    16      839    0      792     1     0     1     1     0     8    0
sysvmsgpl   40       31    0       17     1     0     1     1     0     8    0
semupl     112        3    0        3     1     1     0     1     0     8    0
semapl     112     4002    0     3992     1     0     1     1     0     8    0
shmpl      112      136    0        8     4     0     4     4     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino1pl    128    14385    0    12948    48     1    47    47     0     8    0
ffsino     272    14385    0    12948    98     1    97    97     0     8    0
nchpl      144    29458    0    28989    61    41    20    61     0     8    0
uvmvnodes   72     7015    0        0   128     0   128   128     0     8    0
vnodes     208     7015    0        0   370     0   370   370     0     8    0
namei      1024  103790    0   103790     4     3     1     1     0     8    1
percpumem   16       30    0        0     1     0     1     1     0     8    0
vcpupl     1984      68    0        3     9     0     9     9     0     8    0
vmpool     552      111    0       46     7     2     5     5     0     8    0
scsiplug    64       10    0       10     8     7     1     1     0     8    1
scxspl     192    89605    0    89605    62    59     3     7     0     8    3
plimitpl   152      637    0      629     1     0     1     1     0     8    0
sigapl     432     8395    0     8379     4     2     2     3     0     8    0
futexpl     56   242642    0   242641     3     2     1     1     0     8    0
knotepl    112     2222    0     2203    14    13     1     3     0     8    0
kqueuepl   104     7235    0     7232    17    16     1     4     0     8    0
pipepl     112     5270    0     5251     9     8     1     2     0     8    0
fdescpl    488     8396    0     8379     3     0     3     3     0     8    0
filepl     152    83697    0    83595    75    69     6    14     0     8    2
lockfpl    104     2934    0     2933     1     0     1     1     0     8    0
lockfspl    48     1020    0     1019     1     0     1     1     0     8    0
sessionpl  112       61    0       50     1     0     1     1     0     8    0
pgrppl      48      184    0      173     1     0     1     1     0     8    0
ucredpl     96     9058    0     9049     1     0     1     1     0     8    0
zombiepl   144     8384    0     8384     4     3     1     1     0     8    1
processpl  896     8417    0     8384     5     1     4     5     0     8    0
procpl     632    27299    0    27254     5     0     5     5     0     8    0
srpgc       64       61    0       61    22    22     0     1     0     8    0
sosppl     128      342    0      342    31    30     1     1     0     8    1
sockpl     384    20069    0    20046   113   109     4    22     0     8    1
mcl64k     65536    569    0        0    69    35    34    66     0     8    0
mcl16k     16384     33    0        0     4     1     3     3     0     8    0
mcl12k     12288     49    0        0     2     0     2     2     0     8    0
mcl9k      9216      25    0        0     2     0     2     2     0     8    0
mcl8k      8192      33    0        0     5     2     3     3     0     8    0
mcl4k      4096      25    0        0     3     0     3     3     0     8    0
mcl2k2     2112      10    0        0     1     0     1     1     0     8    0
mcl2k      2048     227    0        0    24     7    17    24     0     8    0
mtagpl      80      337    0        0     4     1     3     3     0     8    0
mbufpl     256     1019    0        0    43     0    43    43     0     8    0
bufpl      256    36919    0    29861   442     0   442   442     0     8    0
anonpl      16  1058600    0  1036914   339   237   102   106     0   124    9
amapchunkpl 152   63473    0    63279   124   114    10    15     0   158    0
amappl16   192    47830    0    46577   384   313    71    75     0     8    5
amappl15   184     1515    0     1514     1     0     1     1     0     8    0
amappl14   176     1504    0     1494     1     0     1     1     0     8    0
amappl13   168      440    0      439     1     0     1     1     0     8    0
amappl12   160     1957    0     1957     8     8     0     1     0     8    0
amappl11   152     1349    0     1334     1     0     1     1     0     8    0
amappl10   144      507    0      499     1     0     1     1     0     8    0
amappl9    136     2223    0     2220     1     0     1     1     0     8    0
amappl8    128     1883    0     1808     4     1     3     3     0     8    0
amappl7    120      643    0      634     1     0     1     1     0     8    0
amappl6    112     1278    0     1261     1     0     1     1     0     8    0
amappl5    104     2539    0     2523     1     0     1     1     0     8    0
amappl4     96     8201    0     8166     1     0     1     1     0     8    0
amappl3     88     1825    0     1811     1     0     1     1     0     8    0
amappl2     80    65138    0    65053     3     1     2     3     0     8    0
amappl1     72   197679    0   197216    25    15    10    20     0     8    0
amappl      80    28498    0    28409     2     0     2     2     0    84    0
dma4096    4096       1    0        1     1     1     0     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       17    0       17     1     1     0     1     0     8    0
aobjpl      64      137    0        8     3     0     3     3     0     8    0
uaddrrnd    24     8507    0     8379     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     8507    0     8379     1     0     1     1     0     8    0
vmmpekpl   168    61248    0    61195     3     0     3     3     0     8    0
vmmpepl    168  1078835    0  1076117   521   348   173   174     0   357   47
vmsppl     368     8395    0     8379     2     0     2     2     0     8    0
pdppl      4096   17021    0    16915    16     2    14    14     0     8    0
pvpl        32  2692746    0  2669353   565   345   220   238     0   265   20
pmappl     232     8506    0     8425     8     3     5     5     0     8    0
extentpl    40       41    0       26     1     0     1     1     0     8    0
phpool     112      839    0      152    21     0    21    21     0     8    0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/02 14:23 openbsd d9601055ff2c 997ccc67 .config console log report ci-openbsd-multicore
* Struck through repros no longer work on HEAD.