KASAN: invalid memory access in mrt6_ioctl

Status: fixed on 2026/10/04 11:05
Reported-by: syzbot+3663887fe1e137621ce0@syzkaller.appspotmail.com
Fix commit: d11e486715c5 Make IPv6 multicast router global variable MP safe.
First crash: 63d, last: 41d

Sample crash report:
panic: Caught invalid memory access at ffff8000017d4e08 size 4 op 0
Stopped at      db_enter+0x17:  popq    %rbp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
* 98161  30916      0           0  0x4000000    0K syz-executor
 268412  23138      0         0x2          0    1  syz-executor
db_enter() at db_enter+0x17 sys/arch/amd64/amd64/db_interface.c:457
panic(ffffffff846431fb) at panic+0x270 sys/kern/subr_prf.c:198
__asan_load4_noabort(ffff8000017d4e08) at __asan_load4_noabort+0xa3
mrt6_ioctl(ffff800001c445f8,c028756b,ffff8000299d24f0) at mrt6_ioctl+0x125 sys/netinet6/ip6_mroute.c:242
sys_ioctl(ffff8000298f42a8,ffff8000299d2790,ffff8000299d2700) at sys_ioctl+0x868 sys/kern/sys_generic.c:510
syscall(ffff8000299d2790) at syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff8000299d2790) at syscall+0x1089 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xdb4f140b0a0, count: 8
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: Caught invalid memory access at ffff8000017d4e08 size 4 op 0
ddb{0}> show kasan
KASAN: invalid read of 4 bytes at 0xffff8000017d4e08 from pc 0xffffffff8156d165
KASAN: first bad byte at 0xffff8000017d4e08 (+0); shadow 0xfd: pool use-after-free (or unallocated item)
KASAN: 0xffff8000017d4e08 is 312 bytes inside the 328-byte item [0xffff8000017d4cd0..0xffff8000017d4e18) in pool 'inpcb'
KASAN: allocated at:
#0  pool_get+0x770 sys/kern/subr_pool.c:834
#1  in_pcballoc+0x5f sys/netinet/in_pcb.c:-1
#2  tcp_attach+0x25d sys/netinet/tcp_usrreq.c:496
#3  socreate+0x3f1 pru_attach sys/sys/protosw.h:275 [inline]
#3  socreate+0x3f1 sys/kern/uipc_socket.c:220
#4  sys_socket+0x20f sys/kern/uipc_syscalls.c:102
#5  syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#5  syscall+0x1089 sys/arch/amd64/amd64/trap.c:791
#6  Xsyscall+0x128
KASAN: freed at:
#0  pool_put+0x79 sys/kern/subr_pool.c:1019
#1  tcp_close+0x2b0 tcpstat_inc sys/netinet/tcp_var.h:-1 [inline]
#1  tcp_close+0x2b0 sys/netinet/tcp_subr.c:530
#2  tcp_usrclosed+0x122 sys/netinet/tcp_usrreq.c:1094
#3  tcp_shutdown+0x1c9 sys/netinet/tcp_usrreq.c:786
#4  soshutdown+0xd2 pru_shutdown sys/sys/protosw.h:327 [inline]
#4  soshutdown+0xd2 sys/kern/uipc_socket.c:1267
#5  sys_shutdown+0x17d sys/kern/uipc_syscalls.c:1187
#6  syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#6  syscall+0x1089 sys/arch/amd64/amd64/trap.c:791
#7  Xsyscall+0x128
KASAN: pc: mrt6_ioctl+0x125
KASAN: call trace:
#0  __asan_load4_noabort+0x82 kasan_shadow_check sys/kern/subr_kasan.c:1014 [inline]
#0  __asan_load4_noabort+0x82 sys/kern/subr_kasan.c:1098
#1  mrt6_ioctl+0x125 sys/netinet6/ip6_mroute.c:242
#2  sys_ioctl+0x868 sys/kern/sys_generic.c:510
#3  syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#3  syscall+0x1089 sys/arch/amd64/amd64/trap.c:791
#4  Xsyscall+0x128
KASAN: shadow of 0xffff8000017d4d00..0xffff8000017d4f80 (1 cell = 8 bytes):
 0xffff8000017d4d00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
 0xffff8000017d4d80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
>0xffff8000017d4e00: fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd
 0xffff8000017d4e80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
 0xffff8000017d4f00: fd fd fd fd fd fd fd fd fd fd fd fd 08 08 08 08
