syzbot


panic: ip6_getpcbopt: unexpected option

Status: fixed on 2026/06/25 22:10
Reported-by: syzbot+7788d13ea3345629ceae@syzkaller.appspotmail.com
Fix commit: 1086699a8b28 Put back IPV6_RTHDR to ip6_getpcbopt() as no operation.
First crash: 13d, last: 11d

Sample crash report:
panic: ip6_getpcbopt: unexpected option
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
* 53170  93167  60929        0x10  0x4000000    1  syz-executor
 218787  89640      0         0x2          0    0  syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8352a2a4) at panic+0x1e5 sys/kern/subr_prf.c:198
ip6_getpcbopt(0,33,fffffc8066d22800) at ip6_getpcbopt+0x3e3
ip6_ctloutput(0,ffff800010fdd790,29,33,fffffc8066d22800) at ip6_ctloutput+0xfb2 sys/netinet6/ip6_output.c:1487
sogetopt(ffff800010fdd790,29,33,fffffc8066d22800) at sogetopt+0x128 sys/kern/uipc_socket.c:2074
sys_getsockopt(ffff800037b95a18,ffff800039f9c080,ffff800039f9bfd0) at sys_getsockopt+0x1ec sys/kern/uipc_syscalls.c:1263
syscall(ffff800039f9c080) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800039f9c080) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb2608ddeab0, count: 7
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
*cpu1: ip6_getpcbopt: unexpected option
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8352a2a4) at panic+0x1e5 sys/kern/subr_prf.c:198
ip6_getpcbopt(0,33,fffffc8066d22800) at ip6_getpcbopt+0x3e3
ip6_ctloutput(0,ffff800010fdd790,29,33,fffffc8066d22800) at ip6_ctloutput+0xfb2 sys/netinet6/ip6_output.c:1487
sogetopt(ffff800010fdd790,29,33,fffffc8066d22800) at sogetopt+0x128 sys/kern/uipc_socket.c:2074
sys_getsockopt(ffff800037b95a18,ffff800039f9c080,ffff800039f9bfd0) at sys_getsockopt+0x1ec sys/kern/uipc_syscalls.c:1263
syscall(ffff800039f9c080) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800039f9c080) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb2608ddeab0, count: -8
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff800039f9bce0
rbx               0xffff80002998ee07
rdx               0xffff8000015f7800
rcx               0xffff800037b95a18
rax               0xffff80002998dff0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0x2c9b2d56ee9789f5
r11               0x58765c778ce56287
r12               0xffff80002998ec08
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff81f4bd85    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff800039f9bcd0
ss                              0x10
db_enter+0x25:  addq    $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor) tid=53170 pid=93167 tcnt=3 stat=onproc
    flags process=10<SUGID> proc=4000000<THREAD>
    runpri=32, usrpri=86, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff800037b94a88,0xffff807ffffeed20
    process=0xffff807ffffe49c0 user=0xffff800039f97000, vmspace=0xfffffc806a197d78
    estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=1
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 75219  420817  45123      0  3        0x80  nanoslp       syz-executor
 75219  480064  45123      0  3   0x4000080  fsleep        syz-executor
 75219  272923  45123      0  3   0x4000080  fsleep        syz-executor
 75219  421704  45123      0  3   0x4000080  fsleep        syz-executor
 65100  314240  62573      0  3        0x80  nanoslp       syz-executor
 65100  489535  62573      0  3   0x4000080  rest          syz-executor
 65100  245073  62573      0  3   0x4000080  fsleep        syz-executor
 61327  468261  38559      0  3        0x80  nanoslp       syz-executor
 61327  190806  38559      0  3   0x4000080  kqsel         syz-executor
 61327  516358  38559      0  3   0x4000000  smrbar        syz-executor
 61327   74219  38559      0  3   0x4000080  fsleep        syz-executor
 85616  156938  34339     -1  3        0x90  nanoslp       syz-executor
 85616  232622  34339     -1  3   0x4000090  kqsel         syz-executor
 85616   60676  34339     -1  3   0x4000090  kqread        syz-executor
 85616   58870  34339     -1  3   0x4000090  fsleep        syz-executor
 22620   67053  62941      0  3        0x90  nanoslp       syz-executor
 22620  226391  62941      0  3   0x4000090  kqsel         syz-executor
 22620   85116  62941      0  3   0x4000090  fsleep        syz-executor
 93167  397777  72231  60929  2        0x10                syz-executor
