syzbot


assert "atomic_load_int(&fdp->fd_nuserevents) == NUM" failed in kern_descrip.c

Status: upstream: reported on 2025/08/07 22:12
Reported-by: syzbot+69052bd4a04f5fc9c89a@syzkaller.appspotmail.com
First crash: 23d, last: 21d

Sample crash report:
panic: kernel diagnostic assertion "atomic_load_int(&fdp->fd_nuserevents) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_descrip.c", line 1218
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
   3558  70829      0           0  0x4000000    1  syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83370106) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff833b078c,ffffffff83304eb6,4c2,ffffffff833408f7) at __assert+0x29 sys/kern/subr_prf.c:-1
fdfree(ffff80003901ca88) at fdfree+0x349
exit1(ffff80003901ca88,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215
sys_exit(ffff80003901ca88,ffff800031c074f0,ffff800031c07440) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff800031c074f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800031c074f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x78d115056320, 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{0}> 
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: kernel diagnostic assertion "atomic_load_int(&fdp->fd_nuserevents) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_descrip.c", line 1218
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83370106) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff833b078c,ffffffff83304eb6,4c2,ffffffff833408f7) at __assert+0x29 sys/kern/subr_prf.c:-1
fdfree(ffff80003901ca88) at fdfree+0x349
exit1(ffff80003901ca88,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215
sys_exit(ffff80003901ca88,ffff800031c074f0,ffff800031c07440) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff800031c074f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800031c074f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x78d115056320, count: -8
ddb{0}> show registers
rdi                                0
rsi                              0x1
rbp               0xffff800031c07230
rbx               0xffffffff83828ddf    cpu_info_full_primary+0x2ddf
rdx                                0
rcx               0xffff80003901ca88
rax               0xffffffff83827ff0    cpu_info_full_primary+0x1ff0
r8                 0x101010101010101
r9                0x8080808080808080
r10               0xe004783f3e4ea8de
r11               0x7c96d7ae87a0a4d4
r12               0xffffffff83828be0    cpu_info_full_primary+0x2be0
r13                                0
r14                                0
r15                              0x1
rip               0xffffffff811b9065    db_enter+0x25
cs                               0x8
rflags                         0x246
rsp               0xffff800031c07220
ss                              0x10
db_enter+0x25:  addq    $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor) tid=124912 pid=20586 tcnt=0 stat=onproc
    flags process=1008<EXITING,SINGLEEXIT> proc=2000<WEXIT>
    runpri=32, usrpri=86, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0xffff80003901ca88 scnt=-1 ecnt=1
    forw=0xffffffffffffffff, list=0xffff80003901c7f0,0xffff80003901c038
    process=0xffff800039025880 user=0xffff800031c02000, vmspace=0xfffffd806b890208
    estcpu=36, cpticks=3, pctcpu=0.0, user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 70829   41523  57871      0  2           0                syz-executor
 70829    3558  57871      0  7   0x4000000                syz-executor
 28751   59991  73795      0  2       0xc80                syz-executor
 28751  502848  73795      0  3   0x4000080  sbwait        syz-executor
 28751  431832  73795      0  3   0x4000080  sbwait        syz-executor
 28751  253313  73795      0  3   0x4000080  fsleep        syz-executor
 50119  361125      1      0  3    0x100083  ttyin         getty
 49459  264018      0      0  3     0x14200  acct          acct
 42305  194866      0      0  3     0x14200  bored         sosplice
 98295   97805  50069      0  2         0x2                syz-executor
 90359  485792  50069      0  2       0xc82                syz-executor
 73795  437124  50069      0  2       0xc82                syz-executor
 38241  186122  50069      0  2         0x2                syz-executor
 13453  404661  50069      0  2       0xc82                syz-executor
 95949  146688  50069      0  2       0xc82                syz-executor
 57871   39511  50069      0  2       0xc82                syz-executor
 47548  160991  50069      0  2       0xc82                syz-executor
 50069  164297  16998      0  3        0x82  kqread        syz-executor
 16998  440860  40182      0  3    0x10008a  sigsusp       ksh
 40182  251440  53748      0  3        0x98  kqread        sshd-session
 53748  391102   3949      0  3        0x92  kqread        sshd-session
  3949  417637      1      0  3        0x88  kqread        sshd
 80161  261551  53037     74  3   0x1100092  bpf           pflogd
 53037  477984      1      0  3        0x80  sbwait        pflogd
 49182  370374  25149     73  3   0x1100090  kqread        syslogd
 25149  514102      1      0  3    0x100082  sbwait        syslogd
 84991  285413      1      0  3    0x100080  kqread        resolvd
 65848  125314  80370     77  3    0x100092  kqread        dhcpleased
 41439  315566  80370     77  3    0x100092  kqread        dhcpleased
 80370  266349      1      0  3        0x80  kqread        dhcpleased
 80533   39575      0      0  2     0x14200                smr
 11938  292890      0      0  2     0x14200                zerothread
 62175   83591      0      0  3     0x14200  aiodoned      aiodoned
 70075   89762      0      0  3     0x14200  syncer        update
 61709  223055      0      0  3     0x14200  cleaner       cleaner
 21718  294982      0      0  3     0x14200  reaper        reaper
 51023  153455      0      0  3     0x14200  pgdaemon      pagedaemon
 63779  183696      0      0  3     0x14200  bored         viomb
 82629  275383      0      0  3  0x40014200  acpi0         acpi0
  3119  494229      0      0  3  0x40014200                idle1
 25782  413798      0      0  3     0x14200  bored         softnet7
 69361    9021      0      0  3     0x14200  bored         softnet6
 77487   73418      0      0  3     0x14200  bored         softnet5
 42997    8525      0      0  3     0x14200  bored         softnet4
 19965   98993      0      0  3     0x14200  bored         softnet3
 33406  500782      0      0  3     0x14200  bored         softnet2
 20825  182425      0      0  3     0x14200  bored         softnet1
 51073  395985      0      0  3     0x14200  bored         softnet0
 99182  375301      0      0  3     0x14200  bored         systqmp
 29243  141980      0      0  3     0x14200  bored         systq
 24711  127870      0      0  3     0x14200  tmoslp        softclockmp
 82780  111189      0      0  2  0x40014200                softclock
  8126   41862      0      0  3  0x40014200                idle0
     1  505342      0      0  3        0x82  wait          init
     0       0     -1      0  3  0x10010200  scheduler     swapper
