syzbot


panic: trap type NUM, code=NUM, pc=ADDR (2)

Status: upstream: reported on 2022/01/07 15:25
Reported-by: syzbot+ced1b779d647a1a1ca43@syzkaller.appspotmail.com
First crash: 826d, last: 22h02m
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd panic: trap type NUM, code=NUM, pc=ADDR 1 830d 830d 0/3 closed as invalid on 2022/01/04 06:28

Sample crash report:
Password:fpanic: trap type 4, code=0, pc=ffffffff816ce397
Starting stack trace...
panic(ffffffff8284f961) at panic+0x16f sys/kern/subr_prf.c:229
kerntrap(ffff80002a105920) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
softclock(0) at softclock+0xd7 sys/kern/kern_timeout.c:751
softintr_dispatch(0) at softintr_dispatch+0xcd sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffffffff82c83ff0) at sched_idle+0x41d sys/kern/kern_sched.c:183
end trace frame: 0x0, count: 249
End of stack trace.
syncing disks...fatal protection afault in supervitsor mode
trap atype 4 code 0 rilp ffffffff816ce3 97 cs 8 rflags 1p0246 cr2 3448313r6be0 cpl d rsp fofff80002a1059d0t
gsbase 0xfffffefff82c83ff0  kgscbase 0x0
tion fault in supervisor mode
trap type 4 code 0 rip ffffffff816ce397 cs 8 rflags 10246 cr2 34483136be0 cpl 1 rsp ffff80002a105040
gsbase 0xffffffff82c83ff0  kgsbase 0x0
panic: trap type 4, code=0, pc=ffffffff816ce397
Starting stack trace...
panic(ffffffff8284f961) at panic+0x16f sys/kern/subr_prf.c:229
kerntrap(ffff80002a104f90) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
softclock(0) at softclock+0xd7 sys/kern/kern_timeout.c:751
softintr_dispatch(0) at softintr_dispatch+0xcd sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
Xspllower() at Xspllower+0x1d
tsleep(fffffd806f322140,11,ffffffff82849167,0) at tsleep+0x13a sys/kern/kern_synch.c:144
getblk(fffffd807efb4510,12ff00,4000,0,ffffffffffffffff) at getblk+0x137 sys/kern/vfs_bio.c:1025
bread(fffffd807efb4510,12ff00,4000,ffff80002a105498) at bread+0x3e bio_doread sys/kern/vfs_bio.c:430 [inline]
bread(fffffd807efb4510,12ff00,4000,ffff80002a105498) at bread+0x3e sys/kern/vfs_bio.c:475
ffs_update(fffffd806f4bacd0,0) at ffs_update+0x14c sys/ufs/ffs/ffs_inode.c:91
VOP_FSYNC(fffffd806f33b1d8,fffffd807f7d7f08,2,ffff8000fffff9a0) at VOP_FSYNC+0xcf sys/kern/vfs_vops.c:311
ffs_sync_vnode(fffffd806f33b1d8,ffff80002a105628) at ffs_sync_vnode+0x16b sys/ufs/ffs/ffs_vfsops.c:1081
vfs_mount_foreach_vnode(ffff8000006d2400,ffffffff823c2f60,ffff80002a105628) at vfs_mount_foreach_vnode+0x55 sys/kern/vfs_subr.c:910
ffs_sync(ffff8000006d2400,2,0,fffffd807f7d7f08,ffff8000fffff9a0) at ffs_sync+0x104 sys/ufs/ffs/ffs_vfsops.c:1131
sys_sync(ffff8000fffff9a0,0,0) at sys_sync+0xbc sys/kern/vfs_syscalls.c:536
vfs_syncwait(ffff8000fffff9a0,1) at vfs_syncwait+0x3b
vfs_shutdown(ffff8000fffff9a0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791
boot(100) at boot+0xe6 sys/arch/amd64/amd64/machdep.c:903
reboot(100) at reboot+0x81
panic(ffffffff8284f961) at panic+0x18f sys/kern/subr_prf.c:231
kerntrap(ffff80002a105920) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
softclock(0) at softclock+0xd7 sys/kern/kern_timeout.c:751
softintr_dispatch(0) at softintr_dispatch+0xcd sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffffffff82c83ff0) at sched_idle+0x41d sys/kern/kern_sched.c:183
end trace frame: 0x0, count: 229
End of stack trace.