*93167   53170  72231  60929  7   0x4000010                syz-executor
 93167  483133  72231  60929  3   0x4000090  fsleep        syz-executor
 52794  195529  63028      0  3        0x80  nanoslp       syz-executor
 52794  129627  63028      0  3   0x4000088  kqread        syz-executor
 62941  474379  73067      0  3        0x82  nanoslp       syz-executor
 89640  218787  73067      0  7         0x2                syz-executor
 34339  310721  73067      0  3        0x82  nanoslp       syz-executor
 38559   40515  73067      0  3        0x82  nanoslp       syz-executor
 72231   47433  73067      0  3        0x82  nanoslp       syz-executor
 45123  322378  73067      0  3        0x82  nanoslp       syz-executor
 63028  281054  73067      0  3        0x82  nanoslp       syz-executor
 62573  135368  73067      0  3        0x82  nanoslp       syz-executor
 73067  221280  66519      0  3        0x82  kqread        syz-executor
 66519  258259   3623      0  3    0x10008a  sigsusp       ksh
  3623  141418  13839      0  3        0x98  kqread        sshd-session
 13839    9554  58140      0  3        0x92  kqread        sshd-session
  6151  100760      1      0  3    0x100083  ttyin         getty
 58140  258765      1      0  3        0x88  kqread        sshd
 42813  523001    860     74  3   0x1100092  bpf           pflogd
   860  263137      1      0  3        0x80  sbwait        pflogd
 77926  383386  19519     73  3   0x1100090  kqread        syslogd
 19519  376275      1      0  3    0x100082  sbwait        syslogd
 57349  360469      1      0  3    0x100080  kqread        resolvd
  7587    4691  39541     77  3    0x100092  kqread        dhcpleased
 99831  333198  39541     77  3    0x100092  kqread        dhcpleased
 39541  142635      1      0  3        0x80  kqread        dhcpleased
 13943   55241      0      0  3     0x14200  bored         smr
 78584  499027      0      0  3     0x14200  pgzero        zerothread
 30996  249660      0      0  3     0x14200  aiodoned      aiodoned
 60604  139724      0      0  3     0x14200  syncer        update
 62625  228562      0      0  3     0x14200  cleaner       cleaner
 23395  430782      0      0  3     0x14200  reaper        reaper
 92044  419186      0      0  3     0x14200  pgdaemon      pagedaemon
 30071   95501      0      0  3     0x14200  bored         viomb
 32502   77389      0      0  3  0x40014200  acpi0         acpi0
 69188  390207      0      0  3  0x40014200                idle1
 57457  181865      0      0  3     0x14200  bored         softnet1
 59796  494747      0      0  3     0x14200  bored         softnet0
 95367   91208      0      0  3     0x14200  bored         systqmp
 90322  244259      0      0  3     0x14200  bored         systq
  7483  212604      0      0  3     0x14200  tmoslp        softclockmp
 92857  502532      0      0  3  0x40014200  tmoslp        softclock
 40241  439826      0      0  3  0x40014200                idle0
     1  423633      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 61327 (syz-executor) thread 0xffff807ffffee2b0 (516358)