ddb{0}> show all locks
Process 98295 (syz-executor) thread 0xffff8000ffff3a00 (97805)
exclusive rrwlock inode r = 0 (0xfffffd806f576d80)
#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+0xa3 sys/kern/vfs_vops.c:527
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:570
#5  vget+0x2a2 sys/kern/vfs_subr.c:693
#6  ufs_ihashget+0x185 sys/ufs/ufs/ufs_ihash.c:98
#7  ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1203
#8  ufs_lookup+0x1a36 sys/ufs/ufs/ufs_lookup.c:478
#9  VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85
#10 vfs_lookup+0x93a sys/kern/vfs_lookup.c:566
#11 namei+0x7ca sys/kern/vfs_lookup.c:250
#12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868
#13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806ea5ceb8)
#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+0xa3 sys/kern/vfs_vops.c:527
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:570
#5  vget+0x2a2 sys/kern/vfs_subr.c:693
#6  cache_lookup+0x351 sys/kern/vfs_cache.c:222
#7  ufs_lookup+0x1e3 sys/ufs/ufs/ufs_lookup.c:160
#8  VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85
#9  vfs_lookup+0x93a sys/kern/vfs_lookup.c:566
#10 namei+0x7ca sys/kern/vfs_lookup.c:250
#11 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868
#12 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#12 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748
#13 Xsyscall+0x128
Process 38241 (syz-executor) thread 0xffff8000ffff2a70 (186122)
exclusive rrwlock inode r = 0 (0xfffffd806e0a4348)
#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+0xa3 sys/kern/vfs_vops.c:527
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:570
#5  vget+0x2a2 sys/kern/vfs_subr.c:693
#6  ufs_ihashget+0x185 sys/ufs/ufs/ufs_ihash.c:98
#7  ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1203
#8  ufs_lookup+0x1a36 sys/ufs/ufs/ufs_lookup.c:478
#9  VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85
#10 vfs_lookup+0x93a sys/kern/vfs_lookup.c:566
#11 namei+0x7ca sys/kern/vfs_lookup.c:250
#12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868
#13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:748
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806ced2a10)
#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+0xa3 sys/kern/vfs_vops.c:527
#4  vn_lock+0xa4 sys/kern/vfs_vnops.c:570
#5  vfs_lookup+0x11c sys/kern/vfs_lookup.c:-1
#6  namei+0x7ca sys/kern/vfs_lookup.c:250
#7  dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1868
#8  syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8  syscall+0xb17 sys/arch/amd64/amd64/trap.c:748
#9  Xsyscall+0x128
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10252  11161K   11631K 166960K     12773        0
            pcb    17     14K      16K 166960K       265        0
         rtable   216     10K      10K 166960K       435        0
             pf    36     17K      81K 166960K       122        0
         ifaddr    44      8K       8K 166960K        94        0
        ifgroup    57      2K       2K 166960K       147        0
         sysctl     4      1K       9K 166960K        13        0
       counters    70     37K      38K 166960K       178        0
       ioctlops     0      0K       4K 166960K      1840        0
            iov     1      0K      28K 166960K        71        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1485     93K      94K 166960K      2363        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2      1K       9K 166960K        17        0
         VM map     2      1K       1K 166960K         2        0
            sem    12      0K       0K 166960K        35        0
        dirhash    12      2K       2K 166960K        48        0
           ACPI  1692    195K     286K 166960K     12470        0
      file desc    15     53K     236K 166960K      1160        0
          sigio     0      0K       0K 166960K        21        0
           proc    72    115K     164K 166960K       650        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     0      0K       0K 166960K       432        0
       in_multi    99      7K       7K 166960K       147        0
    ether_multi     1      0K       0K 166960K        14        0
            mrt     2      0K       0K 166960K        11        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   223    996K     996K 166960K       223        0
           exec     0      0K       1K 166960K       468        0
   fusefs mount     1     32K      32K 166960K         1        0
     pfkey data     0      0K       0K 166960K         3        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   241    160K     174K 166960K     12255        0
       UVM aobj    17      2K       2K 166960K        19        0
     pinsyscall    41     82K     102K 166960K      2273        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K        54        0
            NDP    13      0K       2K 166960K        62        0
           temp    67   8650K    8726K 166960K     30350        0
         kqueue    14     22K      30K 166960K       253        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       26    0        0     1     0     1     1     0     8    0
