protection_fault: pgsignal

Status: upstream: reported on 2026/11/10 13:30
Reported-by: syzbot+3e8330db5eb376d40a97@syzkaller.appspotmail.com
First crash: 9d12h, last: 9d12h

Sample crash report:
kernel: protection fault trap, code=0
Stopped at      pgsignal+0x70:  movl    0x158(%r13),%r12d
ddb{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
the kernel did not panic
ddb{1}> show kasan
No such command
ddb{1}> trace
pgsignal(fffffc8070824810,1c,1) at pgsignal+0x70 sys/kern/kern_sig.c:724
ptyioctl(606,8004745f,ffff80003c421990,3,ffff800034b9a7f0) at ptyioctl+0xb46 sys/kern/tty_pty.c:870
VOP_IOCTL(fffffc8070af1948,8004745f,ffff80003c421990,3,fffffc80097fd1a0,ffff800034b9a7f0) at VOP_IOCTL+0xac sys/kern/vfs_vops.c:264
vn_ioctl(fffffc807082e5a0,8004745f,ffff80003c421990,ffff800034b9a7f0) at vn_ioctl+0xf8 sys/kern/vfs_vnops.c:537
sys_ioctl(ffff800034b9a7f0,ffff80003c421b70,ffff80003c421ac0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80003c421b70) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c421b70) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:804
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x1c302cc3d20, count: -7
ddb{1}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff80003c421720
rbx                       0x8004745f    __kernel_virt_to_phys+0x4745f
rdx                                0
rcx               0xffff800034b9a7f0
rax               0xffff80002998dff0
r8                0xffff800034b9a7f0
r9                0xffff800034b9a7f0
r10               0x8116d1e7954e5f3f
r11               0x99434dfa89bb904d
r12               0xfffffc8070824810
r13               0xdeadbeefdeadbeef
r14                              0x1
r15                             0x1c
rip               0xffffffff8136df70    pgsignal+0x70
cs                               0x8
rflags                       0x10202    __ALIGN_SIZE+0xf202
rsp               0xffff80003c4216d0
ss                              0x10
pgsignal+0x70:  movl    0x158(%r13),%r12d
ddb{1}> show proc
PROC (syz-executor) tid=279168 pid=70987 tcnt=2 stat=onproc
    flags process=11<CONTROLT,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=0xffff800034b9bcb0,0xffff800034b9afc8
    process=0xffff800045ff4e90 user=0xffff80003c41c000, vmspace=0xfffffc8070e3f3e0
    estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID   UID  S      PRLAGS     PFLAGS WAIT      COMMAND
 52194  401710  19466 32767  7        0x10          0           syz-executor
 52194  301341  19466 32767  2        0x10  0x4000000           syz-executor
 70987  329856  58526 32767  2        0x11          0           syz-executor
