./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3231461055 <...> Warning: Permanently added '10.128.0.123' (ECDSA) to the list of known hosts. execve("./syz-executor3231461055", ["./syz-executor3231461055"], 0x7ffcc7592320 /* 10 vars */) = 0 brk(NULL) = 0x5555555ad000 brk(0x5555555adc40) = 0x5555555adc40 arch_prctl(ARCH_SET_FS, 0x5555555ad300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor3231461055", 4096) = 28 brk(0x5555555cec40) = 0x5555555cec40 brk(0x5555555cf000) = 0x5555555cf000 mprotect(0x7fb312809000, 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) = 0x7fb30a34a000 syzkaller login: [ 55.870279][ T4992] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4992 'syz-executor323' 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(0x7fb30a34a000, 16777216) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 mount("/dev/loop0", "./file0", "jfs", MS_SYNCHRONOUS|MS_NODIRATIME|MS_RELATIME|MS_LAZYTIME, "") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 open("./bus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_SYNC|O_LARGEFILE|O_NOFOLLOW|O_NOATIME|FASYNC|0x3c, 000) = 4 [ 56.013508][ T4992] loop0: detected capacity change from 0 to 32768 [ 56.219286][ T4992] ================================================================================ [ 56.228732][ T4992] UBSAN: shift-out-of-bounds in fs/jfs/jfs_extent.c:314:16 [ 56.235956][ T4992] shift exponent -1 is negative [ 56.240806][ T4992] CPU: 1 PID: 4992 Comm: syz-executor323 Not tainted 6.4.0-rc4-syzkaller-00265-g4ecd704a4c51 #0 [ 56.251199][ T4992] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 56.261237][ T4992] Call Trace: [ 56.264501][ T4992] [ 56.267416][ T4992] dump_stack_lvl+0x1e7/0x2d0 [ 56.272100][ T4992] ? nf_tcp_handle_invalid+0x650/0x650 [ 56.277548][ T4992] ? panic+0x770/0x770 [ 56.281600][ T4992] ? extAlloc+0x10a/0x1010 [ 56.286001][ T4992] __ubsan_handle_shift_out_of_bounds+0x3c3/0x420 [ 56.292415][ T4992] ? do_raw_spin_unlock+0x13b/0x8b0 [ 56.297618][ T4992] extAlloc+0xe53/0x1010 [ 56.301867][ T4992] ? jfs_ioc_trim+0x660/0x660 [ 56.306538][ T4992] ? clear_nonspinnable+0x60/0x60 [ 56.311561][ T4992] jfs_get_block+0x41b/0xe60 [ 56.316148][ T4992] ? jfs_dirty_inode+0x240/0x240 [ 56.321079][ T4992] ? _raw_spin_unlock+0x28/0x40 [ 56.325921][ T4992] ? folio_create_buffers+0x132/0x250 [ 56.331284][ T4992] __block_write_begin_int+0x548/0x1a50 [ 56.336834][ T4992] ? jfs_dirty_inode+0x240/0x240 [ 56.341766][ T4992] ? PageUptodate+0x290/0x290 [ 56.346449][ T4992] ? folio_test_hugetlb+0xa0/0x1d0 [ 56.351552][ T4992] ? pagecache_get_page+0xeb/0x220 [ 56.356652][ T4992] ? jfs_dirty_inode+0x240/0x240 [ 56.361580][ T4992] block_write_begin+0x9c/0x1f0 [ 56.366417][ T4992] ? jfs_write_begin+0x1a/0x70 [ 56.371172][ T4992] jfs_write_begin+0x31/0x70 [ 56.375755][ T4992] generic_perform_write+0x300/0x5e0 [ 56.381043][ T4992] ? generic_file_direct_write+0x460/0x460 [ 56.386838][ T4992] ? __file_remove_privs+0x640/0x640 [ 56.392120][ T4992] ? generic_write_checks+0x160/0x1c0 [ 56.397485][ T4992] __generic_file_write_iter+0x17a/0x400 [ 56.403115][ T4992] generic_file_write_iter+0xaf/0x310 [ 56.408479][ T4992] vfs_write+0x790/0xb20 [ 56.412723][ T4992] ? file_end_write+0x250/0x250 [ 56.417575][ T4992] ? lockdep_hardirqs_on+0x98/0x140 [ 56.422767][ T4992] ? __fdget_pos+0x265/0x2f0 [ 56.427348][ T4992] ksys_write+0x1a0/0x2c0 [ 56.431673][ T4992] ? __ia32_sys_read+0x90/0x90 [ 56.436431][ T4992] ? syscall_enter_from_user_mode+0x32/0x230 [ 56.442405][ T4992] ? syscall_enter_from_user_mode+0x8c/0x230 [ 56.448375][ T4992] do_syscall_64+0x41/0xc0 [ 56.452783][ T4992] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 56.458666][ T4992] RIP: 0033:0x7fb312796839 [ 56.463070][ T4992] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 56.482668][ T4992] RSP: 002b:00007ffff0fe8c98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 56.491070][ T4992] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb312796839 [ 56.499034][ T4992] RDX: 00000000200000c7 RSI: 00000000200000c0 RDI: 0000000000000004 [ 56.506994][ T4992] RBP: 00007fb3127560d0 R08: 0000000000000000 R09: 0000000000000000 [ 56.514956][ T4992] R10: 0000000000005eac R11: 0000000000000246 R12: 00007fb312756160 [ 56.522915][ T4992] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 56.530888][ T4992] [ 56.534388][ T4992] ================================================================================ [ 56.543756][ T4992] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 56.550932][ T4992] CPU: 0 PID: 4992 Comm: syz-executor323 Not tainted 6.4.0-rc4-syzkaller-00265-g4ecd704a4c51 #0 [ 56.561320][ T4992] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 56.571357][ T4992] Call Trace: [ 56.574619][ T4992] [ 56.577532][ T4992] dump_stack_lvl+0x1e7/0x2d0 [ 56.582199][ T4992] ? nf_tcp_handle_invalid+0x650/0x650 [ 56.587641][ T4992] ? panic+0x770/0x770 [ 56.591692][ T4992] ? vscnprintf+0x5d/0x80 [ 56.596008][ T4992] panic+0x30f/0x770 [ 56.599888][ T4992] ? check_panic_on_warn+0x21/0xa0 [ 56.604985][ T4992] ? __memcpy_flushcache+0x2b0/0x2b0 [ 56.610249][ T4992] ? dump_stack_lvl+0x253/0x2d0 [ 56.615091][ T4992] check_panic_on_warn+0x82/0xa0 [ 56.620010][ T4992] __ubsan_handle_shift_out_of_bounds+0x3e2/0x420 [ 56.626411][ T4992] ? do_raw_spin_unlock+0x13b/0x8b0 [ 56.631599][ T4992] extAlloc+0xe53/0x1010 [ 56.635831][ T4992] ? jfs_ioc_trim+0x660/0x660 [ 56.640489][ T4992] ? clear_nonspinnable+0x60/0x60 [ 56.645501][ T4992] jfs_get_block+0x41b/0xe60 [ 56.650074][ T4992] ? jfs_dirty_inode+0x240/0x240 [ 56.655002][ T4992] ? _raw_spin_unlock+0x28/0x40 [ 56.659845][ T4992] ? folio_create_buffers+0x132/0x250 [ 56.665212][ T4992] __block_write_begin_int+0x548/0x1a50 [ 56.670766][ T4992] ? jfs_dirty_inode+0x240/0x240 [ 56.675692][ T4992] ? PageUptodate+0x290/0x290 [ 56.680357][ T4992] ? folio_test_hugetlb+0xa0/0x1d0 [ 56.685461][ T4992] ? pagecache_get_page+0xeb/0x220 [ 56.690562][ T4992] ? jfs_dirty_inode+0x240/0x240 [ 56.695494][ T4992] block_write_begin+0x9c/0x1f0 [ 56.700351][ T4992] ? jfs_write_begin+0x1a/0x70 [ 56.705120][ T4992] jfs_write_begin+0x31/0x70 [ 56.709709][ T4992] generic_perform_write+0x300/0x5e0 [ 56.715007][ T4992] ? generic_file_direct_write+0x460/0x460 [ 56.720813][ T4992] ? __file_remove_privs+0x640/0x640 [ 56.726100][ T4992] ? generic_write_checks+0x160/0x1c0 [ 56.731468][ T4992] __generic_file_write_iter+0x17a/0x400 [ 56.737098][ T4992] generic_file_write_iter+0xaf/0x310 [ 56.742464][ T4992] vfs_write+0x790/0xb20 [ 56.746707][ T4992] ? file_end_write+0x250/0x250 [ 56.751560][ T4992] ? lockdep_hardirqs_on+0x98/0x140 [ 56.756751][ T4992] ? __fdget_pos+0x265/0x2f0 [ 56.761332][ T4992] ksys_write+0x1a0/0x2c0 [ 56.765660][ T4992] ? __ia32_sys_read+0x90/0x90 [ 56.770417][ T4992] ? syscall_enter_from_user_mode+0x32/0x230 [ 56.776390][ T4992] ? syscall_enter_from_user_mode+0x8c/0x230 [ 56.782362][ T4992] do_syscall_64+0x41/0xc0 [ 56.786773][ T4992] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 56.792655][ T4992] RIP: 0033:0x7fb312796839 [ 56.797061][ T4992] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 56.816654][ T4992] RSP: 002b:00007ffff0fe8c98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 56.825060][ T4992] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb312796839 [ 56.833020][ T4992] RDX: 00000000200000c7 RSI: 00000000200000c0 RDI: 0000000000000004 [ 56.840979][ T4992] RBP: 00007fb3127560d0 R08: 0000000000000000 R09: 0000000000000000 [ 56.848936][ T4992] R10: 0000000000005eac R11: 0000000000000246 R12: 00007fb312756160 [ 56.856896][ T4992] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 56.864865][ T4992] [ 56.868013][ T4992] Kernel Offset: disabled [ 56.872399][ T4992] Rebooting in 86400 seconds..