KASAN: legend: 00 valid; 01..07 partial; fb malloc redzone; fc malloc freed; fd pool freed; fe kmem; fa global; f1..f4/f8 stack/scope
ddb{0}> trace
db_enter() at db_enter+0x17 sys/arch/amd64/amd64/db_interface.c:457
panic(ffffffff846431fb) at panic+0x270 sys/kern/subr_prf.c:198
__asan_load4_noabort(ffff8000017d4e08) at __asan_load4_noabort+0xa3
mrt6_ioctl(ffff800001c445f8,c028756b,ffff8000299d24f0) at mrt6_ioctl+0x125 sys/netinet6/ip6_mroute.c:242
sys_ioctl(ffff8000298f42a8,ffff8000299d2790,ffff8000299d2700) at sys_ioctl+0x868 sys/kern/sys_generic.c:510
syscall(ffff8000299d2790) at syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff8000299d2790) at syscall+0x1089 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xdb4f140b0a0, count: -7
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff8000299d22b0
rbx               0xffff8000299d2320
rdx                                0
rcx               0xffffffff85416ff0    cpu_info_full_primary+0x1ff0
rax                                0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0xffff8000299d2098
r11               0xffffffff81b47ce0    x86_bus_space_io_read_1
r12               0xffffffff846431fb    .str+0x9d3bb
r13               0xffffffff85417c10    cpu_info_full_primary+0x2c10
r14               0xffffffff85417e0f    cpu_info_full_primary+0x2e0f
r15                              0x1
rip               0xffffffff83f69c07    db_enter+0x17
cs                               0x8
rflags                         0x246
rsp               0xffff8000299d22b0
ss                              0x10
db_enter+0x17:  popq    %rbp
ddb{0}> show proc
PROC (syz-executor) tid=98161 pid=30916 tcnt=3 stat=onproc
    flags process=0 proc=4000000<THREAD>
    runpri=32, usrpri=81, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff8000298f3770,0xffff8000298f4020
    process=0xffff80003bb61d00 user=0xffff8000299c7000, vmspace=0xffff80000182a008
    estcpu=31, cpticks=21, pctcpu=0.0, user=0, sys=21, intr=0
ddb{0}> ps
   PID     TID   PPID   UID  S      PRLAGS     PFLAGS WAIT      COMMAND
 42307  393597  28351     0  2        0x40          0           syz-executor
 37747  324258  69322     0  2           0          0           syz-executor
 22990   39144   7054     0  2           0          0           syz-executor
 34844  239552  32912     0  2           0          0           syz-executor
 34844  439480  32912     0  3           0  0x4000080 fsleep    syz-executor
 34844  125412  32912     0  3           0  0x4000080 kqread    syz-executor
 30916  280304  68747     0  2           0          0           syz-executor
 30916  396366  68747     0  2           0  0x4000000           syz-executor
