syzbot


panic: unhandled af (4)

Status: fixed on 2022/01/25 13:33
Reported-by: syzbot+0ef9190e7d0195496d0d@syzkaller.appspotmail.com
Fix commit: 035d4f5430cb An af-to pf rule must have an address family naf to use after translation. Make stricter sanity checks in pf ioctl to avoid later crashes during packet processing. Reported-by: syzbot+0ef9190e7d0195496d0d@syzkaller.appspotmail.com OK sashan@
First crash: 1063d, last: 1034d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: unhandled af C 21 1782d 1784d 3/3 fixed on 2020/01/09 12:20
openbsd panic: unhandled af (3) syz 7 1596d 1605d 0/3 closed as invalid on 2020/10/03 07:42
openbsd panic: unhandled af (2) C 22 1608d 1634d 3/3 fixed on 2020/06/28 14:37

Sample crash report:
login: panic: unhandled af 0
Stopped at      db_enter+0x18:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
 171588  76188      0         0x2      0x480    1  syz-executor.2
* 73850   5555      0     0x14000 0x40000200    0K softclock
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff8246216a) at panic+0x177 sys/kern/subr_prf.c:202
unhandled_af(0) at unhandled_af+0x16
pf_addrcpy(ffff800021155830,ffff800000b1e250,0) at pf_addrcpy+0x9e sys/net/pf.c:413
pf_map_addr(0,ffff800000b1e008,ffff800021155a68,ffff800021155830,ffff800021155748,ffff800021155910,c88656f43b421001,ffff800021155a50) at pf_map_addr+0x3c3
pf_get_sport(ffff800021155a50,ffff800000b1e008,ffff800021155830,ffff80002115585e,0,0,63d8bee1ce600320) at pf_get_sport+0xc5 sys/net/pf_lb.c:161
pf_get_transaddr_af(ffff800000b1e008,ffff800021155a50,ffff800021155910) at pf_get_transaddr_af+0x153 sys/net/pf_lb.c:756
pf_test_rule(ffff800021155a50,ffff800021155b48,ffff800021155b50,ffff800021155b40,ffff800021155b20,fffffd80723113f0,215b48c4637c370c) at pf_test_rule+0x480 sys/net/pf.c:3891
pf_test(18,2,ffff800000b36000,ffff800021155cc8) at pf_test+0x1dec sys/net/pf.c:7064
ip6_output(fffffd8072311300,ffffffff829b97f8,0,1,ffff800021155d58,0) at ip6_output+0x13c9 sys/netinet6/ip6_output.c:634
mld6_sendpkt(ffff800000b73300,83,0) at mld6_sendpkt+0x2cd sys/netinet6/mld6.c:465
mld6_fasttimeo() at mld6_fasttimeo+0x152 mld6_checktimer sys/netinet6/mld6.c:363 [inline]
mld6_fasttimeo() at mld6_fasttimeo+0x152 sys/netinet6/mld6.c:341
pffasttimo(ffffffff82946690) at pffasttimo+0x10b sys/kern/uipc_domain.c:288
timeout_run(ffffffff82946690) at timeout_run+0xcc sys/kern/kern_timeout.c:678
end trace frame: 0xffff800021155ee0, 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: unhandled af 0
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440
panic(ffffffff8246216a) at panic+0x177 sys/kern/subr_prf.c:202
unhandled_af(0) at unhandled_af+0x16
pf_addrcpy(ffff800021155830,ffff800000b1e250,0) at pf_addrcpy+0x9e sys/net/pf.c:413
pf_map_addr(0,ffff800000b1e008,ffff800021155a68,ffff800021155830,ffff800021155748,ffff800021155910,c88656f43b421001,ffff800021155a50) at pf_map_addr+0x3c3
pf_get_sport(ffff800021155a50,ffff800000b1e008,ffff800021155830,ffff80002115585e,0,0,63d8bee1ce600320) at pf_get_sport+0xc5 sys/net/pf_lb.c:161
pf_get_transaddr_af(ffff800000b1e008,ffff800021155a50,ffff800021155910) at pf_get_transaddr_af+0x153 sys/net/pf_lb.c:756
pf_test_rule(ffff800021155a50,ffff800021155b48,ffff800021155b50,ffff800021155b40,ffff800021155b20,fffffd80723113f0,215b48c4637c370c) at pf_test_rule+0x480 sys/net/pf.c:3891
pf_test(18,2,ffff800000b36000,ffff800021155cc8) at pf_test+0x1dec sys/net/pf.c:7064
ip6_output(fffffd8072311300,ffffffff829b97f8,0,1,ffff800021155d58,0) at ip6_output+0x13c9 sys/netinet6/ip6_output.c:634
mld6_sendpkt(ffff800000b73300,83,0) at mld6_sendpkt+0x2cd sys/netinet6/mld6.c:465
mld6_fasttimeo() at mld6_fasttimeo+0x152 mld6_checktimer sys/netinet6/mld6.c:363 [inline]
mld6_fasttimeo() at mld6_fasttimeo+0x152 sys/netinet6/mld6.c:341
pffasttimo(ffffffff82946690) at pffasttimo+0x10b sys/kern/uipc_domain.c:288
timeout_run(ffffffff82946690) at timeout_run+0xcc sys/kern/kern_timeout.c:678
softclock_thread(ffff800021148fc0) at softclock_thread+0x134 sys/kern/kern_timeout.c:802
end trace frame: 0x0, count: -15
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff8000211554d0
rbx               0xffffffff82792bff    cpu_info_full_primary+0x2bff
rdx                            0x3fd
rcx                                0
rax                             0x16
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x157e80fc0c2a58c6
r11               0x478fd966728d4f42
r12               0xffffffff82792a00    cpu_info_full_primary+0x2a00
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff81acb408    db_enter+0x18
cs                               0x8
rflags                         0x246
rsp               0xffff8000211554c0
ss                              0x10
db_enter+0x18:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (softclock) pid=73850 stat=onproc
    flags process=14000<NOZOMBIE,SYSTEM> proc=40000200<SYSTEM,CPUPEG>
    pri=0, usrpri=50, nice=20
    forw=0xffffffffffffffff, list=0xffff800021149a40,0xffff800021148d30
    process=0xffff8000ffffe990 user=0xffff800021150000, vmspace=0xffffffff82944e98
    estcpu=0, cpticks=0, pctcpu=0.0
    user=0, sys=0, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 77329    9044  88703      0  2           0                syz-executor.0
 88718  155726  28709      0  2       0x482                syz-executor.3
 76188  171588  28709      0  7       0x482                syz-executor.2
 55270  121669  28709      0  2       0x482                syz-executor.1
 88703  463039  28709      0  2         0x2                syz-executor.0
 28709  109902  93904      0  3        0x82  thrsleep      syz-execprog
 28709  359103  93904      0  3   0x4000082  nanoslp       syz-execprog
 28709   25980  93904      0  3   0x4000082  thrsleep      syz-execprog
 28709  453706  93904      0  3   0x4000082  thrsleep      syz-execprog
 28709  382147  93904      0  3   0x4000082  thrsleep      syz-execprog
 28709  383005  93904      0  3   0x4000082  thrsleep      syz-execprog
 28709  254991  93904      0  3   0x4000082  thrsleep      syz-execprog
 28709  266857  93904      0  2   0x4000002                syz-execprog
 93904   41117  93493      0  3    0x10008a  sigsusp       ksh
 93493  241513  57722      0  3        0x9a  poll          sshd
 80803  364670      1      0  3    0x100083  ttyin         getty
 57722  301353      1      0  3        0x88  poll          sshd
 76925  100364  28110     74  3    0x100092  bpf           pflogd
 28110  342048      1      0  3        0x80  netio         pflogd
  7396  471206   7542     73  3    0x100090  kqread        syslogd
  7542  238493      1      0  3    0x100082  netio         syslogd
 65739  325924      1      0  3    0x100080  kqread        resolvd
 90262  467225  80881     77  3    0x100092  kqread        dhcpleased
 40011  257118  80881     77  3    0x100092  kqread        dhcpleased
 80881  294292      1      0  3        0x80  kqread        dhcpleased
 12232  377198      0      0  3     0x14200  bored         smr
 95645  410796      0      0  2     0x14200                zerothread
 40470   76190      0      0  3     0x14200  aiodoned      aiodoned
 54552  476969      0      0  3     0x14200  syncer        update
 30124  148343      0      0  3     0x14200  cleaner       cleaner
 34266  115916      0      0  3     0x14200  reaper        reaper
 73466  520365      0      0  3     0x14200  pgdaemon      pagedaemon
 70344   55155      0      0  3     0x14200  bored         viomb
 46844  258879      0      0  3  0x40014200  acpi0         acpi0
 88599  252564      0      0  3  0x40014200                idle1
 75616  275299      0      0  3     0x14200  bored         softnet
 95416   74243      0      0  3     0x14200  bored         systqmp
 83174   16240      0      0  3     0x14200  bored         systq