exclusive rwlock clonelk r = 0 (0xffffffff838d9328)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2  if_clone_destroy+0x93 sys/net/if.c:-1
#3  ifioctl+0x59d sys/net/if.c:2160
#4  fifo_ioctl+0x12f sys/miscfs/fifofs/fifo_vnops.c:314
#5  VOP_IOCTL+0xac sys/kern/vfs_vops.c:264
#6  vn_ioctl+0xf8 sys/kern/vfs_vnops.c:537
#7  sys_ioctl+0x674 sys/kern/sys_generic.c:-1
#8  syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
#9  Xsyscall+0x128
Process 93167 (syz-executor) thread 0xffff800037b95a18 (53170)
exclusive rwlock netlock r = 0 (0xffffffff838d9420)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2  sogetopt+0x105 sys/kern/uipc_socket.c:2074
#3  sys_getsockopt+0x1ec sys/kern/uipc_syscalls.c:1263
#4  syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#4  syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
#5  Xsyscall+0x128
Process 89640 (syz-executor) thread 0xffff807ffffef4d8 (218787)
exclusive rrwlock inode r = 0 (0xfffffc806d7f10b8)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2  rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3  VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
#4  ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline]
#4  ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:159
#5  ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232
#6  ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393
#7  ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112
#8  VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394
#9  domkdirat+0x179 sys/kern/vfs_syscalls.c:3062
#10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffc806aa9d8d0)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2  rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3  VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:576
#5  vfs_lookup+0x12b sys/kern/vfs_lookup.c:431
#6  namei+0x7c5 sys/kern/vfs_lookup.c:250
#7  domkdirat+0x8b sys/kern/vfs_syscalls.c:3047
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
#9  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11097  12221K   12351K 166960K     12373        0
            pcb    20     12K      12K 166960K        43        0
         rtable   239      7K       7K 166960K       368        0
             pf    35     17K      19K 166960K        60        0
         ifaddr    44      7K       8K 166960K        55        0
        ifgroup    55      2K       2K 166960K        74        0
         sysctl     3      1K       9K 166960K         8        0
       counters    70     37K      37K 166960K        84        0
       ioctlops     0      0K       4K 166960K      1511        0
            iov     0      0K      12K 166960K         3        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1298     82K      82K 166960K      1450        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       5K 166960K         5        0
         VM map     2      1K       1K 166960K         2        0
            sem    10      0K       0K 166960K        10        0
        dirhash    12      2K       2K 166960K        12        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    17     61K      81K 166960K       261        0
           proc    71    115K     147K 166960K       560        0
        subproc    72      4K       4K 166960K        72        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     1      0K       0K 166960K        15        0
       in_multi   103      7K       7K 166960K       105        0
    ether_multi     1      0K       0K 166960K         1        0
            mrt     0      0K       0K 166960K         7        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   235   1049K    1049K 166960K       235        0
           exec     0      0K       1K 166960K       399        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   254    160K     168K 166960K      4136        0
       UVM aobj     9      2K       2K 166960K         9        0
     pinsyscall    42     84K      96K 166960K      1420        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K         5        0
            NDP    12      0K       2K 166960K        33        0
           temp    40   9115K    9178K 166960K      5351        0
         kqueue    19     32K      32K 166960K        56        0
      SYN cache     2     16K      16K 166960K         2        0
