syzbot


kernel: page fault trap, code=NUM

Status: closed as invalid on 2022/08/21 06:55
Reported-by: syzbot+42a287b3e3ff79a9a46c@syzkaller.appspotmail.com
First crash: 844d, last: 844d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd kernel: page fault trap, code=NUM (2) 1 586d 586d 0/3 auto-obsoleted due to no activity on 2023/08/03 11:48
openbsd kernel: page fault trap, code=NUM (3) C 73 42d 496d 0/3 upstream: reported C repro on 2023/08/03 20:12
openbsd kernel: page fault trap, code=0 (4) 2 1207d 1236d 0/3 auto-closed as invalid on 2021/11/20 18:10

Sample crash report:
PROC (kernel: page fault trap, code=0
Faulted in DDB; continuing...
ddb> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
ddb> show all locks
No such command
ddb> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10141   6384K    6413K  78643K     11231        0
            pcb    13      8K       8K  78643K        13        0
         rtable    80      2K       2K  78643K       139        0
         ifaddr    33      8K       8K  78643K        33        0
       counters    20     16K      16K  78643K        20        0
       ioctlops     0      0K       2K  78643K        26        0
          mount     1      1K       1K  78643K         1        0
            log     0      0K       0K  78643K         4        0
         vnodes  1167     73K      73K  78643K      1181        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       1K  78643K         2        0
         VM map     2      0K       0K  78643K         2        0
            sem     2      0K       0K  78643K         2        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1697    195K     286K  78643K     12548        0
      file desc     3      8K      12K  78643K        19        0
           proc    55     58K      67K  78643K       254        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
       in_multi    22      1K       1K  78643K        22        0
    ether_multi     1      0K       0K  78643K         1        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys    25    122K     122K  78643K        25        0
           exec     0      0K       2K  78643K       454        0
            tdb     3      0K       0K  78643K         3        0
        pagedep     1      8K       8K  78643K         1        0
       inodedep     1     32K      32K  78643K         1        0
         newblk     1      0K       0K  78643K         1        0
        VM swap     8     62K      62K  78643K         8        0
       UVM amap    89     12K      12K  78643K      1498        0
       UVM aobj     3      2K       2K  78643K         3        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
            NDP     6      0K       0K  78643K         6        0
           temp    23   4701K    4765K  78643K      2619        0
         kqueue    12     18K      18K  78643K        25        0
      SYN cache     2     16K      16K  78643K         2        0
ddb> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb      120       22    0       19     1     0     1     1     0     8    0
rtentry    112       34    0        1     1     0     1     1     0     8    0
unpcb      144       33    0       20     1     0     1     1     0     8    0
syncache   296        5    0        5     2     1     1     1     0     8    1
tcpqe       32       13    0       13     1     1     0     1     0     8    0
tcpcb      768        8    0        5     1     0     1     1     0     8    0
arp         88        4    0        0     1     0     1     1     0     8    0
inpcb      320       29    0       23     1     0     1     1     0     8    0
nd6         48        3    0        0     1     0     1     1     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      144    0        0     9     0     9     9     0     8    0
art_table   32      145    0        0     2     0     2     2     0     8    0
art_node    16       33    0        3     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dirhash: pool(0xffffffff82aa0240:dirhash): free list modified: page 0xffff8000216f8000; item ordinal 0; addr 0xffff8000216f9800 (p 0xfffffd806e91a000); offset 0x0=0x0
pool(dirhash): free list modified: page 0xffff8000216f8000; item ordinal 0; addr 0xffff8000216f9800 (p 0xfffffd806e91a000); offset 0x0=0x0
dirhash: pool(0xffffffff82aa0240:dirhash): page inconsistency: page 0xffff8000216f8000; item ordinal 1; addr 0xd3684f6bea124e29
dino2pl    256     1446    0       51    88     0    88    88     0     8    0
ffsino     240     1446    0       51    83     0    83    83     0     8    0
nchpl      144     1685    0       61    61     0    61    61     0     8    0
uvmvnodes   80     1456    0        0    30     0    30    30     0     8    0
vnodes     216     1456    0        0    81     0    81    81     0     8    0
namei      1024    4873    0     4873     3     1     2     2     0     8    2
namei: pool(0xffffffff829b29d0:namei): free list modified: page 0xffff8000216df000; item ordinal 0; addr 0xffff8000216e0000 (p 0xfffffd806d4f4000); offset 0x0=0x0
pool(namei): free list modified: page 0xffff8000216df000; item ordinal 0; addr 0xffff8000216e0000 (p 0xfffffd806d4f4000); offset 0x0=0x0
namei: pool(0xffffffff829b29d0:namei): page inconsistency: page 0xffff8000216df000; item ordinal 1; addr 0xd6c42296a15b8519
namei: pool(0xffffffff829b29d0:namei): free list modified: page 0xffff80002172c000; item ordinal 0; addr 0xffff80002172d000 (p 0xfffffd806b4ce000); offset 0x0=0x0
pool(namei): free list modified: page 0xffff80002172c000; item ordinal 0; addr 0xffff80002172d000 (p 0xfffffd806b4ce000); offset 0x0=0x0
namei: pool(0xffffffff829b29d0:namei): page inconsistency: page 0xffff80002172c000; item ordinal 1; addr 0x1f4b0ee32644bd3c
kstatmem   264        8    0        0     1     0     1     1     0     8    0
scxspl     216     5303    0     5303    54    53     1     8     0     8    1
plimitpl   152       16    0        9     1     0     1     1     0     8    0
sigapl     424      330    0      299     5     0     5     5     0     8    1
knotepl    120     3963    0     3927     3     1     2     2     0     8    0
kqueuepl   184       21    0       13     1     0     1     1     0     8    0
pipepl     288      102    0       95     2     1     1     1     0     8    0
fdescpl    432      314    0      299     3     0     3     3     0     8    1
filepl     120     1268    0     1202     3     0     3     3     0     8    0
lockfpl    104        8    0        6     1     0     1     1     0     8    0
lockfspl    48        5    0        3     1     0     1     1     0     8    0
sessionpl  144       18    0        9     1     0     1     1     0     8    0
pgrppl      48       18    0        9     1     0     1     1     0     8    0
ucredpl    104       65    0       54     1     0     1     1     0     8    0
zombiepl   144      299    0      299     2     1     1     1     0     8    1
processpl  1000     330    0      299     5     0     5     5     0     8    0
processpl: pool(0xffffffff82a5a1b8:processpl): page inconsistency: page 0x0; at page head addr 0xffff8000216fbf90 (p 0xffff8000216fa000)
procpl     672      337    0      299     4     0     4     4     0     8    0
procpl: pool(0xffffffff82a5a010:procpl): page inconsistency: page 0x0; at page head addr 0xffff8000216fdf90 (p 0xffff8000216fc000)
sockpl     456       84    0       62     4     1     3     4     0     8    0
mcl8k      8192       9    0        9     2     1     1     1     0     8    1
mcl4k      4096       5    0        5     2     1     1     1     0     8    1
mcl2k      2048    5216    0     5160    11     3     8    10     0     8    1
mtagpl      96        4    0        4     1     1     0     1     0     8    0
mbufpl     256     9506    0     9381    11     2     9     9     0     8    1
bufpl      288     3442    0      128   237     0   237   237     0     8    0
anonpl      24    42290    0    39367    40     2    38    38     0   188   16
amapchunkpl 152    3199    0     2989    14     0    14    14     0   158    4
amappl16   200      116    0       61     5     1     4     4     0     8    0
amappl15   192       77    0       72     1     0     1     1     0     8    0
amappl14   184        5    0        2     1     0     1     1     0     8    0
amappl13   176       38    0       37     2     1     1     1     0     8    0
amappl12   168        6    0        3     1     0     1     1     0     8    0
amappl11   160       75    0       61     1     0     1     1     0     8    0
amappl10   152       14    0       14     2     1     1     1     0     8    1
amappl9    144      449    0      445     1     0     1     1     0     8    0
amappl8    136      405    0      387     2     1     1     1     0     8    0
amappl7    128       93    0       80     1     0     1     1     0     8    0
amappl6    120      135    0      126     2     0     2     2     0     8    1
amappl5    112       88    0       79     1     0     1     1     0     8    0
amappl4    104      647    0      623     2     0     2     2     0     8    1
amappl3     96      447    0      419     2     0     2     2     0     8    1
amappl2     88      389    0      357     2     0     2     2     0     8    0
amappl1     80    10062    0     9623    19     0    19    19     0     8   10
amappl      88     1183    0     1127     3     0     3     3     0    92    1
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      314    0      299     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      314    0      299     1     0     1     1     0     8    0
vmmpekpl   168     7832    0     7815     1     0     1     1     0     8    0
vmmpepl    168    30688    0    29620    89     1    88    88     0   357   40
vmsppl     272      313    0      299     2     0     2     2     0     8    0
rwobjpl     24    10586    0     8451    17     0    17    17     0     8    1
pdppl      4096     634    0      598    78    30    48    52     0     8   12
pvpl        32   194506    0   188696   239     2   237   237     0   265  183
pmappl     216      313    0      299     2     0     2     2     0     8    1
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112      535    0       41    15     0    15    15     0     8    0
ddb> machine ddbcpu 0
No such command
ddb> trace
end trace frame: 0x0, count: -1
ddb> machine ddbcpu 1
No such command
ddb> trace
end trace frame: 0x0, count: -1

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/20 23:22 openbsd c6821aa4c746 26a13b38 .config console log report syz ci-openbsd-main kernel: page fault trap, code=NUM
* Struck through repros no longer work on HEAD.