*30916   98161  68747     0  7           0  0x4000000           syz-executor
 79862  435988  13324     0  2        0x10          0           syz-executor
 79862  429567  13324     0  3        0x10  0x4000080 fsleep    syz-executor
 97852  153307  69046     0  2         0x2          0           syz-executor
 15269  140118  23138     0  2           0      0xc80           syz-executor
 15269  368584  23138     0  3           0  0x4000080 sbwait    syz-executor
 15269  477123  23138     0  3           0  0x4000080 sbwait    syz-executor
 15269  105339  23138     0  3           0  0x4000080 fsleep    syz-executor
 28351  401107  69046     0  3        0x82          0 ppwait    syz-executor
 68747  102589  69046     0  2         0x2      0xc80           syz-executor
 69322  390194  69046     0  2         0x2      0xc80           syz-executor
 32912   27650  69046     0  2         0x2      0xc80           syz-executor
 23138  268412  69046     0  7         0x2          0           syz-executor
 59117   86277      0     0  3     0x14000      0x200 acct      acct
  7054  327449  69046     0  2         0x2      0xc80           syz-executor
 13324   56739  69046     0  2         0x2      0xc80           syz-executor
 69046   78871   3365     0  2         0x2          0           syz-executor
  3365    7355  42841     0  3    0x100002       0x88 sigsusp   ksh
 42841  313301  84609     0  3        0x10       0x88 kqread    sshd-session
 84609  481444  40942     0  3        0x12       0x80 kqread    sshd-session
 95414  429824      1     0  3    0x100003       0x80 ttyin     getty
 40942  216617      1     0  3           0       0x88 kqread    sshd
 32389  383504  29677    74  3   0x1100012       0x80 bpf       pflogd
 29677  519099      1     0  3           0       0x80 sbwait    pflogd
 86471  287643  77426    73  2   0x1100010       0x80           syslogd
 77426  151673      1     0  3    0x100002       0x80 sbwait    syslogd
  3414  518384      1     0  3    0x100000       0x80 kqread    resolvd
 14331  262716  30860    77  3    0x100012       0x80 kqread    dhcpleased
 66707  407014  30860    77  3    0x100012       0x80 kqread    dhcpleased
 30860  407868      1     0  3           0       0x80 kqread    dhcpleased
 18279  292944      0     0  2     0x14000      0x200           smr
 16584  408128      0     0  2     0x14000      0x200           zerothread
 48620  299964      0     0  3     0x14000      0x200 aiodoned  aiodoned
 49016  460696      0     0  3     0x14000      0x200 syncer    update
 26223   67045      0     0  3     0x14000      0x200 cleaner   cleaner
 23867  323829      0     0  3     0x14000      0x200 reaper    reaper
  1045  300057      0     0  3     0x14000      0x200 pgdaemon  pagedaemon
  4631  435095      0     0  3     0x14000      0x200 bored     viomb
 83504  126703      0     0  3     0x14000 0x40000200 acpi0     acpi0
 95840  496512      0     0  3     0x14000 0x40000200           idle1
 85189  251784      0     0  3     0x14000      0x200 bored     softnet1
 45138  171306      0     0  3     0x14000      0x200 bored     softnet0
  6507    8594      0     0  3     0x14000      0x200 smrbar    systqmp
 46491  216891      0     0  3     0x14000      0x200 bored     systq
 83410  437162      0     0  2     0x14000      0x200           softclockmp
 59820  372211      0     0  3     0x14000 0x40000200 tmoslp    softclock
 45495  260991      0     0  3     0x14000 0x40000200           idle0
     1  508979      0     0  3         0x2       0x80 wait      init
     0       0     -1     0  3     0x10000      0x200 scheduler swapper
ddb{0}> show all locks
Process 30916 (syz-executor) thread 0xffff8000298f42a8 (98161)
shared rwlock netlock r = 0 (0xffffffff852e0018)
#0  witness_lock+0x632 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x632 sys/kern/subr_witness.c:1160
#1  rw_do_enter_read+0x55d sys/kern/kern_rwlock.c:413
#2  mrt6_ioctl+0x10f sys/netinet6/ip6_mroute.c:242
#3  sys_ioctl+0x868 sys/kern/sys_generic.c:510
#4  syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#4  syscall+0x1089 sys/arch/amd64/amd64/trap.c:791
#5  Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff85def4c0)
#0  witness_lock+0x632 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x632 sys/kern/subr_witness.c:1160
#1  mrt6_ioctl+0x53 sys/netinet6/ip6_mroute.c:232
#2  sys_ioctl+0x868 sys/kern/sys_generic.c:510
#3  syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#3  syscall+0x1089 sys/arch/amd64/amd64/trap.c:791
#4  Xsyscall+0x128
Process 6507 (systqmp) thread 0xffff800045ffe000 (8594)
shared rwlock systqmp r = 0 (0xffffffff852ff5b8)
#0  witness_lock+0x632 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x632 sys/kern/subr_witness.c:1160
#1  taskq_thread+0x1ba sys/kern/kern_task.c:442
#2  proc_trampoline+0x10
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11054  12247K   12394K 166960K     12169        0
            pcb    17     24K      24K 166960K        28        0
         rtable   237     19K      31K 166960K       485        0
             pf    34     22K      26K 166960K        57        0
         ifaddr    43     12K      14K 166960K        67        0
        ifgroup    55      2K       2K 166960K        79        0
         sysctl     1      1K      13K 166960K         6        0
       counters    70     42K      43K 166960K        82        0
       ioctlops     3      1K     185K 166960K      1491        0
            iov     0      0K      32K 166960K        65        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1302     84K      86K 166960K      1454        0
      UFS quota     1     36K      36K 166960K         1        0
      UFS mount     5     44K      44K 166960K         5        0
            shm     2      2K       6K 166960K         3        0
         VM map     2      1K       1K 166960K         2        0
            sem     4      0K       0K 166960K         5        0
        dirhash    12      2K       2K 166960K        12        0
           ACPI  1692    195K     405K 166960K     12470        0
      file desc    19     64K     121K 166960K       268        0
          sigio     0      0K       0K 166960K         3        0
           proc   143    131K     177K 166960K       693        0
        subproc    77      9K      13K 166960K       122        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     20K      20K 166960K         1        0
       in_multi    89      6K       8K 166960K       150        0
    ether_multi     1      0K       0K 166960K         1        0
            mrt     0      0K       0K 166960K         8        0
    ISOFS mount     1     36K      36K 166960K         1        0
  MSDOSFS mount     1     20K      20K 166960K         1        0
           ttys    37    263K     263K 166960K        37        0
           exec    36      9K      16K 166960K       452        0
   fusefs mount     1     36K      36K 166960K         1        0
            tdb     3      1K       1K 166960K         3        0
        VM swap    14    124K     124K 166960K        15        0
       UVM amap   496    315K     366K 166960K      4024        0
       UVM aobj     3      4K       4K 166960K         3        0
     pinsyscall   163    280K     368K 166960K      1570        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K         4        0
            NDP    18      0K       2K 166960K        43        0
           temp   456   9363K    9458K 166960K      5352        0
         kqueue    14     44K      84K 166960K        36        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{0}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       28    0        0     1     0     1     1     0     8    0