rtpcb      120      180    0      177     3     2     1     3     0     8    0
rtentry    176      135    0       47     5     0     5     5     0     8    0
unpcb      144      714    0      695     5     1     4     4     0     8    3
syncache   336        5    0        5     3     3     0     1     0     8    0
tcpqe       32        1    0        1     1     1     0     1     0     8    0
tcpcb      736      525    0      519     8     4     4     7     0     8    3
arp        128       17    0        5     1     0     1     1     0     8    0
inpcb      328     1310    0     1301     7     3     4     7     0     8    2
nd6        144       20    0        1     1     0     1     1     0     8    0
pkpcb       40        8    0        8     3     2     1     1     0     8    1
kcovpl      48        8    0        0     1     0     1     1     0     8    0
ppxss      1192      47    0       46     1     0     1     1     0     8    0
pppxif     1504       6    0        6     1     0     1     1     0     8    1
pffrag     232       11    0        4     1     0     1     1     0   482    0
pffrnode    88       11    0        4     1     0     1     1     0     8    0
pffrent     40       16    0        9     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
pfrktable  1344       7    0        7     2     1     1     1     0     8    1
pfstitem    24       75    0       20     1     0     1     1     0     8    0
pfstkey    128       75    0       20     2     0     2     2     0     8    0
pfstate    384       75    0       20     6     0     6     6     0     8    0
pfrule     1344      21    0       16     2     1     1     2     0     8    0
rttmr      136        3    0        3     1     0     1     1     0     8    1
art_heap8  4096       3    0        0     3     0     3     3     0     8    0
art_heap4  256      640    0      238    31     2    29    30     0     8    2
art_table   40      643    0      238     5     0     5     5     0     8    0
art_node    32      134    0       60     1     0     1     1     0     8    0
sysvmsgpl   40       16    0        9     1     0     1     1     0     8    0
semapl     112       33    0       23     1     0     1     1     0     8    0
shmpl      112       16    0        2     1     0     1     1     0     8    0
dirhash    1024      41    0       24     3     0     3     3     0     8    0
dino2pl    256     3543    0     2030    95     0    95    95     0     8    0
ffsino     296     3543    0     2030   117     0   117   117     0     8    0
nchpl      144     5230    0     3534    64     0    64    64     0     8    0
rtmask      32        8    0        8     1     0     1     1     0     8    1
uvmvnodes   80     4220    0        0    87     0    87    87     0     8    0
vnodes     216     4220    0        0   235     0   235   235     0     8    0
namei      1024   17079    0    17079     4     3     1     2     0     8    1
percpumem   16      104    0       54     1     0     1     1     0     8    0
kstatmem   264       94    0       66     3     0     3     3     0     8    0
scsiplug    72        7    0        7     3     2     1     1     0     8    1
scxspl     216    31704    0    31704    10     6     4     8     1     8    4
plimitpl   152      370    0      352     1     0     1     1     0     8    0
sigapl     424     1467    0     1413     7     0     7     7     0     8    0
knotepl    120      753    0        0    23     0    23    23     0     8    0
kqueuepl   224      416    0      406     3     2     1     3     0     8    0
pipepl     344      195    0      168     3     0     3     3     0     8    0
fdescpl    528     1441    0     1411     3     0     3     3     0     8    0
filepl     160     8603    0     8383    16     0    16    16     0     8    5
lockfpl    104      638    0      636     2     0     2     2     0     8    1
lockfspl    48      250    0      248     1     0     1     1     0     8    0
sessionpl  144       24    0       15     1     0     1     1     0     8    0
pgrppl      48       57    0       40     1     0     1     1     0     8    0
ucredpl    104     1325    0     1311     1     0     1     1     0     8    0
zombiepl   144     1417    0     1413     1     0     1     1     0     8    0
processpl  1248    1467    0     1413     5     0     5     5     0     8    0
procpl     664     3169    0     3111     7     1     6     7     0     8    0
sosppl     168       11    0       11     1     0     1     1     0     8    1
sockpl     752     2245    0     2214    12     1    11    12     0     8    7
mcl64k     65536     17    0        0     3     0     3     3     0     8    0
mcl16k     16384      4    0        0     1     0     1     1     0     8    0
mcl12k     12288      2    0        0     1     0     1     1     0     8    0
mcl9k      9216       1    0        0     1     0     1     1     0     8    0
mcl8k      8192       3    0        0     1     0     1     1     0     8    0
mcl4k      4096     112    0        0    14     0    14    14     0     8    0
mcl2k2     2112       2    0        0     1     0     1     1     0     8    0
mcl2k      2048      27    0        0     4     0     4     4     0     8    0
mtagpl      96       12    0        0     1     0     1     1     0     8    0
mbufpl     256      339    0        0    22     0    22    22     0     8    0
bufpl      280    13606    0     7463   440     0   440   440     0     8    0
anonpl      32    13682    0        0   111     0   111   111     0   246    0
amapchunkpl 152   41468    0    40982    34     6    28    28     0   158    3
amappl16   200     5724    0     5688    60    32    28    34     0     8   17
amappl15   192        4    0        4     1     1     0     1     0     8    0
amappl14   184      115    0      103     1     0     1     1     0     8    0
amappl13   176        7    0        7     1     1     0     1     0     8    0
amappl12   168     2127    0     2097     3     1     2     2     0     8    0
amappl11   160       49    0       35     1     0     1     1     0     8    0
amappl10   152        3    0        3     1     1     0     1     0     8    0
amappl9    144      281    0      281     1     1     0     1     0     8    0
amappl8    136       23    0       20     1     0     1     1     0     8    0
amappl7    128      132    0      119     1     0     1     1     0     8    0
amappl6    120      184    0      181     1     0     1     1     0     8    0
amappl5    112      125    0      115     1     0     1     1     0     8    0
amappl4    104      306    0      286     1     0     1     1     0     8    0
amappl3     96     8200    0     8090     4     0     4     4     0     8    0
amappl2     88      685    0      621     2     0     2     2     0     8    0
amappl1     80    12538    0    11930    14     1    13    14     0     8    0
amappl      88    11370    0    11203     5     0     5     5     0    92    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        8    0        8     2     2     0     1     0     8    0
dma128     128      257    0      257     4     3     1     1     0     8    1
dma64       64        8    0        8     3     2     1     1     0     8    1
dma32       32        7    0        7     1     1     0     1     0     8    0
dma16       16       20    0       19     1     0     1     1     0     8    0
aobjpl      72       18    0        2     1     0     1     1     0     8    0
uaddrrnd    24     1441    0     1411     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24     1441    0     1411     1     0     1     1     0     8    0
vmmpekpl   168    12416    0    12376     3     0     3     3     0     8    0
vmmpepl    168    96129    0    94159   120     9   111   117     0   357   10
vmsppl     488     1440    0     1411     5     1     4     5     0     8    0
rwobjpl     80    31208    0    26019   114     0   114   114     0     8    1
pdppl      4096    2889    0     2822   105    34    71    85     0     8    4
pvpl        32    22063    0        0   179     1   178   178     0   265    0
pmappl     256     1440    0     1411     3     0     3     3     0     8    0
extentpl    40       45    0       27     1     0     1     1     0     8    0
phpool     112      304    0       49     8     0     8     8     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83370106) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff833b078c,ffffffff83304eb6,4c2,ffffffff833408f7) at __assert+0x29 sys/kern/subr_prf.c:-1
fdfree(ffff80003901ca88) at fdfree+0x349
exit1(ffff80003901ca88,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215
sys_exit(ffff80003901ca88,ffff800031c074f0,ffff800031c07440) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff800031c074f0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800031c074f0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x78d115056320, count: -8
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffff8000299edff0) 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(ffffffff8394fb18) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline]
__mp_lock(ffffffff8394fb18) at __mp_lock+0x199 sys/kern/kern_lock.c:165
sysctl_file(ffff800038815598,4,200000000100,ffff8000388155c8,ffff80003901c028) at sysctl_file+0x27ef sys/kern/kern_sysctl.c:1784
kern_sysctl(ffff800038815594,5,200000000100,ffff8000388155c8,0,37,3074a293280deebb) at kern_sysctl+0x139 sys/kern/kern_sysctl.c:733
sys_sysctl(ffff80003901c028,ffff800038815700,ffff800038815650) at sys_sysctl+0x3e5 sys/kern/kern_sysctl.c:-1
syscall(ffff800038815700) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800038815700) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xdfff3fbe740, count: 6
ddb{1}> trace
x86_ipi_db(ffff8000299edff0) 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(ffffffff8394fb18) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline]
__mp_lock(ffffffff8394fb18) at __mp_lock+0x199 sys/kern/kern_lock.c:165
sysctl_file(ffff800038815598,4,200000000100,ffff8000388155c8,ffff80003901c028) at sysctl_file+0x27ef sys/kern/kern_sysctl.c:1784
kern_sysctl(ffff800038815594,5,200000000100,ffff8000388155c8,0,37,3074a293280deebb) at kern_sysctl+0x139 sys/kern/kern_sysctl.c:733
sys_sysctl(ffff80003901c028,ffff800038815700,ffff800038815650) at sys_sysctl+0x3e5 sys/kern/kern_sysctl.c:-1
syscall(ffff800038815700) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800038815700) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xdfff3fbe740, count: -9

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/09 19:36 openbsd 6d30732ef287 32a0e5ed .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "atomic_load_int(&fdp->fd_nuserevents) == NUM" failed in kern_descrip.c
2025/08/07 22:12 openbsd efaa42f7482b 04cffc22 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid assert "atomic_load_int(&fdp->fd_nuserevents) == NUM" failed in kern_descrip.c
* Struck through repros no longer work on HEAD.