dump to dev 4,1 not possible
rebooting...
SeaBIOS (version 1.8.2-google)
Total RAM Size = 0x0000000080000000 = 2048 MiB
CPUs found: 2     Max CPUs supported: 2
SeaBIOS (version 1.8.2-google)
Machine UUID 2c48b237-609e-0a7d-d6ca-08d70f46a694
found virtio-scsi at 0:3
virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0
virtio-scsi blksize=512 sectors=4194304 = 2048 MiB
drive 0x000f27f0: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304
Sending Seabios boot VM event.
Booting from Hard Disk 0...
>> OpenBSD/amd64 BOOT 3.65
boot> ps
|/-\|/-\|/booting hd0a:ps: -\|/open hd0a:ps: No such file or directory
 failed(2). will try /bsd
boot> show all locks
boot> show malloc
boot> show all pools
boot> machine ddbcpu 0
machine: syntax error
boot> trace
boot> machine ddbcpu 1
machine: syntax error
boot> trace

Crashes (296):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/12 16:12 openbsd 474ea8ba1797 c8349e48 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/12 06:53 openbsd e961ca10cf2c 3023abf0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/04/11 12:31 openbsd 123b2274d92c 3023abf0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/11 08:21 openbsd d11f3b71804f 33b9e058 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/11 05:07 openbsd d11f3b71804f 33b9e058 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/10 13:51 openbsd ffe6655cba7d 7d74efd0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/10 12:46 openbsd ffe6655cba7d 7d74efd0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/10 06:59 openbsd 1e30b36946b4 171ec371 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/10 05:28 openbsd 1e30b36946b4 171ec371 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/04/09 13:03 openbsd b226cd0be9f7 56086b24 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/09 06:14 openbsd 7e284d508f03 f3234354 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/08 07:55 openbsd c112ccd4e935 ca620dd8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/04/08 03:38 openbsd c112ccd4e935 ca620dd8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/04/07 18:14 openbsd 424974cc1f1f ca620dd8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/07 13:18 openbsd 424974cc1f1f ca620dd8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/06 07:44 openbsd cd55b6bd00f2 ca620dd8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/04 15:43 openbsd 2ee472d028ec 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/04/04 02:47 openbsd 2ee472d028ec 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/04/02 09:19 openbsd 2ee472d028ec 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/03/31 03:14 openbsd 2ee472d028ec 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/03/22 19:29 openbsd b98784e6f2e2 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/03/22 10:02 openbsd b98784e6f2e2 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/03/20 21:52 openbsd 110c1584e6f0 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/03/20 11:42 openbsd 85b1e7accca3 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/03/19 14:05 openbsd a69db6767cfd 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/03/17 14:43 openbsd d108608d837e 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/03/16 17:43 openbsd 9b8ef3b0d162 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/03/15 01:28 openbsd 81c0b8be580e 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/03/09 10:01 openbsd 0ef4c01d20d2 6ee49f2e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/03/04 07:13 openbsd e36fb1b3c0bc 25905f5d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/03/04 00:21 openbsd 43503d760fb8 25905f5d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/02/29 02:31 openbsd e5d416df88ac 352ab904 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/02/26 14:53 openbsd f844ef565ec2 23536c23 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/02/26 06:22 openbsd 872522346897 8d446f15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/02/25 14:17 openbsd fd5846a35585 8d446f15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/02/23 01:56 openbsd 609e0b1cb961 8d446f15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/02/22 19:59 openbsd 609e0b1cb961 8d446f15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/02/22 08:35 openbsd 921b38ae7cad 345111b5 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/02/21 00:39 openbsd 52f7a49a0ee1 3af7dd65 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/02/20 12:43 openbsd d8131725ee7c 3af7dd65 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/02/19 00:29 openbsd 357c6b751ff9 578f7538 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/02/16 20:05 openbsd 844e213d50c7 578f7538 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/02/16 06:57 openbsd ac16f2e6ef35 578f7538 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/02/14 05:53 openbsd 142eb7c69d11 d902085f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/02/13 23:30 openbsd 2b1c83bc2dee e66542d7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/02/13 18:10 openbsd 2b1c83bc2dee e66542d7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
2024/02/13 08:48 openbsd 04d13988b8fa 77b23aa1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2024/02/13 00:13 openbsd 04d13988b8fa 77b23aa1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: trap type NUM, code=NUM, pc=ADDR
2022/01/07 15:24 openbsd 4b3400b047aa 2ca0d385 .config console log report ci-openbsd-main panic: trap type NUM, code=NUM, pc=ADDR
* Struck through repros no longer work on HEAD.