syzbot


multicore boot error: uvm_fault (2)

Status: upstream: reported on 2023/12/23 05:01
Reported-by: syzbot+d99e0f464c49f2701b56@syzkaller.appspotmail.com
Fix commit: Backout always allocate per-CPU statistics counters for network
Patched on: [], missing on: [ci-openbsd-main ci-openbsd-multicore ci-openbsd-setuid]
First crash: 131d, last: 130d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd multicore boot error: uvm_fault 21 769d 770d 3/3 fixed on 2022/03/24 09:15

Sample crash report:
uvm_fault(0xffffffff82d04580, 0x8, 0, 1) -> e

kernel: page fault trap, code=0

Stopped at      pool_get+0xb5:  movq    0x8(%rax),%r11

    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND

*     0      0      0     0x10000      0x200    0K swapper

pool_get(ffffffff82ca5c70,1,19d8163b710d3786,0,ffff8000001a12a8,ffff8000001a196

8) at pool_get+0xb5 pl_enter sys/kern/subr_pool.c:104 [inline]

8) at pool_get+0xb5 sys/kern/subr_pool.c:578

counters_alloc(c,c,2030497c85ffce0c,0,ffff8000001a12a8,ffff8000001a1968) at cou

nters_alloc+0x56

if_attach_common(ffff8000001a12a8,ffff8000001a12a8,ff540acf94a92d34,ffff8000001

a1050,ffff8000001a12a8,7) at if_attach_common+0xc7 sys/net/if.c:648

if_attach(ffff8000001a12a8,ffff8000001a12a8,ffff800000024c00,7,ffffffff81f3f4bd

,ffffffff831627d0) at if_attach+0x1d sys/net/if.c:572

vio_attach(ffff800000024c00,ffff8000001a1000,ffff800000024c00,ffff800000024c00,

e16517ee62ed0407,ffffffff82bf8660) at vio_attach+0x652 sys/dev/pv/if_vio.c:608

config_attach(ffff800000024c00,ffffffff82ba11c8,ffff800000024c00,0,c90e7e21a06e

966e,0) at config_attach+0x33a sys/kern/subr_autoconf.c:418

virtio_pci_attach(ffff80000002de00,ffff800000024c00,ffffffff83162a10,ffff800000

02de00,134bd009267f40a3,ffffffff82bffee8) at virtio_pci_attach+0x24d sys/dev/pci/virtio_pci.c:611

config_attach(ffff80000002de00,ffffffff82ba3490,ffffffff83162a10,ffffffff826c64

40,c90e7e21a375c893,ffff80000007b180) at config_attach+0x33a sys/kern/subr_autoconf.c:418

pci_probe_device(ffff80000002de00,80002000,0,0,9b24d9d9008c9b7,0) at pci_probe_

--db_more--serialport: Connected to syzkaller.us-central1-b.ci-openbsd-multicore-test-1 port 1 (session ID: 59e2d143a455de6eb3afa392f172c50cc2fc7d55f092b75da851dd9666538fd7, active connections: 1).

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/23 12:15 openbsd d835b37be602 fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore multicore boot error: uvm_fault
2023/12/23 12:15 openbsd d835b37be602 fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore multicore boot error: uvm_fault
2023/12/23 12:15 openbsd d835b37be602 fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore multicore boot error: uvm_fault
2023/12/23 11:50 openbsd d835b37be602 fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid multicore boot error: uvm_fault
2023/12/23 11:50 openbsd d835b37be602 fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid multicore boot error: uvm_fault
2023/12/23 11:50 openbsd d835b37be602 fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid multicore boot error: uvm_fault
2023/12/23 05:25 openbsd ce8152cabdef fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid multicore boot error: uvm_fault
2023/12/23 05:25 openbsd ce8152cabdef fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid multicore boot error: uvm_fault
2023/12/23 05:25 openbsd ce8152cabdef fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-setuid multicore boot error: uvm_fault
2023/12/23 05:00 openbsd ce8152cabdef fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore multicore boot error: uvm_fault
2023/12/23 05:00 openbsd ce8152cabdef fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore multicore boot error: uvm_fault
2023/12/23 05:00 openbsd ce8152cabdef fb427a07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore multicore boot error: uvm_fault
* Struck through repros no longer work on HEAD.