*70987  279168  58526 32767  7        0x11  0x4000000           syz-executor
 34429   24592  99647 32767  3        0x10       0x80 nanoslp   syz-executor
 34429   66434  99647 32767  3        0x10  0x4000080 lockf     syz-executor
 34429  269675  99647 32767  3        0x10  0x4000080 fsleep    syz-executor
 85798  434993  97036 32767  2    0x400010          0           syz-executor
 85798  177574  97036 32767  3    0x400010  0x4000080 fsleep    syz-executor
 61366   98092  33154 32767  2        0x10          0           syz-executor
 61366  126153  33154 32767  3        0x10  0x4000080 fsleep    syz-executor
 69939  384342  50257 32767  2        0x10          0           syz-executor
 69939   80650  50257 32767  3        0x10  0x4000080 fsleep    syz-executor
 69939  488589  50257 32767  3        0x10  0x4000080 fsleep    syz-executor
 58526  132993  36041 32767  3        0x10       0x80 nanoslp   syz-executor
 36041   98432  61719     0  3         0x2       0x80 wait      syz-executor
 99971  460393  61719     0  3         0x2       0x80 wait      syz-executor
 99647  301734   9166 32767  3        0x10       0x80 nanoslp   syz-executor
  9166  441436  61719     0  3         0x2       0x80 wait      syz-executor
 33154  158233  27373 32767  3        0x10       0x80 nanoslp   syz-executor
 27373  214421  61719     0  3         0x2       0x80 wait      syz-executor
 50257  346472  21593 32767  3        0x10       0x80 nanoslp   syz-executor
 21593  333586  61719     0  3         0x2       0x80 wait      syz-executor
 97036  295759  44518 32767  3        0x10       0x80 nanoslp   syz-executor
 19466  220513  67967 32767  3        0x10       0x80 nanoslp   syz-executor
 35760  355624  37543 32767  3        0x10          0 biowait   syz-executor
 67967  299792  61719     0  3         0x2       0x80 wait      syz-executor
 44518  519532  61719     0  3         0x2       0x80 wait      syz-executor
 37543   47190  61719     0  3         0x2       0x80 wait      syz-executor
 61719  210531  24444     0  3         0x2       0x80 kqread    syz-executor
 24444  117973   4353     0  3    0x100002       0x88 sigsusp   ksh
  4353  235326  33287     0  3        0x10       0x88 kqread    sshd-session
 33287  305405  20181     0  3        0x12       0x80 kqread    sshd-session
 25104   39833      1     0  3    0x100003       0x80 ttyin     getty
 20181  354723      1     0  3           0       0x88 kqread    sshd
 98856  351309  53413    73  3   0x1100010       0x80 kqread    syslogd
 53413  126833      1     0  3    0x100002       0x80 sbwait    syslogd-parent
 24065  411175      1     0  3    0x100000       0x80 kqread    resolvd
  7694  226054  99350    77  3    0x100012       0x80 kqread    dhcpleased
 58593  184980  99350    77  3    0x100012       0x80 kqread    dhcpleased
 99350  497374      1     0  3           0       0x80 kqread    dhcpleased
 59781  404670      0     0  3     0x14000      0x200 bored     smr
 15965  141247      0     0  2     0x14000      0x200           zerothread
 71809  300640      0     0  3     0x14000      0x200 aiodoned  aiodoned
   158  203543      0     0  3     0x14000      0x200 syncer    update
 40378  117379      0     0  3     0x14000      0x200 cleaner   cleaner
 40251   79447      0     0  3     0x14000      0x200 reaper    reaper
 24058  327649      0     0  3     0x14000      0x200 pgdaemon  pagedaemon
 63167   26448      0     0  3     0x14000      0x200 bored     viomb
 71485  469246      0     0  3     0x14000 0x40000200 acpi0     acpi0
 82335  264161      0     0  3     0x14000 0x40000200           idle1
 24405  246341      0     0  3     0x14000      0x200 bored     softnet1
 84155   19779      0     0  3     0x14000      0x200 bored     softnet0
 24019  281088      0     0  3     0x14000      0x200 smrbar    systqmp
 17266  332217      0     0  3     0x14000      0x200 bored     systq
 90986   37679      0     0  3     0x14000      0x200 tmoslp    softclockmp
 74150  143514      0     0  3     0x14000 0x40000200 tmoslp    softclock
 91821  137119      0     0  3     0x14000 0x40000200           idle0
     1   31868      0     0  3         0x2       0x80 wait      init
     0       0     -1     0  3     0x10000      0x200 scheduler swapper