* 5555   73850      0      0  7  0x40014200                softclock
 88676  426579      0      0  3  0x40014200                idle0
     1  179767      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
Process 5555 (softclock) thread 0xffff800021148fc0 (73850)
exclusive rwlock pf_lock r = 0 (0xffffffff82804380)
#0  witness_lock+0x44d
#1  pf_test+0x1dc2
#2  ip6_output+0x13c9 sys/netinet6/ip6_output.c:634
#3  mld6_sendpkt+0x2cd sys/netinet6/mld6.c:465
#4  mld6_fasttimeo+0x152 mld6_checktimer sys/netinet6/mld6.c:363 [inline]
#4  mld6_fasttimeo+0x152 sys/netinet6/mld6.c:341
#5  pffasttimo+0x10b sys/kern/uipc_domain.c:288
#6  timeout_run+0xcc sys/kern/kern_timeout.c:678
#7  softclock_thread+0x134 sys/kern/kern_timeout.c:802
#8  proc_trampoline+0x1c
exclusive rwlock netlock r = 0 (0xffffffff8279ee60)
#0  witness_lock+0x44d
#1  mld6_fasttimeo+0x1d sys/netinet6/mld6.c:336
#2  pffasttimo+0x10b sys/kern/uipc_domain.c:288
#3  timeout_run+0xcc sys/kern/kern_timeout.c:678
#4  softclock_thread+0x134 sys/kern/kern_timeout.c:802
#5  proc_trampoline+0x1c
shared rwlock timeout r = 0 (0xffffffff82809df0)
#0  witness_lock+0x44d
#1  timeout_run+0xb7 sys/kern/kern_timeout.c:674
#2  softclock_thread+0x134 sys/kern/kern_timeout.c:802
#3  proc_trampoline+0x1c
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82842a90)
#0  witness_lock+0x44d
#1  __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
#2  mi_switch+0x3d3 sys/kern/sched_bsd.c:416
#3  sleep_finish+0x1b2 sys/kern/kern_synch.c:433
#4  softclock_thread+0xd9 sys/kern/kern_timeout.c:797
#5  proc_trampoline+0x1c
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10156   6463K    6463K  78643K     11246        0
            pcb    13      8K       8K  78643K        13        0
         rtable   155      5K       6K  78643K       239        0
         ifaddr    59     13K      13K  78643K        61        0
       counters    48     34K      34K  78643K        48        0
       ioctlops     0      0K       4K  78643K      2176        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         5        0
         vnodes  1179     74K      74K  78643K      1184        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       1K  78643K         2        0
         VM map     2      1K       1K  78643K         2        0
            sem     2      0K       0K  78643K         2        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12598        0
      file desc     7     21K      49K  78643K        88        0
           proc    67     87K      99K  78643K       393        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
       in_multi    55      3K       3K  78643K        55        0
    ether_multi     1      0K       0K  78643K         1        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys    25    122K     122K  78643K        25        0
           exec     0      0K       2K  78643K       453        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   151     39K      40K  78643K      2412        0
       UVM aobj     3      2K       2K  78643K         3        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
            NDP    16      1K       1K  78643K        16        0
           temp    42   4188K    4252K  78643K      3453        0
         kqueue    10     14K      14K  78643K        10        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       25    0       22     1     0     1     1     0     8    0