rtpcb      120       44    0       41     1     0     1     1     0     8    0
rtentry    176      164    0       72     6     0     6     6     0     8    1
unpcb      144       89    0       69     1     0     1     1     0     8    0
syncache   336        4    0        4     2     1     1     1     0     8    1
tcpcb      736       16    0       12     1     0     1     1     0     8    0
arp        136       28    0       13     1     0     1     1     0     8    0
inpcb      328      132    0      124     2     0     2     2     0     8    1
nd6        152       38    0       19     1     0     1     1     0     8    0
kcovpl      48       13    0        6     1     0     1     1     0     8    0
pffrag     232        1    0        0     1     0     1     1     0   482    0
pffrnode    88        1    0        0     1     0     1     1     0     8    0
pffrent     40        1    0        0     1     0     1     1     0     8    0
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfstitem    24       41    0        0     1     0     1     1     0     8    0
pfstkey    128       41    0        0     2     0     2     2     0     8    0
pfstate    448       41    0        0     5     0     5     5     0     8    0
pfrule     1360      21    0       16     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      662    0      289    30     0    30    30     0     8    4
art_table   40      663    0      289     5     0     5     5     0     8    0
art_node    32      164    0       78     1     0     1     1     0     8    0
semupl     112        1    0        1     1     0     1     1     0     8    1
semapl      72        3    0        1     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     1688    0      208    93     0    93    93     0     8    0
ffsino     296     1688    0      208   114     0   114   114     0     8    0
nchpl      144     1984    0      270    64     0    64    64     0     8    0
vnodes     216     1830    0        0   102     0   102   102     0     8    0
namei      1024    7456    0     7456     4     1     3     3     0     8    3
percpumem   16       57    0        7     1     0     1     1     0     8    0
kstatmem   264       39    0       14     2     0     2     2     0     8    0
scxspl     216     7298    0     7298     3     2     1     2     1     8    1
plimitpl   152       38    0       21     1     0     1     1     0     8    0
sigapl     424      583    0      535     7     0     7     7     0     8    1
knotepl    120      104    0        0     4     0     4     4     0     8    0
kqueuepl   224       66    0       56     3     0     3     3     0     8    2
pipepl     344      157    0      130     3     0     3     3     0     8    0
fdescpl    528      566    0      535     3     0     3     3     0     8    0
filepl     160     2139    0     1929    13     0    13    13     0     8    3
lockfpl    104       12    0       10     1     0     1     1     0     8    0
lockfspl    48        7    0        5     1     0     1     1     0     8    0
sessionpl  144       31    0       22     1     0     1     1     0     8    0
pgrppl      48       46    0       29     1     0     1     1     0     8    0
ucredpl    104      236    0      222     1     0     1     1     0     8    0
zombiepl   144      535    0      535     1     0     1     1     0     8    1
processpl  1232     583    0      535     5     0     5     5     0     8    1
procpl     664      704    0      648     6     0     6     6     0     8    0
sosppl     176        1    0        1     1     0     1     1     0     8    1
sockpl     752      269    0      237     5     0     5     5     0     8    1
mcl8k      8192       2    0        0     1     0     1     1     0     8    0
mcl4k      4096     136    0        0    17     0    17    17     0     8    0
mcl2k      2048      23    0        0     3     0     3     3     0     8    0
mextrefs    64       24    0        0     1     0     1     1     0     8    0
mtagpl      96        2    0        0     1     0     1     1     0     8    0
mbufpl     256      215    0        0    14     0    14    14     0     8    0
bufpl      272     2472    0      106   158     0   158   158     0     8    0
anonpl      32     3880    0        0    32     0    32    32     0   222    0
amapchunkpl 152   11234    0    10781    23     0    23    23     0   158    5
amappl16   200     2132    0     2113     5     2     3     5     0     8    1
amappl15   192        6    0        6     1     1     0     1     0     8    0
amappl14   184      493    0      492     1     0     1     1     0     8    0
amappl13   176      133    0      121     1     0     1     1     0     8    0
amappl12   168      836    0      807     2     0     2     2     0     8    0
amappl11   160        4    0        4     1     1     0     1     0     8    0
amappl10   152       64    0       50     1     0     1     1     0     8    0
amappl9    144      275    0      274     1     0     1     1     0     8    0
amappl8    136      128    0      125     1     0     1     1     0     8    0
amappl7    128      159    0      145     1     0     1     1     0     8    0
amappl6    120      230    0      229     1     0     1     1     0     8    0
amappl5    112      123    0      112     1     0     1     1     0     8    0
amappl4    104      327    0      309     1     0     1     1     0     8    0
amappl3     96     2049    0     1958     3     0     3     3     0     8    0
amappl2     88      675    0      599     2     0     2     2     0     8    0
amappl1     80    11428    0    10831    15     0    15    15     0     8    1
amappl      88     3199    0     3049     5     0     5     5     0    92    1
uvmvnodes   80       98    0        0     2     0     2     2     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
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      566    0      535     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      566    0      535     1     0     1     1     0     8    0
vmmpekpl   168     6716    0     6680     3     0     3     3     0     8    0
vmmpepl    168    46214    0    44335    89     0    89    89     0   357    7
vmsppl     488      565    0      535     5     0     5     5     0     8    0
rwobjpl     80    16691    0    15682    25     0    25    25     0     8    0
pdppl      4096    1140    0     1070   104    26    78    86     0     8    8
pvpl        32    11122    0        0    92     2    90    90     0   265    0
pmappl     256      565    0      535     3     0     3     3     0     8    0
extentpl    40       46    0       28     1     0     1     1     0     8    0
phpool     120      444    0       31    13     0    13    13     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x17 sys/arch/amd64/amd64/db_interface.c:457
panic(ffffffff846431fb) at panic+0x270 sys/kern/subr_prf.c:198
__asan_load4_noabort(ffff8000017d4e08) at __asan_load4_noabort+0xa3
mrt6_ioctl(ffff800001c445f8,c028756b,ffff8000299d24f0) at mrt6_ioctl+0x125 sys/netinet6/ip6_mroute.c:242
sys_ioctl(ffff8000298f42a8,ffff8000299d2790,ffff8000299d2700) at sys_ioctl+0x868 sys/kern/sys_generic.c:510
syscall(ffff8000299d2790) at syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff8000299d2790) at syscall+0x1089 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xdb4f140b0a0, count: -7
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x19:        leave
x86_ipi_db(ffff800028fe3ff0) at x86_ipi_db+0x19 sys/arch/amd64/amd64/db_interface.c:412
x86_ipi_handler() at x86_ipi_handler+0x112 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff85deecc0) at __mp_lock+0x272 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff85deecc0) at __mp_lock+0x272 sys/kern/kern_lock.c:173
syscall(ffff800033aef990) at syscall+0x1048 mi_syscall sys/sys/syscall_mi.h:175 [inline]
syscall(ffff800033aef990) at syscall+0x1048 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x702f95dde550, count: 9
ddb{1}> trace
x86_ipi_db(ffff800028fe3ff0) at x86_ipi_db+0x19 sys/arch/amd64/amd64/db_interface.c:412
x86_ipi_handler() at x86_ipi_handler+0x112 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff85deecc0) at __mp_lock+0x272 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff85deecc0) at __mp_lock+0x272 sys/kern/kern_lock.c:173
syscall(ffff800033aef990) at syscall+0x1048 mi_syscall sys/sys/syscall_mi.h:175 [inline]
syscall(ffff800033aef990) at syscall+0x1048 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x702f95dde550, count: -6

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/19 18:54 https://github.com/blackgnezdo/openbsd-src.git syzbot-kasan ad30987d14ad 853b104b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-kasan KASAN: invalid memory access in mrt6_ioctl
2026/08/29 03:19 https://github.com/blackgnezdo/openbsd-src.git syzbot-kasan 18607adc5162 2f52988a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-kasan KASAN: invalid memory access in mrt6_ioctl
* Struck through repros no longer work on HEAD.