ddb{1}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache    128       26    0        0     1     0     1     1     0     8    0
rtpcb      120       36    0       33     1     0     1     1     0     8    0
rtentry    176      118    0        8     6     0     6     6     0     8    0
unpcb      144      113    0       86     1     0     1     1     0     8    0
syncache   336        5    0        5     1     0     1     1     0     8    1
tcpcb      736       39    0       33     1     0     1     1     0     8    0
arp        136       19    0        1     1     0     1     1     0     8    0
inpcb      328      166    0      151     2     0     2     2     0     8    0
nd6        152       26    0        1     1     0     1     1     0     8    0
kcovpl      48        8    0        0     1     0     1     1     0     8    0
ppxss      1192       4    0        4     1     0     1     1     0     8    1
pppxif     1576       2    0        2     1     0     1     1     0     8    1
pfstscr     40        2    0        2     1     0     1     1     0     8    1
pffrag     232        1    0        1     1     0     1     1     0   482    1
pffrnode    88        1    0        1     1     0     1     1     0     8    1
pffrent     40        3    0        3     1     0     1     1     0     8    1
pfosfp      40     1428    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfstlim    224        2    0        2     1     0     1     1     0     8    1
pfstitem    24       66    0       32     1     0     1     1     0     8    0
pfstkey    128       68    0       34     2     0     2     2     0     8    0
pfstate    448       67    0       33     8     0     8     8     0     8    3
pfrule     1360      23    0       18     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      487    0       34    30     0    30    30     0     8    0
art_table   40      488    0       34     5     0     5     5     0     8    0
art_node    32      118    0       18     1     0     1     1     0     8    0
sysvmsgpl   40        1    0        1     1     0     1     1     0     8    1
semapl      72        8    0        0     1     0     1     1     0     8    0
shmpl      112        6    0        0     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     1795    0      326    93     0    93    93     0     8    0
ffsino     296     1795    0      326   114     0   114   114     0     8    0
nchpl      144     2230    0      521    64     0    64    64     0     8    0
vnodes     216     1938    0        0   108     0   108   108     0     8    0
namei      1024    6982    0     6981     2     0     2     2     0     8    1
percpumem   16       57    0        7     1     0     1     1     0     8    0
kstatmem   264       37    0       10     3     0     3     3     0     8    1
scxspl     216     7577    0     7577     4     3     1     3     1     8    1
plimitpl   152       39    0       20     1     0     1     1     0     8    0
sigapl     424      579    0      532     6     0     6     6     0     8    0
knotepl    120      298    0        0    10     0    10    10     0     8    0
kqueuepl   224      110    0       91     3     0     3     3     0     8    1
pipepl     344      166    0      139     3     0     3     3     0     8    0
fdescpl    528      563    0      532     3     0     3     3     0     8    0
filepl     160     2647    0     2401    13     0    13    13     0     8    2
lockfpl    104       70    0       68     1     0     1     1     0     8    0
lockfspl    48       32    0       30     1     0     1     1     0     8    0
sessionpl  144       63    0       54     1     0     1     1     0     8    0
pgrppl      48       71    0       54     1     0     1     1     0     8    0
ucredpl    104      299    0      283     1     0     1     1     0     8    0
zombiepl   144      532    0      532     1     0     1     1     0     8    1
processpl  1232     579    0      532     5     0     5     5     0     8    0
procpl     664      790    0      727     6     0     6     6     0     8    0
sockpl     752      319    0      274     5     0     5     5     0     8    0
mcl64k     65536      3    0        0     1     0     1     1     0     8    0
mcl16k     16384      2    0        0     1     0     1     1     0     8    0
mcl8k      8192       2    0        0     1     0     1     1     0     8    0
mcl4k      4096     132    0        0    17     0    17    17     0     8    0
mcl2k2     2112       2    0        0     1     0     1     1     0     8    0
mcl2k      2048      13    0        0     2     0     2     2     0     8    0
mtagpl      96        4    0        0     1     0     1     1     0     8    0
mbufpl     256      176    0        0    11     0    11    11     0     8    0
bufpl      272     2703    0      109   173     0   173   173     0     8    0
anonpl      32     5466    0        0    45     0    45    45     0   115    0
amapchunkpl 152   12092    0    11553    25     0    25    25     0   158    3
amappl16   200     1828    0     1799     5     2     3     5     0     8    0
amappl15   192        2    0        2     1     1     0     1     0     8    0
amappl14   184      439    0      437     1     0     1     1     0     8    0
amappl13   176      145    0      133     1     0     1     1     0     8    0
amappl12   168      815    0      785     2     0     2     2     0     8    0
amappl11   160        2    0        2     1     1     0     1     0     8    0
amappl10   152       65    0       51     1     0     1     1     0     8    0
amappl9    144      279    0      279     1     1     0     1     0     8    0
amappl8    136       98    0       96     1     0     1     1     0     8    0
amappl7    128      149    0      136     1     0     1     1     0     8    0
amappl6    120      153    0      152     1     0     1     1     0     8    0
amappl5    112      125    0      114     1     0     1     1     0     8    0
amappl4    104      294    0      276     1     0     1     1     0     8    0
amappl3     96     2274    0     2148     4     0     4     4     0     8    0
amappl2     88      544    0      483     2     0     2     2     0     8    0
amappl1     80    10921    0    10321    14     0    14    14     0     8    1
amappl      88     3393    0     3212     5     0     5     5     0    92    0
uvmvnodes   80      101    0        0     3     0     3     3     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        8    0        0     1     0     1     1     0     8    0
uaddrrnd    24      563    0      532     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      563    0      532     1     0     1     1     0     8    0
vmmpekpl   168     6595    0     6560     2     0     2     2     0     8    0
vmmpepl    168    44581    0    42637    87     0    87    87     0   357    0
vmsppl     488      562    0      532     5     0     5     5     0     8    1
rwobjpl     80    15856    0    14796    24     1    23    24     0     8    0
pdppl      4096    1133    0     1064    91    20    71    79     0     8    2
pvpl        32    12432    0        0   101     0   101   101     0   265    0
pmappl     256      562    0      532     3     0     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      444    0       23    13     0    13    13     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffffffff83959ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff83b24b80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83b24b80) at __mp_lock+0x192 sys/kern/kern_lock.c:173
__mp_acquire_count(ffffffff83b24b80,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1
sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:369
biowait(fffffc806a931cc8) at biowait+0xc6 sys/kern/vfs_bio.c:1110
bwrite(fffffc806a931cc8) at bwrite+0x359 sys/kern/vfs_bio.c:625
VOP_BWRITE(fffffc806a931cc8) at VOP_BWRITE+0x60 sys/kern/vfs_vops.c:648
ufs_direnter(fffffc806ab06550,fffffc80659f2888,ffff80002a34e440,ffff80002a34e770,fffffc806732a118) at ufs_direnter+0x7ac sys/ufs/ufs/ufs_lookup.c:833
ufs_mkdir(ffff80002a34e5e0) at ufs_mkdir+0x5d5 sys/ufs/ufs/ufs_vnops.c:1179
VOP_MKDIR(fffffc806ab06550,ffff80002a34e740,ffff80002a34e770,ffff80002a34e670) at VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394
domkdirat(ffff807ffffef4d8,ffffff9c,7011df3dfd20,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3062
syscall(ffff80002a34e8f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a34e8f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
end trace frame: 0xffff80002a34e970, count: 0
ddb{0}> trace
x86_ipi_db(ffffffff83959ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff83b24b80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83b24b80) at __mp_lock+0x192 sys/kern/kern_lock.c:173
__mp_acquire_count(ffffffff83b24b80,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1
sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2d8 sys/kern/kern_synch.c:369
biowait(fffffc806a931cc8) at biowait+0xc6 sys/kern/vfs_bio.c:1110
bwrite(fffffc806a931cc8) at bwrite+0x359 sys/kern/vfs_bio.c:625
VOP_BWRITE(fffffc806a931cc8) at VOP_BWRITE+0x60 sys/kern/vfs_vops.c:648
ufs_direnter(fffffc806ab06550,fffffc80659f2888,ffff80002a34e440,ffff80002a34e770,fffffc806732a118) at ufs_direnter+0x7ac sys/ufs/ufs/ufs_lookup.c:833
ufs_mkdir(ffff80002a34e5e0) at ufs_mkdir+0x5d5 sys/ufs/ufs/ufs_vnops.c:1179
VOP_MKDIR(fffffc806ab06550,ffff80002a34e740,ffff80002a34e770,ffff80002a34e670) at VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394
domkdirat(ffff807ffffef4d8,ffffff9c,7011df3dfd20,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3062
syscall(ffff80002a34e8f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a34e8f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7011df3dfdc0, count: -15
ddb{0}> machine ddbcpu 1
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8352a2a4) at panic+0x1e5 sys/kern/subr_prf.c:198
ip6_getpcbopt(0,33,fffffc8066d22800) at ip6_getpcbopt+0x3e3
ip6_ctloutput(0,ffff800010fdd790,29,33,fffffc8066d22800) at ip6_ctloutput+0xfb2 sys/netinet6/ip6_output.c:1487
sogetopt(ffff800010fdd790,29,33,fffffc8066d22800) at sogetopt+0x128 sys/kern/uipc_socket.c:2074
sys_getsockopt(ffff800037b95a18,ffff800039f9c080,ffff800039f9bfd0) at sys_getsockopt+0x1ec sys/kern/uipc_syscalls.c:1263
syscall(ffff800039f9c080) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800039f9c080) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb2608ddeab0, count: 7
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8352a2a4) at panic+0x1e5 sys/kern/subr_prf.c:198
ip6_getpcbopt(0,33,fffffc8066d22800) at ip6_getpcbopt+0x3e3
ip6_ctloutput(0,ffff800010fdd790,29,33,fffffc8066d22800) at ip6_ctloutput+0xfb2 sys/netinet6/ip6_output.c:1487
sogetopt(ffff800010fdd790,29,33,fffffc8066d22800) at sogetopt+0x128 sys/kern/uipc_socket.c:2074
sys_getsockopt(ffff800037b95a18,ffff800039f9c080,ffff800039f9bfd0) at sys_getsockopt+0x1ec sys/kern/uipc_syscalls.c:1263
syscall(ffff800039f9c080) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800039f9c080) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb2608ddeab0, count: -8

Crashes (45):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/25 16:13 openbsd 452256cb16b9 432fd51a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/25 06:18 openbsd 7c9581f1cd1a cfa969bf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/25 04:42 openbsd 7c9581f1cd1a cfa969bf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/25 04:11 openbsd 7c9581f1cd1a cfa969bf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/25 04:11 openbsd 7c9581f1cd1a cfa969bf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/25 03:45 openbsd 7c9581f1cd1a cfa969bf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/24 20:52 openbsd aea2b55f2b77 c1da772e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
2026/06/24 17:16 openbsd aea2b55f2b77 c1da772e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/24 08:36 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
2026/06/23 21:24 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/23 21:24 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/23 21:24 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/23 21:24 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/23 21:21 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:21 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:21 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:20 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:19 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:19 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/23 21:19 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:19 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/23 21:19 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:18 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:18 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/23 21:18 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:17 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/23 21:17 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: ip6_getpcbopt: unexpected option
2026/06/23 21:17 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:16 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:15 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:15 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:13 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:13 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:13 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: ip6_getpcbopt: unexpected option
2026/06/23 21:12 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
2026/06/23 21:12 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
2026/06/23 21:12 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
2026/06/23 21:11 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
2026/06/23 21:10 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
2026/06/23 21:05 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
2026/06/23 21:04 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
2026/06/23 21:03 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
2026/06/23 21:02 openbsd 26c6eebc6662 042555ff .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid panic: ip6_getpcbopt: unexpected option
* Struck through repros no longer work on HEAD.