./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3560166317 <...> Warning: Permanently added '10.128.1.128' (ED25519) to the list of known hosts. execve("./syz-executor3560166317", ["./syz-executor3560166317"], 0x7fff5bbb7580 /* 10 vars */) = 0 brk(NULL) = 0x55556d54a000 brk(0x55556d54ad00) = 0x55556d54ad00 arch_prctl(ARCH_SET_FS, 0x55556d54a380) = 0 set_tid_address(0x55556d54a650) = 5074 set_robust_list(0x55556d54a660, 24) = 0 rseq(0x55556d54aca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3560166317", 4096) = 28 getrandom("\x20\x6a\xb7\x1f\x03\x17\x24\x75", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556d54ad00 brk(0x55556d56bd00) = 0x55556d56bd00 brk(0x55556d56c000) = 0x55556d56c000 mprotect(0x7f34717fa000, 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) = 0x7f3469200000 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(0x7f3469200000, 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 syzkaller login: [ 72.462373][ T5074] 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 [ 72.562488][ T5074] ------------[ cut here ]------------ [ 72.568095][ T5074] UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dtree.c:3087:20 [ 72.576023][ T5074] index -1 is out of range for type 'struct dtslot[128]' [ 72.583202][ T5074] CPU: 0 PID: 5074 Comm: syz-executor356 Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 [ 72.593649][ T5074] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 72.603758][ T5074] Call Trace: [ 72.607072][ T5074] [ 72.610018][ T5074] dump_stack_lvl+0x241/0x360 [ 72.614751][ T5074] ? __pfx_dump_stack_lvl+0x10/0x10 [ 72.620427][ T5074] ? __pfx__printk+0x10/0x10 [ 72.625054][ T5074] __ubsan_handle_out_of_bounds+0x121/0x150 [ 72.630996][ T5074] dtReadFirst+0x612/0xbe0 [ 72.635440][ T5074] jfs_readdir+0x81a/0x4660 [ 72.639997][ T5074] ? mark_lock+0x9a/0x350 [ 72.644343][ T5074] ? __lock_acquire+0x1346/0x1fd0 [ 72.649385][ T5074] ? __pfx_jfs_readdir+0x10/0x10 [ 72.654361][ T5074] ? __pfx___down_write_common+0x10/0x10 [ 72.660023][ T5074] ? __pfx___mutex_lock+0x10/0x10 [ 72.665080][ T5074] ? __pfx_jfs_readdir+0x10/0x10 [ 72.670027][ T5074] wrap_directory_iterator+0x94/0xe0 [ 72.675331][ T5074] iterate_dir+0x539/0x6f0 [ 72.679766][ T5074] __se_sys_getdents64+0x20d/0x4f0 [ 72.684891][ T5074] ? _raw_spin_unlock_irq+0x2e/0x50 [ 72.690112][ T5074] ? __pfx___se_sys_getdents64+0x10/0x10 [ 72.695753][ T5074] ? __pfx_filldir64+0x10/0x10 [ 72.700533][ T5074] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 72.706875][ T5074] ? do_syscall_64+0x102/0x240 [ 72.711679][ T5074] do_syscall_64+0xf5/0x240 [ 72.716205][ T5074] ? clear_bhb_loop+0x35/0x90 [ 72.720899][ T5074] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 72.726833][ T5074] RIP: 0033:0x7f3471781639 [ 72.731273][ T5074] 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 [ 72.751018][ T5074] RSP: 002b:00007ffcff008118 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 72.759543][ T5074] RAX: ffffffffffffffda RBX: 00007ffcff0082e8 RCX: 00007f3471781639 [ 72.767545][ T5074] RDX: 0000000000001000 RSI: 0000000020002ec0 RDI: 0000000000000005 [ 72.775570][ T5074] RBP: 00007f34717fa610 R08: 0000000000000000 R09: 00007ffcff0082e8 [ 72.783579][ T5074] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 72.791574][ T5074] R13: 00007ffcff0082d8 R14: 0000000000000001 R15: 0000000000000001 [ 72.799578][ T5074] [ 72.802909][ T5074] ---[ end trace ]--- [ 72.806932][ T5074] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 72.814152][ T5074] CPU: 1 PID: 5074 Comm: syz-executor356 Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 [ 72.824713][ T5074] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 72.834765][ T5074] Call Trace: [ 72.838063][ T5074] [ 72.841161][ T5074] dump_stack_lvl+0x241/0x360 [ 72.845861][ T5074] ? __pfx_dump_stack_lvl+0x10/0x10 [ 72.851085][ T5074] ? __pfx__printk+0x10/0x10 [ 72.855691][ T5074] ? vprintk_emit+0x631/0x770 [ 72.860383][ T5074] ? vscnprintf+0x5d/0x90 [ 72.864717][ T5074] panic+0x349/0x860 [ 72.868624][ T5074] ? check_panic_on_warn+0x21/0xb0 [ 72.873744][ T5074] ? __pfx_panic+0x10/0x10 [ 72.878177][ T5074] ? _printk+0xd5/0x120 [ 72.882425][ T5074] ? __pfx__printk+0x10/0x10 [ 72.887038][ T5074] check_panic_on_warn+0x86/0xb0 [ 72.891989][ T5074] __ubsan_handle_out_of_bounds+0x141/0x150 [ 72.897888][ T5074] dtReadFirst+0x612/0xbe0 [ 72.902337][ T5074] jfs_readdir+0x81a/0x4660 [ 72.906845][ T5074] ? mark_lock+0x9a/0x350 [ 72.911179][ T5074] ? __lock_acquire+0x1346/0x1fd0 [ 72.916208][ T5074] ? __pfx_jfs_readdir+0x10/0x10 [ 72.921181][ T5074] ? __pfx___down_write_common+0x10/0x10 [ 72.926835][ T5074] ? __pfx___mutex_lock+0x10/0x10 [ 72.931877][ T5074] ? __pfx_jfs_readdir+0x10/0x10 [ 72.936829][ T5074] wrap_directory_iterator+0x94/0xe0 [ 72.942126][ T5074] iterate_dir+0x539/0x6f0 [ 72.946546][ T5074] __se_sys_getdents64+0x20d/0x4f0 [ 72.951660][ T5074] ? _raw_spin_unlock_irq+0x2e/0x50 [ 72.956865][ T5074] ? __pfx___se_sys_getdents64+0x10/0x10 [ 72.962494][ T5074] ? __pfx_filldir64+0x10/0x10 [ 72.967260][ T5074] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 72.973598][ T5074] ? do_syscall_64+0x102/0x240 [ 72.978370][ T5074] do_syscall_64+0xf5/0x240 [ 72.982877][ T5074] ? clear_bhb_loop+0x35/0x90 [ 72.987555][ T5074] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 72.993464][ T5074] RIP: 0033:0x7f3471781639 [ 72.997878][ T5074] 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 [ 73.017488][ T5074] RSP: 002b:00007ffcff008118 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 73.025904][ T5074] RAX: ffffffffffffffda RBX: 00007ffcff0082e8 RCX: 00007f3471781639 [ 73.033895][ T5074] RDX: 0000000000001000 RSI: 0000000020002ec0 RDI: 0000000000000005 [ 73.041888][ T5074] RBP: 00007f34717fa610 R08: 0000000000000000 R09: 00007ffcff0082e8 [ 73.049857][ T5074] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 73.057820][ T5074] R13: 00007ffcff0082d8 R14: 0000000000000001 R15: 0000000000000001 [ 73.065799][ T5074] [ 73.068970][ T5074] Kernel Offset: disabled [ 73.073378][ T5074] Rebooting in 86400 seconds..