protection_fault: rtable_match

Status: upstream: reported on 2026/08/13 04:27
Reported-by: syzbot+e0a469273c54c8d6914a@syzkaller.appspotmail.com
First crash: 6d01h, last: 6d01h

Sample crash report:
kernel: protection fault trap, code=0
Stopped at      rtable_match+0xd8:      movl    0x28(%r15),%r14d
ddb> 
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
the kernel did not panic
ddb> show kasan
No such command
ddb> trace
rtable_match(18,ffff800001621860,0) at rtable_match+0xd8 satoaddr sys/net/rtable.c:917 [inline]
rtable_match(18,ffff800001621860,0) at rtable_match+0xd8 sys/net/rtable.c:496
rtm_output(ffff800001621800,ffff80003c9198c8,ffff80003c919820,3f,18) at rtm_output+0x18e sys/net/rtsock.c:924
route_output(ffffef806e0e4500,ffff80000166c8d0) at route_output+0xa6a sys/net/rtsock.c:862
route_send(ffff80000166c8d0,ffffef806e0e4500,0,0) at route_send+0xd7 sys/net/rtsock.c:322
sosend(ffff80000166c8d0,0,ffff80003c919a78,0,0,408) at sosend+0x804 sys/kern/uipc_socket.c:-1
sendit(ffff80002a75b4d8,4,ffff80003c919b70,408,ffff80003c919c10) at sendit+0x5a5 sys/kern/uipc_syscalls.c:785
sys_sendto(ffff80002a75b4d8,ffff80003c919cc0,ffff80003c919c10) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:563
syscall(ffff80003c919cc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c919cc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2c11920c0d0, count: -9
ddb> show registers
rdi                       0x798e263a
rsi                             0x18
rbp               0xffff80003c919770
rbx                                0
rdx               0xffff8000015e7200
rcx                             0x18
rax               0xffff80000161de00
r8                              0x18
r9                             0x408
r10               0xe91874e6487d711c
r11               0xf7034df980967a4a
r12               0xffff800001621860
r13                       0x798e263a
r14                             0x18
r15                0x300000000000016
rip               0xffffffff81bf4808    rtable_match+0xd8
cs                               0x8
rflags                       0x10202    __ALIGN_SIZE+0xf202
rsp               0xffff80003c919710
ss                              0x10
rtable_match+0xd8:      movl    0x28(%r15),%r14d
ddb> show proc
PROC (syz-executor) tid=59013 pid=45851 tcnt=2 stat=onproc
    flags process=0 proc=4000000<THREAD>
    runpri=32, usrpri=50, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff80002a75a2b0,0xffffffff83a85a60
    process=0xffff800045ff9b18 user=0xffff80003c914000, vmspace=0xffffef806dae0188
    estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
   PID     TID   PPID   UID  S      PRLAGS     PFLAGS WAIT      COMMAND
 45851  122505  10475     0  2           0          0           syz-executor
*45851   59013  10475     0  7           0  0x4000000           syz-executor
 25348  413607  82211     0  2           0          0           syz-executor
 25348  515177  82211     0  3           0  0x4000080 fsleep    syz-executor
 25348  515421  82211     0  3           0  0x4000080 fsleep    syz-executor
 59644  488514  48172     0  2           0          0           syz-executor
 59644  124162  48172     0  3           0  0x4000080 fsleep    syz-executor
  2974   53006  30634     0  2           0          0           syz-executor
  2974  221474  30634     0  3           0  0x4000080 nanoslp   syz-executor
 56062  260759  30467     0  2           0          0           syz-executor
 56062  324182  30467     0  3           0  0x4000080 fsleep    syz-executor
 54080   87369  72372     0  2           0          0           syz-executor
 54080  135568  72372     0  3           0  0x4000080 bell      syz-executor
 54080   60871  72372     0  2           0  0x4000000           syz-executor
 31214  383309  16200     0  2           0          0           syz-executor
 31214  117030  16200     0  3           0  0x4000080 fsleep    syz-executor
 37951  334696      1     0  3    0x100003       0x80 ttyin     getty
 16200   36452  13051     0  3         0x2       0x80 nanoslp   syz-executor
 57995  129565      0     0  3     0x14000      0x200 acct      acct
 72372   56657  13051     0  3         0x2       0x80 nanoslp   syz-executor
 48172  428662  13051     0  3         0x2       0x80 nanoslp   syz-executor
 40615  502049  13051     0  3         0x2       0x80 nanoslp   syz-executor
 30467   42855  13051     0  3         0x2       0x80 nanoslp   syz-executor
 10475   71068  13051     0  3         0x2       0x80 nanoslp   syz-executor
 82211  520459  13051     0  3         0x2       0x80 nanoslp   syz-executor
 30634   53206  13051     0  3         0x2       0x80 nanoslp   syz-executor
 13051  295631  12836     0  3         0x2       0x80 kqread    syz-executor
 12836  441951  34683     0  3    0x100002       0x88 sigsusp   ksh
 34683  490761  81424     0  3        0x10       0x88 kqread    sshd-session
 81424  386338  42682     0  3        0x12       0x80 kqread    sshd-session
 42682   72297      1     0  3           0       0x88 kqread    sshd
 72125  412049  99803    73  3   0x1100010       0x80 kqread    syslogd
 99803  130371      1     0  3    0x100002       0x80 sbwait    syslogd
 65041  427929      1     0  3    0x100000       0x80 kqread    resolvd
 96953   63835  51599    77  3    0x100012       0x80 kqread    dhcpleased
 79993  519198  51599    77  3    0x100012       0x80 kqread    dhcpleased
 51599  201373      1     0  3           0       0x80 kqread    dhcpleased
 94550  446973      0     0  3     0x14000      0x200 bored     smr
 13246  231933      0     0  2     0x14000      0x200           zerothread
 74813  393848      0     0  3     0x14000      0x200 aiodoned  aiodoned
 43086  170648      0     0  3     0x14000      0x200 syncer    update
 59579  108041      0     0  3     0x14000      0x200 cleaner   cleaner
  3562   44119      0     0  3     0x14000      0x200 reaper    reaper
 29895  319904      0     0  3     0x14000      0x200 pgdaemon  pagedaemon
 27382  351948      0     0  3     0x14000      0x200 bored     viomb
 85179  193296      0     0  3     0x14000 0x40000200 acpi0     acpi0
  1489  492281      0     0  3     0x14000      0x200 bored     softnet0
 68217  514390      0     0  3     0x14000      0x200 bored     systqmp
 12740   98212      0     0  3     0x14000      0x200 bored     systq
 90414  309328      0     0  3     0x14000 0x40000200 tmoslp    softclock
 28205  351891      0     0  3     0x14000 0x40000200           idle0
     1  387994      0     0  3         0x2       0x80 wait      init
     0       0     -1     0  3     0x10000      0x200 scheduler swapper
ddb> show all locks
No such command
ddb> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11092  12242K   12574K 166960K     13109        0
            pcb    17     12K      12K 166960K        80        0
         rtable   238      8K       9K 166960K       457        0
             pf    34     13K      20K 166960K        88        0
         ifaddr    40      6K       8K 166960K        62        0
        ifgroup    54      2K       2K 166960K        88        0
         sysctl     4      1K       9K 166960K        10        0
       counters    34     17K      18K 166960K        49        0
       ioctlops     0      0K       4K 166960K        86        0
            iov     0      0K      16K 166960K        16        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1328     84K      84K 166960K      1792        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K        10        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       0K 166960K        23        0
        dirhash    12      2K       2K 166960K        15        0
           ACPI  1734    201K     291K 166960K     11964        0
      file desc    18     65K      93K 166960K       435        0
          sigio     0      0K       0K 166960K         2        0
           proc    64     67K     100K 166960K       572        0
        subproc    72      4K       4K 166960K        81        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K        33        0
       in_multi    88      5K       6K 166960K       125        0
    ether_multi     1      0K       0K 166960K         2        0
            mrt     2      0K       0K 166960K        15        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   325   1447K    1447K 166960K       325        0
           exec     0      0K       1K 166960K       398        0
   fusefs mount     1     32K      32K 166960K         1        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   226    168K     168K 166960K      5328        0
       UVM aobj    80      5K       5K 166960K        83        0
     pinsyscall    39     78K      97K 166960K      1569        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        22        0
            NDP    12      0K       2K 166960K        39        0
           temp    40   9107K    9171K 166960K      7036        0
         kqueue    14     22K      31K 166960K        96        0
      SYN cache     2     16K      16K 166960K         2        0
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb      120      166    0      162     3     2     1     3     0     8    0
rtentry    136      130    0       28     4     0     4     4     0     8    0
unpcb      144      174    0      158     1     0     1     1     0     8    0
syncache   336        6    0        6     2     1     1     1     0     8    1
tcpcb      736      132    0      128     4     3     1     4     0     8    0
arp         96       22    0        4     1     0     1     1     0     8    0
ipq         40        2    0        0     1     0     1     1     0     8    0
ipqe        40        3    0        1     1     0     1     1     0     8    0
inpcb      328      336    0      325     5     3     2     4     0     8    1
nd6        112       28    0        6     1     0     1     1     0     8    0
kcovpl      48        9    0        1     1     0     1     1     0     8    0
ppxss      1072       9    0        9     2     1     1     1     0     8    1
pppxif     1416       3    0        3     1     1     0     1     0     8    0
pfstscr     40        4    0        2     1     0     1     1     0     8    0
pfrktable  1344       7    0        7     1     0     1     1     0     8    1
pfanchor   1288       4    0        2     2     1     1     1     0     8    0
pftag       88        2    0        0     1     0     1     1     0     8    0
pfqueue    320        1    0        1     1     1     0     1     0     8    0
pfstitem    24        2    0        0     1     0     1     1     0     8    0
pfstkey    128        4    0        2     1     0     1     1     0     8    0
pfstate    384        2    0        1     1     0     1     1     0     8    0
pfrule     1360       5    0        5     1     0     1     1     0     8    1
rttmr      136        2    0        2     2     1     1     1     0     8    1
art_heap8  4096       2    0        0     2     0     2     2     0     8    0
art_heap4  256      520    0      100    30     3    27    29     0     8    0
art_table   40      522    0      100     5     0     5     5     0     8    0
art_node    32      130    0       38     1     0     1     1     0     8    0
sysvmsgpl   40        8    0        5     1     0     1     1     0     8    0
semupl     112        1    0        1     1     0     1     1     0     8    1
semapl      72       20    0       10     1     0     1     1     0     8    0
shmpl      112       80    0        3     3     0     3     3     0     8    0
dirhash    1024      19    0        2     3     0     3     3     0     8    0
dino2pl    256     2141    0      679    92     0    92    92     0     8    0
ffsino     256     2141    0      679    92     0    92    92     0     8    0
nchpl      144     2761    0     1059    64     0    64    64     0     8    0
rtmask      32        2    0        2     1     1     0     1     0     8    0
vnodes     216     2493    0        0   139     0   139   139     0     8    0
namei      1024    9028    0     9028     3     2     1     2     0     8    1
pfiaddrpl  120        3    0        3     1     1     0     1     0     8    0
kstatmem   264       43    0       18     2     0     2     2     0     8    0
scsiplug    72        1    0        1     1     0     1     1     0     8    1
scxspl     216    12913    0    12913     4     3     1     4     1     8    1
plimitpl   152      155    0      138     1     0     1     1     0     8    0
sigapl     424      731    0      687     6     0     6     6     0     8    0
knotepl    120    13695    0    13597    17     7    10    15     0     8    7
kqueuepl   184      231    0      219     5     2     3     3     0     8    2
pipepl     304      249    0      222     8     5     3     8     0     8    0
fdescpl    448      717    0      687     5     1     4     5     0     8    0
filepl     120     4134    0     3911    16     7     9    15     0     8    1
lockfpl    104      125    0      122     1     0     1     1     0     8    0
lockfspl    48       57    0       54     1     0     1     1     0     8    0
sessionpl  144       99    0       91     1     0     1     1     0     8    0
pgrppl      48      109    0       93     1     0     1     1     0     8    0
ucredpl    104      799    0      787     1     0     1     1     0     8    0
zombiepl   144      688    0      687     1     0     1     1     0     8    0
processpl  1152     731    0      687     4     0     4     4     0     8    0
procpl     664     1137    0     1084     5     0     5     5     0     8    0
sockpl     552      691    0      660     8     4     4     7     0     8    1
mcl64k     65536     46    0       46     2     1     1     1     0     8    1
mcl16k     16384      4    0        4     1     1     0     1     0     8    0
mcl8k      8192       7    0        7     1     1     0     1     0     8    0
mcl4k      4096    2923    0     2870    14     6     8    13     0     8    0
mcl2k      2048     405    0      403     2     0     2     2     0     8    1
mextrefs    64      183    0      182     1     0     1     1     0     8    0
mtagpl      96        5    0        4     1     0     1     1     0     8    0
mbufpl     256     7254    0     7103    18     4    14    16     0     8    1
bufpl      272     4947    0      103   323     0   323   323     0     8    0
anonpl      24   133346    0   128561    61     0    61    61     0   187   12
amapchunkpl 152   16621    0    16036    27     1    26    26     0   158    3
amappl16   200     2712    0     2689    23     7    16    23     0     8    8
amappl15   192        5    0        5     1     1     0     1     0     8    0
amappl14   184      459    0      458     1     0     1     1     0     8    0
amappl13   176      122    0      111     1     0     1     1     0     8    0
amappl12   168      966    0      936     2     0     2     2     0     8    0
amappl11   160        8    0        8     1     1     0     1     0     8    0
amappl10   152       90    0       80     1     0     1     1     0     8    0
amappl9    144      273    0      273     1     1     0     1     0     8    0
amappl8    136      113    0      112     1     0     1     1     0     8    0
amappl7    128      148    0      135     1     0     1     1     0     8    0
amappl6    120      159    0      157     1     0     1     1     0     8    0
amappl5    112       91    0       83     1     0     1     1     0     8    0
amappl4    104      268    0      250     1     0     1     1     0     8    0
amappl3     96     3012    0     2918     3     0     3     3     0     8    0
amappl2     88      842    0      770     2     0     2     2     0     8    0
amappl1     80    11410    0    10854    14     2    12    14     0     8    0
amappl      88     4570    0     4408     5     0     5     5     0    92    0
uvmvnodes   80      101    0        0     3     0     3     3     0     8    0
dma16384   16384      1    0        1     1     1     0     1     0     8    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma1024    1024       2    0        1     1     0     1     1     0     8    0
dma256     256        8    0        8     2     1     1     1     0     8    1
dma128     128      254    0      254     2     1     1     1     0     8    1
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       19    0       18     1     0     1     1     0     8    0
aobjpl      72       82    0        3     2     0     2     2     0     8    0
uaddrrnd    24      717    0      687     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      717    0      687     1     0     1     1     0     8    0
vmmpekpl   168     7800    0     7757     4     1     3     3     0     8    0
vmmpepl    168    54591    0    52755    99     1    98    99     0   357   12
vmsppl     368      716    0      687     4     1     3     4     0     8    0
rwobjpl     40    18165    0    17136    15     0    15    15     0     8    0
pdppl      4096    1440    0     1374    98    32    66    80     0     8    0
pvpl        32   338901    0   327072   135     1   134   135     0   265   30
pmappl     216      716    0      687     3     0     3     3     0     8    0
extentpl    40       46    0       28     1     0     1     1     0     8    0
phpool     112      702    0       59    19     0    19    19     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
rtable_match(18,ffff800001621860,0) at rtable_match+0xd8 satoaddr sys/net/rtable.c:917 [inline]
rtable_match(18,ffff800001621860,0) at rtable_match+0xd8 sys/net/rtable.c:496
rtm_output(ffff800001621800,ffff80003c9198c8,ffff80003c919820,3f,18) at rtm_output+0x18e sys/net/rtsock.c:924
route_output(ffffef806e0e4500,ffff80000166c8d0) at route_output+0xa6a sys/net/rtsock.c:862
route_send(ffff80000166c8d0,ffffef806e0e4500,0,0) at route_send+0xd7 sys/net/rtsock.c:322
sosend(ffff80000166c8d0,0,ffff80003c919a78,0,0,408) at sosend+0x804 sys/kern/uipc_socket.c:-1
sendit(ffff80002a75b4d8,4,ffff80003c919b70,408,ffff80003c919c10) at sendit+0x5a5 sys/kern/uipc_syscalls.c:785
sys_sendto(ffff80002a75b4d8,ffff80003c919cc0,ffff80003c919c10) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:563
syscall(ffff80003c919cc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c919cc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2c11920c0d0, count: -9
ddb> machine ddbcpu 1
No such command
ddb> trace
rtable_match(18,ffff800001621860,0) at rtable_match+0xd8 satoaddr sys/net/rtable.c:917 [inline]
rtable_match(18,ffff800001621860,0) at rtable_match+0xd8 sys/net/rtable.c:496
rtm_output(ffff800001621800,ffff80003c9198c8,ffff80003c919820,3f,18) at rtm_output+0x18e sys/net/rtsock.c:924
route_output(ffffef806e0e4500,ffff80000166c8d0) at route_output+0xa6a sys/net/rtsock.c:862
route_send(ffff80000166c8d0,ffffef806e0e4500,0,0) at route_send+0xd7 sys/net/rtsock.c:322
sosend(ffff80000166c8d0,0,ffff80003c919a78,0,0,408) at sosend+0x804 sys/kern/uipc_socket.c:-1
sendit(ffff80002a75b4d8,4,ffff80003c919b70,408,ffff80003c919c10) at sendit+0x5a5 sys/kern/uipc_syscalls.c:785
sys_sendto(ffff80002a75b4d8,ffff80003c919cc0,ffff80003c919c10) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:563
syscall(ffff80003c919cc0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c919cc0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2c11920c0d0, count: -9

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/13 04:27 openbsd a63ea9f8f0de 359b2492 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: rtable_match
* Struck through repros no longer work on HEAD.