ddb{1}> show all locks
Process 70987 (syz-executor) thread 0xffff800034b9a7f0 (279168)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a0b380)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  vn_ioctl+0x4d sys/kern/vfs_vnops.c:520
#2  sys_ioctl+0x674 sys/kern/sys_generic.c:-1
#3  syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#3  syscall+0xbd4 sys/arch/amd64/amd64/trap.c:804
#4  Xsyscall+0x128
Process 35760 (syz-executor) thread 0xffff80002a348548 (355624)
exclusive rrwlock inode r = 0 (0xfffffc8069a4f0c0)
#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+0x42c 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:156
#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:1113
#8  VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394
#9  domkdirat+0x179 sys/kern/vfs_syscalls.c:3060
#10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:804
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffc806d4d0e90)
#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+0x42c 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+0x10e sys/kern/vfs_lookup.c:431
#6  namei+0x5ea sys/kern/vfs_lookup.c:250
#7  domkdirat+0x8b sys/kern/vfs_syscalls.c:3045
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:804
#9  Xsyscall+0x128
Process 24019 (systqmp) thread 0xffff800045ffe298 (281088)
shared rwlock systqmp r = 0 (0xffffffff839659d8)
#0  witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0  witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1  taskq_thread+0x11a sys/kern/kern_task.c:442
#2  proc_trampoline+0x10
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 11052  12018K   12034K 166960K     12158        0
            pcb    17     12K      12K 166960K        17        0
         rtable   227      6K       7K 166960K       488        0
             pf    31     16K      16K 166960K        41        0
         ifaddr    42      7K       7K 166960K        66        0
        ifgroup    50      2K       2K 166960K        70        0
         sysctl     1      1K       9K 166960K         7        0
       counters    70     37K      37K 166960K        80        0
       ioctlops     0      0K       2K 166960K        37        0
            iov     0      0K      16K 166960K         2        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1288     81K      81K 166960K      1403        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     3      5K       5K 166960K         4        0
         VM map     2      1K       1K 166960K         2        0
            sem    10      1K       1K 166960K        15        0
        dirhash    12      2K       2K 166960K        12        0
           ACPI  1692    195K     286K 166960K     12472        0
      file desc    24     89K     121K 166960K       270        0
           proc    58     99K     147K 166960K       646        0
        subproc    72      4K       4K 166960K       117        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K        10        0
       in_multi    99      6K       6K 166960K       155        0
    ether_multi     1      0K       0K 166960K         1        0
            mrt     0      0K       0K 166960K         2        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys    73    334K     334K 166960K        73        0
           exec     0      0K       1K 166960K       438        0
   fusefs mount     1     32K      32K 166960K         1        0
            tdb     3      0K       0K 166960K         3        0
        VM swap    14    124K     124K 166960K        15        0
       UVM amap   239    158K     163K 166960K      3791        0
       UVM aobj     6      2K       2K 166960K         7        0
     pinsyscall    45     90K     112K 166960K      1464        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K         2        0
            NDP    21      1K       2K 166960K        42        0
           temp    38   9130K    9152K 166960K      3969        0
         kqueue    15     24K      24K 166960K        35        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       28    0        0     1     0     1     1     0     8    0
