./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4168258148
<...>
Warning: Permanently added '10.128.0.139' (ED25519) to the list of known hosts.
execve("./syz-executor4168258148", ["./syz-executor4168258148"], 0x7fff87a3c790 /* 10 vars */) = 0
brk(NULL) = 0x555586689000
brk(0x555586689d00) = 0x555586689d00
arch_prctl(ARCH_SET_FS, 0x555586689380) = 0
set_tid_address(0x555586689650) = 5093
set_robust_list(0x555586689660, 24) = 0
rseq(0x555586689ca0, 0x20, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlink("/proc/self/exe", "/root/syz-executor4168258148", 4096) = 28
getrandom("\xd2\x74\xab\xad\x97\xe5\xca\xf4", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x555586689d00
brk(0x5555866aad00) = 0x5555866aad00
brk(0x5555866ab000) = 0x5555866ab000
mprotect(0x7f44728f2000, 16384, PROT_READ) = 0
mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000
mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000
mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000
memfd_create("syzkaller", 0) = 3
mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f446a400000
write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216
munmap(0x7f446a400000, 138412032) = 0
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
ioctl(4, LOOP_SET_FD, 3) = 0
close(3) = 0
close(4) = 0
mkdir("./bus", 0777) = 0
mount("/dev/loop0", "./bus", "jfs", 0, "") = 0
openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3
chdir("./bus") = 0
[ 58.693006][ T5093] loop0: detected capacity change from 0 to 32768
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy)
openat(AT_FDCWD, "memory.swap.current", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4
open(".", O_RDONLY) = 5
[ 58.783428][ T5093] ------------[ cut here ]------------
[ 58.789061][ T5093] UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dtree.c:3087:20
[ 58.796894][ T5093] index -1 is out of range for type 'struct dtslot[128]'
[ 58.804205][ T5093] CPU: 1 PID: 5093 Comm: syz-executor416 Not tainted 6.9.0-rc5-next-20240426-syzkaller #0
[ 58.814095][ T5093] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
[ 58.824154][ T5093] Call Trace:
[ 58.827434][ T5093]
[ 58.830707][ T5093] dump_stack_lvl+0x241/0x360
[ 58.835427][ T5093] ? __pfx_dump_stack_lvl+0x10/0x10
[ 58.840618][ T5093] ? __pfx__printk+0x10/0x10
[ 58.845223][ T5093] __ubsan_handle_out_of_bounds+0x121/0x150
[ 58.851122][ T5093] dtReadFirst+0x612/0xbe0
[ 58.855623][ T5093] jfs_readdir+0x81a/0x4660
[ 58.860121][ T5093] ? mark_lock+0x9a/0x350
[ 58.864438][ T5093] ? __lock_acquire+0x1346/0x1fd0
[ 58.869492][ T5093] ? __pfx_jfs_readdir+0x10/0x10
[ 58.874460][ T5093] ? __pfx___down_write_common+0x10/0x10
[ 58.880093][ T5093] ? end_current_label_crit_section+0x14e/0x180
[ 58.886336][ T5093] ? __pfx_jfs_readdir+0x10/0x10
[ 58.891264][ T5093] wrap_directory_iterator+0x94/0xe0
[ 58.896657][ T5093] iterate_dir+0x65e/0x820
[ 58.901065][ T5093] __se_sys_getdents64+0x20d/0x4f0
[ 58.906164][ T5093] ? _raw_spin_unlock_irq+0x2e/0x50
[ 58.911354][ T5093] ? __pfx___se_sys_getdents64+0x10/0x10
[ 58.916979][ T5093] ? __pfx_filldir64+0x10/0x10
[ 58.921729][ T5093] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 58.928041][ T5093] ? do_syscall_64+0x102/0x240
[ 58.932793][ T5093] do_syscall_64+0xf5/0x240
[ 58.937288][ T5093] ? clear_bhb_loop+0x35/0x90
[ 58.941978][ T5093] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 58.947857][ T5093] RIP: 0033:0x7f4472879639
[ 58.952259][ T5093] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
[ 58.971870][ T5093] RSP: 002b:00007ffe125ab3f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
[ 58.980298][ T5093] RAX: ffffffffffffffda RBX: 00007ffe125ab5c8 RCX: 00007f4472879639
[ 58.988262][ T5093] RDX: 0000000000001000 RSI: 0000000020002ec0 RDI: 0000000000000005
[ 58.996245][ T5093] RBP: 00007f44728f2610 R08: 0000000000000000 R09: 00007ffe125ab5c8
[ 59.004503][ T5093] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
[ 59.012466][ T5093] R13: 00007ffe125ab5b8 R14: 0000000000000001 R15: 0000000000000001
[ 59.020438][ T5093]
[ 59.023865][ T5093] ---[ end trace ]---
[ 59.028264][ T5093] Kernel panic - not syncing: UBSAN: panic_on_warn set ...
[ 59.035555][ T5093] CPU: 1 PID: 5093 Comm: syz-executor416 Not tainted 6.9.0-rc5-next-20240426-syzkaller #0
[ 59.045456][ T5093] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
[ 59.055680][ T5093] Call Trace:
[ 59.058962][ T5093]
[ 59.061888][ T5093] dump_stack_lvl+0x241/0x360
[ 59.066573][ T5093] ? __pfx_dump_stack_lvl+0x10/0x10
[ 59.071853][ T5093] ? __pfx__printk+0x10/0x10
[ 59.076523][ T5093] ? vprintk_emit+0x631/0x770
[ 59.081201][ T5093] ? vscnprintf+0x5d/0x90
[ 59.085551][ T5093] panic+0x349/0x860
[ 59.089547][ T5093] ? check_panic_on_warn+0x21/0xb0
[ 59.094935][ T5093] ? __pfx_panic+0x10/0x10
[ 59.099358][ T5093] ? _printk+0xd5/0x120
[ 59.103519][ T5093] ? __pfx__printk+0x10/0x10
[ 59.108201][ T5093] check_panic_on_warn+0x86/0xb0
[ 59.113132][ T5093] __ubsan_handle_out_of_bounds+0x141/0x150
[ 59.119025][ T5093] dtReadFirst+0x612/0xbe0
[ 59.123441][ T5093] jfs_readdir+0x81a/0x4660
[ 59.127943][ T5093] ? mark_lock+0x9a/0x350
[ 59.132268][ T5093] ? __lock_acquire+0x1346/0x1fd0
[ 59.137290][ T5093] ? __pfx_jfs_readdir+0x10/0x10
[ 59.142241][ T5093] ? __pfx___down_write_common+0x10/0x10
[ 59.147902][ T5093] ? end_current_label_crit_section+0x14e/0x180
[ 59.154154][ T5093] ? __pfx_jfs_readdir+0x10/0x10
[ 59.159081][ T5093] wrap_directory_iterator+0x94/0xe0
[ 59.164359][ T5093] iterate_dir+0x65e/0x820
[ 59.168771][ T5093] __se_sys_getdents64+0x20d/0x4f0
[ 59.173872][ T5093] ? _raw_spin_unlock_irq+0x2e/0x50
[ 59.179070][ T5093] ? __pfx___se_sys_getdents64+0x10/0x10
[ 59.184692][ T5093] ? __pfx_filldir64+0x10/0x10
[ 59.189450][ T5093] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 59.195772][ T5093] ? do_syscall_64+0x102/0x240
[ 59.200536][ T5093] do_syscall_64+0xf5/0x240
[ 59.205031][ T5093] ? clear_bhb_loop+0x35/0x90
[ 59.209705][ T5093] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 59.215592][ T5093] RIP: 0033:0x7f4472879639
[ 59.220004][ T5093] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
[ 59.239707][ T5093] RSP: 002b:00007ffe125ab3f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
[ 59.248113][ T5093] RAX: ffffffffffffffda RBX: 00007ffe125ab5c8 RCX: 00007f4472879639
[ 59.256076][ T5093] RDX: 0000000000001000 RSI: 0000000020002ec0 RDI: 0000000000000005
[ 59.264042][ T5093] RBP: 00007f44728f2610 R08: 0000000000000000 R09: 00007ffe125ab5c8
[ 59.272003][ T5093] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
[ 59.279971][ T5093] R13: 00007ffe125ab5b8 R14: 0000000000000001 R15: 0000000000000001
[ 59.287954][ T5093]
[ 59.291059][ T5093] Kernel Offset: disabled
[ 59.295406][ T5093] Rebooting in 86400 seconds..