rtentry    112       67    0        1     2     0     2     2     0     8    0
unpcb      136       35    0       20     1     0     1     1     0     8    0
syncache   296        5    0        5     2     1     1     1     0     8    1
tcpcb      736        7    0        4     1     0     1     1     0     8    0
arp        120       10    0        0     1     0     1     1     0     8    0
inpcb      304       45    0       39     1     0     1     1     0     8    0
nd6         48       12    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
pfrktable  1344       3    0        1     1     0     1     1     0     8    0
pfstitem    24       11    0        0     1     0     1     1     0     8    0
pfstkey    112       11    0        0     1     0     1     1     0     8    0
pfstate    320       11    0        0     1     0     1     1     0     8    0
pfrule     1360     714    0      708     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      276    0        0    18     0    18    18     0     8    0
art_table   32      277    0        0     3     0     3     3     0     8    0
art_node    16       66    0        6     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     1461    0       46    89     0    89    89     0     8    0
ffsino     272     1461    0       46    95     0    95    95     0     8    0
nchpl      144     1706    0       85    61     0    61    61     0     8    0
uvmvnodes   80     1471    0        0    31     0    31    31     0     8    0
vnodes     224     1471    0        0    87     0    87    87     0     8    0
namei      1024    4998    0     4998     2     1     1     1     0     8    1
percpumem   16       36    0        0     1     0     1     1     0     8    0
pfiaddrpl  120        1    0        0     1     0     1     1     0     8    0
scxspl     216     5171    0     5171    10     9     1     8     0     8    1
plimitpl   152       20    0        9     1     0     1     1     0     8    0
sigapl     424      330    0      296     5     0     5     5     0     8    0
futexpl     64      129    0      129     1     0     1     1     0     8    1
knotepl    112       70    0        0     2     0     2     2     0     8    0
kqueuepl   216        6    0        0     1     0     1     1     0     8    0
pipepl     336       93    0       77     3     1     2     2     0     8    0
fdescpl    496      316    0      296     4     0     4     4     0     8    1
filepl     152     1311    0     1214     4     0     4     4     0     8    0
lockfpl    104        6    0        4     1     0     1     1     0     8    0
lockfspl    48        4    0        2     1     0     1     1     0     8    0
sessionpl  144       22    0        9     1     0     1     1     0     8    0
pgrppl      48       22    0        9     1     0     1     1     0     8    0
ucredpl     96       69    0       57     1     0     1     1     0     8    0
zombiepl   144      296    0      293     2     1     1     1     0     8    0
processpl  1064     330    0      293     3     0     3     3     0     8    0
procpl     672      369    0      325     5     0     5     5     0     8    0
sockpl     480      105    0       81     5     1     4     4     0     8    0
mcl8k      8192       3    0        0     1     0     1     1     0     8    0
mcl4k      4096       3    0        0     1     0     1     1     0     8    0
mcl2k      2048      83    0        0    11     0    11    11     0     8    0
mtagpl      96        1    0        0     1     0     1     1     0     8    0
mbufpl     256      239    0        0    14     0    14    14     0     8    0
bufpl      288     3545    0      137   244     0   244   244     0     8    0
anonpl      24    49491    0    45348    38     6    32    33     0   186    2
amapchunkpl 152    5211    0     4876    20     2    18    18     0   158    0
amappl16   200      270    0      203     4     0     4     4     0     8    0
amappl15   192       10    0        8     1     0     1     1     0     8    0
amappl14   184        1    0        1     1     0     1     1     0     8    1
amappl13   176       50    0       48     2     1     1     1     0     8    0
amappl12   168       14    0       14     2     1     1     1     0     8    1
amappl11   160       46    0       30     1     0     1     1     0     8    0
amappl10   152       64    0       53     1     0     1     1     0     8    0
amappl9    144      450    0      447     1     0     1     1     0     8    0
amappl8    136      353    0      330     2     1     1     1     0     8    0
amappl7    128       90    0       81     1     0     1     1     0     8    0
amappl6    120      170    0      153     1     0     1     1     0     8    0
amappl5    112      204    0      187     1     0     1     1     0     8    0
amappl4    104      618    0      597     1     0     1     1     0     8    0
amappl3     96      163    0      148     1     0     1     1     0     8    0
amappl2     88      383    0      345     2     0     2     2     0     8    1
amappl1     80     9212    0     8762    15     2    13    13     0     8    1
amappl      88     2091    0     1978     4     0     4     4     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        2    0        0     1     0     1     1     0     8    0
uaddrrnd    24      316    0      296     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      316    0      296     1     0     1     1     0     8    0
vmmpekpl   168     7271    0     7250     2     0     2     2     0     8    0
vmmpepl    168    31068    0    29807    75     2    73    73     0   357   14
vmsppl     368      315    0      296     3     0     3     3     0     8    0
rwobjpl     56    10700    0     8449    34     0    34    34     0     8    0
pdppl      4096     640    0      592    80    18    62    62     0     8   14
pvpl        32   178935    0   171801   146     5   141   141     0   265   74
pmappl     248      315    0      296     2     0     2     2     0     8    0
extentpl    40       57    0       38     1     0     1     1     0     8    0
phpool     112      571    0       23    16     0    16    16     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(ffffffff8246216a) at panic+0x177 sys/kern/subr_prf.c:202
unhandled_af(0) at unhandled_af+0x16
pf_addrcpy(ffff800021155830,ffff800000b1e250,0) at pf_addrcpy+0x9e sys/net/pf.c:413
pf_map_addr(0,ffff800000b1e008,ffff800021155a68,ffff800021155830,ffff800021155748,ffff800021155910,c88656f43b421001,ffff800021155a50) at pf_map_addr+0x3c3
pf_get_sport(ffff800021155a50,ffff800000b1e008,ffff800021155830,ffff80002115585e,0,0,63d8bee1ce600320) at pf_get_sport+0xc5 sys/net/pf_lb.c:161
pf_get_transaddr_af(ffff800000b1e008,ffff800021155a50,ffff800021155910) at pf_get_transaddr_af+0x153 sys/net/pf_lb.c:756
pf_test_rule(ffff800021155a50,ffff800021155b48,ffff800021155b50,ffff800021155b40,ffff800021155b20,fffffd80723113f0,215b48c4637c370c) at pf_test_rule+0x480 sys/net/pf.c:3891
pf_test(18,2,ffff800000b36000,ffff800021155cc8) at pf_test+0x1dec sys/net/pf.c:7064
ip6_output(fffffd8072311300,ffffffff829b97f8,0,1,ffff800021155d58,0) at ip6_output+0x13c9 sys/netinet6/ip6_output.c:634
mld6_sendpkt(ffff800000b73300,83,0) at mld6_sendpkt+0x2cd sys/netinet6/mld6.c:465
mld6_fasttimeo() at mld6_fasttimeo+0x152 mld6_checktimer sys/netinet6/mld6.c:363 [inline]
mld6_fasttimeo() at mld6_fasttimeo+0x152 sys/netinet6/mld6.c:341
pffasttimo(ffffffff82946690) at pffasttimo+0x10b sys/kern/uipc_domain.c:288
timeout_run(ffffffff82946690) at timeout_run+0xcc sys/kern/kern_timeout.c:678
softclock_thread(ffff800021148fc0) at softclock_thread+0x134 sys/kern/kern_timeout.c:802
end trace frame: 0x0, count: -15
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x1a:        addq    $0x8,%rsp
x86_ipi_db(ffff800020d38ff0) 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
__mp_lock(ffffffff82842888) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82842888) at __mp_lock+0x122 sys/kern/kern_lock.c:147
__mp_acquire_count(ffffffff82842888,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416
sleep_finish(ffff8000212bfb30,1) at sleep_finish+0x1b2 sys/kern/kern_synch.c:433
tsleep(ffffffff8283f4b0,120,ffffffff824352df,2) at tsleep+0x12c sys/kern/kern_synch.c:158
sys_nanosleep(ffff80002123e2a0,ffff8000212bfc50,ffff8000212bfcb0) at sys_nanosleep+0x1f5 sys/kern/kern_time.c:299
syscall(ffff8000212bfd20) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000212bfd20) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffe8fe0, count: 4
ddb{1}> trace
x86_ipi_db(ffff800020d38ff0) 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
__mp_lock(ffffffff82842888) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82842888) at __mp_lock+0x122 sys/kern/kern_lock.c:147
__mp_acquire_count(ffffffff82842888,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227
mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416
sleep_finish(ffff8000212bfb30,1) at sleep_finish+0x1b2 sys/kern/kern_synch.c:433
tsleep(ffffffff8283f4b0,120,ffffffff824352df,2) at tsleep+0x12c sys/kern/kern_synch.c:158
sys_nanosleep(ffff80002123e2a0,ffff8000212bfc50,ffff8000212bfcb0) at sys_nanosleep+0x1f5 sys/kern/kern_time.c:299
syscall(ffff8000212bfd20) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff8000212bfd20) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffe8fe0, count: -11
ddb{1}> 

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/31 08:33 openbsd b27c3a9c3f12 36bd2e48 .config console log report syz ci-openbsd-multicore panic: unhandled af
2021/12/30 05:06 openbsd ff5e2a581621 6cc879d4 .config console log report syz ci-openbsd-multicore panic: unhandled af
2021/12/24 08:30 openbsd 9d2191b71eea 6caa12e4 .config console log report syz ci-openbsd-multicore panic: unhandled af
2022/01/22 16:17 openbsd c988c73d0d53 214351e1 .config console log report ci-openbsd-main panic: unhandled af
2022/01/17 03:30 openbsd 0ebca8ea015d 723cfaf0 .config console log report ci-openbsd-multicore panic: unhandled af
2022/01/15 06:40 openbsd d493aa45c2c6 723cfaf0 .config console log report ci-openbsd-multicore panic: unhandled af
2022/01/13 07:22 openbsd 5e6f4d1273cf 44d1319a .config console log report ci-openbsd-multicore panic: unhandled af
2022/01/11 09:04 openbsd 8e544e80ad05 1884f55a .config console log report ci-openbsd-multicore panic: unhandled af
2021/12/31 07:46 openbsd b27c3a9c3f12 36bd2e48 .config console log report ci-openbsd-multicore panic: unhandled af
2021/12/30 04:53 openbsd ff5e2a581621 6cc879d4 .config console log report ci-openbsd-multicore panic: unhandled af
2021/12/24 08:16 openbsd 9d2191b71eea 6caa12e4 .config console log report ci-openbsd-multicore panic: unhandled af
* Struck through repros no longer work on HEAD.