rtpcb      120       47    0       43     1     0     1     1     0     8    0
rtentry    176      166    0       56     5     0     5     5     0     8    0
unpcb      144       83    0       68     1     0     1     1     0     8    0
syncache   336        7    0        7     1     0     1     1     0     8    1
tcpqe       32        1    0        1     1     0     1     1     0     8    1
tcpcb      736       30    0       23     1     0     1     1     0     8    0
arp        136       28    0       10     1     0     1     1     0     8    0
ipq         40        1    0        0     1     0     1     1     0     8    0
ipqe        40        2    0        0     1     0     1     1     0     8    0
inpcb      328      127    0      116     2     0     2     2     0     8    0
nd6        152       39    0       15     1     0     1     1     0     8    0
kcovpl      48       13    0        5     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      676    0      220    29     0    29    29     0     8    0
art_table   40      677    0      220     5     0     5     5     0     8    0
art_node    32      166    0       65     1     0     1     1     0     8    0
sysvmsgpl   40        2    0        2     1     0     1     1     0     8    1
semupl     112        2    0        2     1     0     1     1     0     8    1
semapl      72        8    0        0     1     0     1     1     0     8    0
shmpl      120        4    0        1     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     1628    0      148    93     0    93    93     0     8    0
ffsino     296     1628    0      148   114     0   114   114     0     8    0
nchpl      144     1898    0      181    64     0    64    64     0     8    0
vnodes     216     1754    0        0    98     0    98    98     0     8    0
namei      1024    7005    0     7004     2     1     1     2     0     8    0
percpumem   16       56    0        5     1     0     1     1     0     8    0
kstatmem   264       35    0       10     2     0     2     2     0     8    0
scxspl     216     6412    0     6411     3     2     1     2     1     8    0
plimitpl   152       59    0       34     2     0     2     2     0     8    0
sigapl     424      541    0      489     7     0     7     7     0     8    0
knotepl    120      310    0        0    10     0    10    10     0     8    0
kqueuepl   224       42    0       31     1     0     1     1     0     8    0
pipepl     344      139    0      112     3     0     3     3     0     8    0
fdescpl    528      525    0      489     4     1     3     3     0     8    0
filepl     160     1885    0     1663    10     0    10    10     0     8    0
lockfpl    104       27    0       23     1     0     1     1     0     8    0
lockfspl    48       13    0       10     1     0     1     1     0     8    0
sessionpl  144       35    0       17     1     0     1     1     0     8    0
pgrppl      48       48    0       23     1     0     1     1     0     8    0
ucredpl    104      221    0      202     1     0     1     1     0     8    0
zombiepl   144      490    0      489     1     0     1     1     0     8    0
processpl  1240     541    0      489     5     0     5     5     0     8    0
procpl     664      649    0      589     7     0     7     7     0     8    0
sosppl     176        1    0        1     1     0     1     1     0     8    1
sockpl     752      258    0      228     5     0     5     5     0     8    1
mcl64k     65536      1    0        0     1     0     1     1     0     8    0
mcl8k      8192       4    0        0     1     0     1     1     0     8    0
mcl4k      4096     130    0        0    17     0    17    17     0     8    0
mcl2k      2048      19    0        0     3     0     3     3     0     8    0
mextrefs    64       20    0        0     1     0     1     1     0     8    0
mtagpl      96        3    0        0     1     0     1     1     0     8    0
mbufpl     256      178    0        0    12     0    12    12     0     8    0
bufpl      272     2323    0       87   150     0   150   150     0     8    0
anonpl      32     7379    0        0    61     0    61    61     0   247    1
amapchunkpl 152   10925    0    10090    34     0    34    34     0   158    0
amappl16   200     1968    0     1952    14     0    14    14     0     8   12
amappl15   192       42    0       42     1     1     0     1     0     8    0
amappl14   184      448    0      447     1     0     1     1     0     8    0
amappl13   176      126    0      116     1     0     1     1     0     8    0
amappl12   168      792    0      757     2     0     2     2     0     8    0
amappl11   160        8    0        8     2     1     1     1     0     8    1
amappl10   152       59    0       51     1     0     1     1     0     8    0
amappl9    144      279    0      279     1     1     0     1     0     8    0
amappl8    136      139    0      138     1     0     1     1     0     8    0
amappl7    128      155    0      145     1     0     1     1     0     8    0
amappl6    120      141    0      139     1     0     1     1     0     8    0
amappl5    112      145    0      139     1     0     1     1     0     8    0
amappl4    104      284    0      272     1     0     1     1     0     8    0
amappl3     96     1995    0     1865     4     0     4     4     0     8    0
amappl2     88      443    0      395     2     0     2     2     0     8    0
amappl1     80    11051    0    10483    14     0    14    14     0     8    1
amappl      88     3053    0     2875     5     0     5     5     0    92    0
uvmvnodes   80      102    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        6    0        1     1     0     1     1     0     8    0
uaddrrnd    24      525    0      489     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      525    0      489     1     0     1     1     0     8    0
vmmpekpl   168     5815    0     5768     3     0     3     3     0     8    0
vmmpepl    168    43113    0    41139    97     0    97    97     0   357    6
vmsppl     488      524    0      489     6     0     6     6     0     8    0
rwobjpl     80    15901    0    14974    25     0    25    25     0     8    2
pdppl      4096    1058    0      978   104    14    90    96     0     8   10
pvpl        32    14847    0        0   120     0   120   120     0   265    0
pmappl     256      524    0      489     3     0     3     3     0     8    0
extentpl    40       46    0       28     1     0     1     1     0     8    0
phpool     112      424    0       17    12     0    12    12     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
ddb{0}> trace
x86_ipi_db(ffffffff839a9ff0) 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(ffffffff83a0ab80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83a0ab80) at __mp_lock+0x192 sys/kern/kern_lock.c:173
intr_handler(ffff80003c3cf0e0,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
end of kernel
end trace frame: 0x7a7d2bcfff80, count: -6
ddb{0}> machine ddbcpu 1
Stopped at      pgsignal+0x70:  movl    0x158(%r13),%r12d
ddb{1}> trace
pgsignal(fffffc8070824810,1c,1) at pgsignal+0x70 sys/kern/kern_sig.c:724
ptyioctl(606,8004745f,ffff80003c421990,3,ffff800034b9a7f0) at ptyioctl+0xb46 sys/kern/tty_pty.c:870
VOP_IOCTL(fffffc8070af1948,8004745f,ffff80003c421990,3,fffffc80097fd1a0,ffff800034b9a7f0) at VOP_IOCTL+0xac sys/kern/vfs_vops.c:264
vn_ioctl(fffffc807082e5a0,8004745f,ffff80003c421990,ffff800034b9a7f0) at vn_ioctl+0xf8 sys/kern/vfs_vnops.c:537
sys_ioctl(ffff800034b9a7f0,ffff80003c421b70,ffff80003c421ac0) at sys_ioctl+0x674 sys/kern/sys_generic.c:-1
syscall(ffff80003c421b70) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c421b70) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:804
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x1c302cc3d20, count: -7

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/10 13:30 openbsd 6689907bdb0b 01625235 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid protection_fault: pgsignal
* Struck through repros no longer work on HEAD.