./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1314624054 <...> DUID 00:04:d6:b0:09:ff:72:32:c6:5d:c0:56:b1:2d:70:06:fa:56 forked to background, child pid 4662 [ 38.720226][ T4663] 8021q: adding VLAN 0 to HW filter on device bond0 [ 38.743913][ T4663] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.160' (ECDSA) to the list of known hosts. execve("./syz-executor1314624054", ["./syz-executor1314624054"], 0x7ffd721748e0 /* 10 vars */) = 0 brk(NULL) = 0x555556c20000 brk(0x555556c20c40) = 0x555556c20c40 arch_prctl(ARCH_SET_FS, 0x555556c20300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor1314624054", 4096) = 28 brk(0x555556c41c40) = 0x555556c41c40 brk(0x555556c42000) = 0x555556c42000 mprotect(0x7fca93a9d000, 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) = 0x7fca8b5de000 syzkaller login: [ 65.431136][ T4997] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4997 'syz-executor131' 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(0x7fca8b5de000, 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", 0, "discard=0x0000000000000004,noquota,iocharset=koi8-ru,") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 open(".", O_RDONLY) = 4 [ 65.611323][ T4997] loop0: detected capacity change from 0 to 32768 [ 65.644621][ T4997] ================================================================================ [ 65.654419][ T4997] UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2942:16 [ 65.662809][ T4997] index 1381 is out of range for type 's8[1365]' (aka 'signed char[1365]') [ 65.671572][ T4997] CPU: 1 PID: 4997 Comm: syz-executor131 Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0 [ 65.682023][ T4997] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 65.692111][ T4997] Call Trace: [ 65.695409][ T4997] [ 65.698358][ T4997] dump_stack_lvl+0x1e7/0x2d0 [ 65.703072][ T4997] ? nf_tcp_handle_invalid+0x650/0x650 [ 65.708548][ T4997] ? panic+0x770/0x770 [ 65.712638][ T4997] __ubsan_handle_out_of_bounds+0x11c/0x150 [ 65.718548][ T4997] dbFindLeaf+0x2f3/0x430 [ 65.722894][ T4997] dbAllocDmapLev+0xce/0x430 [ 65.727504][ T4997] ? dbAllocNear+0x390/0x390 [ 65.732114][ T4997] dbAllocCtl+0x113/0x920 [ 65.736460][ T4997] dbAllocAG+0x28f/0x10b0 [ 65.740795][ T4997] ? __x64_sys_mkdirat+0x89/0xa0 [ 65.745742][ T4997] ? __might_sleep+0xc0/0xc0 [ 65.750341][ T4997] ? __down_write_common+0x161/0x200 [ 65.755634][ T4997] ? dbAllocDmapLev+0x430/0x430 [ 65.760572][ T4997] dbAlloc+0x658/0xca0 [ 65.764757][ T4997] ? dbNextAG+0x630/0x630 [ 65.769108][ T4997] dtInsert+0xda7/0x6b00 [ 65.773391][ T4997] ? __lock_acquire+0x1316/0x2070 [ 65.778452][ T4997] ? UniStrupr+0x2c0/0x2c0 [ 65.782926][ T4997] ? read_lock_is_recursive+0x20/0x20 [ 65.788318][ T4997] ? txLock+0x251/0x1fb0 [ 65.792585][ T4997] ? __lock_acquire+0x2070/0x2070 [ 65.797625][ T4997] ? do_raw_spin_lock+0x14d/0x3a0 [ 65.802679][ T4997] ? do_raw_spin_unlock+0x13b/0x8b0 [ 65.807925][ T4997] ? dtInitRoot+0x234/0x690 [ 65.812446][ T4997] jfs_mkdir+0x7f7/0xbb0 [ 65.816721][ T4997] ? jfs_symlink+0x10f0/0x10f0 [ 65.821520][ T4997] ? generic_permission+0x1df/0x550 [ 65.826737][ T4997] ? bpf_lsm_inode_mkdir+0x9/0x10 [ 65.831773][ T4997] ? security_inode_mkdir+0xb8/0x100 [ 65.837089][ T4997] vfs_mkdir+0x29d/0x450 [ 65.841365][ T4997] do_mkdirat+0x264/0x520 [ 65.845715][ T4997] ? vfs_mkdir+0x450/0x450 [ 65.850232][ T4997] ? getname_flags+0x1f0/0x4e0 [ 65.855010][ T4997] __x64_sys_mkdirat+0x89/0xa0 [ 65.859788][ T4997] do_syscall_64+0x41/0xc0 [ 65.864216][ T4997] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 65.870120][ T4997] RIP: 0033:0x7fca93a2ab49 [ 65.874544][ T4997] 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 [ 65.894161][ T4997] RSP: 002b:00007ffe92301738 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 65.902585][ T4997] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fca93a2ab49 [ 65.910563][ T4997] RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000004 [ 65.918540][ T4997] RBP: 00007fca939ea150 R08: 0000000000000000 R09: 0000000000000000 [ 65.926516][ T4997] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fca939ea1e0 [ 65.934514][ T4997] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 65.942506][ T4997] [ 65.945772][ T4997] ================================================================================ [ 65.955195][ T4997] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 65.962410][ T4997] CPU: 0 PID: 4997 Comm: syz-executor131 Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0 [ 65.972860][ T4997] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 65.982929][ T4997] Call Trace: [ 65.986215][ T4997] [ 65.989159][ T4997] dump_stack_lvl+0x1e7/0x2d0 [ 65.993852][ T4997] ? nf_tcp_handle_invalid+0x650/0x650 [ 65.999325][ T4997] ? panic+0x770/0x770 [ 66.003422][ T4997] ? vscnprintf+0x5d/0x80 [ 66.007775][ T4997] panic+0x30f/0x770 [ 66.011689][ T4997] ? check_panic_on_warn+0x21/0xa0 [ 66.016823][ T4997] ? __memcpy_flushcache+0x2b0/0x2b0 [ 66.022130][ T4997] ? dump_stack_lvl+0x253/0x2d0 [ 66.027023][ T4997] check_panic_on_warn+0x82/0xa0 [ 66.031987][ T4997] __ubsan_handle_out_of_bounds+0x13c/0x150 [ 66.037990][ T4997] dbFindLeaf+0x2f3/0x430 [ 66.042335][ T4997] dbAllocDmapLev+0xce/0x430 [ 66.046961][ T4997] ? dbAllocNear+0x390/0x390 [ 66.051573][ T4997] dbAllocCtl+0x113/0x920 [ 66.055940][ T4997] dbAllocAG+0x28f/0x10b0 [ 66.060286][ T4997] ? __x64_sys_mkdirat+0x89/0xa0 [ 66.065236][ T4997] ? __might_sleep+0xc0/0xc0 [ 66.069845][ T4997] ? __down_write_common+0x161/0x200 [ 66.075144][ T4997] ? dbAllocDmapLev+0x430/0x430 [ 66.080017][ T4997] dbAlloc+0x658/0xca0 [ 66.084108][ T4997] ? dbNextAG+0x630/0x630 [ 66.088471][ T4997] dtInsert+0xda7/0x6b00 [ 66.092765][ T4997] ? __lock_acquire+0x1316/0x2070 [ 66.097823][ T4997] ? UniStrupr+0x2c0/0x2c0 [ 66.102284][ T4997] ? read_lock_is_recursive+0x20/0x20 [ 66.107674][ T4997] ? txLock+0x251/0x1fb0 [ 66.111935][ T4997] ? __lock_acquire+0x2070/0x2070 [ 66.116975][ T4997] ? do_raw_spin_lock+0x14d/0x3a0 [ 66.122027][ T4997] ? do_raw_spin_unlock+0x13b/0x8b0 [ 66.127261][ T4997] ? dtInitRoot+0x234/0x690 [ 66.131780][ T4997] jfs_mkdir+0x7f7/0xbb0 [ 66.136044][ T4997] ? jfs_symlink+0x10f0/0x10f0 [ 66.140841][ T4997] ? generic_permission+0x1df/0x550 [ 66.146069][ T4997] ? bpf_lsm_inode_mkdir+0x9/0x10 [ 66.151100][ T4997] ? security_inode_mkdir+0xb8/0x100 [ 66.156405][ T4997] vfs_mkdir+0x29d/0x450 [ 66.160673][ T4997] do_mkdirat+0x264/0x520 [ 66.165017][ T4997] ? vfs_mkdir+0x450/0x450 [ 66.169444][ T4997] ? getname_flags+0x1f0/0x4e0 [ 66.174223][ T4997] __x64_sys_mkdirat+0x89/0xa0 [ 66.179000][ T4997] do_syscall_64+0x41/0xc0 [ 66.183430][ T4997] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 66.189446][ T4997] RIP: 0033:0x7fca93a2ab49 [ 66.193872][ T4997] 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 [ 66.213679][ T4997] RSP: 002b:00007ffe92301738 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 66.222106][ T4997] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fca93a2ab49 [ 66.230086][ T4997] RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000004 [ 66.238063][ T4997] RBP: 00007fca939ea150 R08: 0000000000000000 R09: 0000000000000000 [ 66.246042][ T4997] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fca939ea1e0 [ 66.254025][ T4997] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 66.262020][ T4997] [ 66.265399][ T4997] Kernel Offset: disabled [ 66.269814][ T4997] Rebooting in 86400 seconds..