./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1110112910 <...> Warning: Permanently added '10.128.1.131' (ED25519) to the list of known hosts. execve("./syz-executor1110112910", ["./syz-executor1110112910"], 0x7fff99f39a60 /* 10 vars */) = 0 brk(NULL) = 0x555556b49000 brk(0x555556b49d00) = 0x555556b49d00 arch_prctl(ARCH_SET_FS, 0x555556b49380) = 0 set_tid_address(0x555556b49650) = 5020 set_robust_list(0x555556b49660, 24) = 0 rseq(0x555556b49ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1110112910", 4096) = 28 getrandom("\x03\xa8\x24\x12\x3a\xec\x8b\xe4", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555556b49d00 brk(0x555556b6ad00) = 0x555556b6ad00 brk(0x555556b6b000) = 0x555556b6b000 mprotect(0x7fd38e3a4000, 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) = 0x7fd385eed000 [ 41.372485][ T5020] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5020 'syz-executor111' 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(0x7fd385eed000, 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_NOSUID|MS_NODIRATIME|MS_STRICTATIME, "") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 openat(AT_FDCWD, "./file2", O_RDWR|O_CREAT|O_SYNC|O_LARGEFILE|O_NOATIME|FASYNC, 000) = 4 [ 41.489796][ T5020] loop0: detected capacity change from 0 to 32768 [ 41.649715][ T5020] BUG at fs/jfs/jfs_dmap.c:2958 assert(n < 4) [ 41.656007][ T5020] ------------[ cut here ]------------ [ 41.661500][ T5020] kernel BUG at fs/jfs/jfs_dmap.c:2958! [ 41.667079][ T5020] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 41.673129][ T5020] CPU: 1 PID: 5020 Comm: syz-executor111 Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de #0 [ 41.683508][ T5020] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 41.693538][ T5020] RIP: 0010:dbFindLeaf+0x14e/0x240 [ 41.698642][ T5020] Code: fe 83 fb 04 75 8c e8 21 74 93 fe 48 c7 c1 80 f8 a9 8a ba 8e 0b 00 00 48 c7 c6 c0 f6 a9 8a 48 c7 c7 00 f7 a9 8a e8 a2 d6 76 fe <0f> 0b e8 fb 73 93 fe 46 8d 34 ad 01 00 00 00 31 ff 83 6c 24 04 01 [ 41.718222][ T5020] RSP: 0018:ffffc90003a4f2e8 EFLAGS: 00010282 [ 41.724260][ T5020] RAX: 000000000000002b RBX: 0000000000000004 RCX: 0000000000000000 [ 41.732207][ T5020] RDX: 0000000000000000 RSI: ffffffff816a0060 RDI: 0000000000000005 [ 41.740152][ T5020] RBP: ffff888029b66010 R08: 0000000000000005 R09: 0000000000000000 [ 41.748103][ T5020] R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 [ 41.756059][ T5020] R13: 0000000000000014 R14: 0000000000000011 R15: 00000000ffffffff [ 41.764015][ T5020] FS: 0000555556b49380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 41.772929][ T5020] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.779500][ T5020] CR2: 0000000020ea0000 CR3: 000000007894f000 CR4: 0000000000350ee0 [ 41.787544][ T5020] Call Trace: [ 41.790809][ T5020] [ 41.793722][ T5020] ? die+0x31/0x80 [ 41.797434][ T5020] ? do_trap+0x1ab/0x3b0 [ 41.801755][ T5020] ? dbFindLeaf+0x14e/0x240 [ 41.806249][ T5020] ? do_error_trap+0x9e/0x160 [ 41.810916][ T5020] ? dbFindLeaf+0x14e/0x240 [ 41.815411][ T5020] ? handle_invalid_op+0x2c/0x30 [ 41.820341][ T5020] ? dbFindLeaf+0x14e/0x240 [ 41.824918][ T5020] ? exc_invalid_op+0x2d/0x40 [ 41.829590][ T5020] ? asm_exc_invalid_op+0x1a/0x20 [ 41.834604][ T5020] ? vprintk+0x90/0xa0 [ 41.838669][ T5020] ? dbFindLeaf+0x14e/0x240 [ 41.843164][ T5020] ? dbFindLeaf+0x14e/0x240 [ 41.847662][ T5020] dbAllocDmapLev+0xaa/0x2f0 [ 41.852244][ T5020] ? folio_flags.constprop.0+0x56/0x150 [ 41.857783][ T5020] ? dbAllocNext+0x410/0x410 [ 41.862444][ T5020] ? folio_unlock+0x7d/0xd0 [ 41.866937][ T5020] ? __get_metapage+0x522/0x1170 [ 41.871858][ T5020] dbAllocCtl+0x12c/0x7b0 [ 41.876179][ T5020] dbAllocAG+0x8c5/0xd20 [ 41.880415][ T5020] ? preempt_count_sub+0x150/0x150 [ 41.885606][ T5020] ? dbAllocCtl+0x7b0/0x7b0 [ 41.890099][ T5020] dbAlloc+0x415/0xaa0 [ 41.894157][ T5020] extAlloc+0x4ed/0xed0 [ 41.898306][ T5020] ? jfs_ioc_trim+0x5c0/0x5c0 [ 41.903059][ T5020] ? down_write_nested+0x153/0x200 [ 41.908244][ T5020] ? find_held_lock+0x2d/0x110 [ 41.912995][ T5020] jfs_get_block+0x428/0xb20 [ 41.917572][ T5020] ? jfs_read_folio+0x20/0x20 [ 41.922324][ T5020] ? folio_flags.constprop.0+0x56/0x150 [ 41.927858][ T5020] ? do_raw_spin_unlock+0x173/0x230 [ 41.933044][ T5020] ? _raw_spin_unlock+0x28/0x40 [ 41.937970][ T5020] ? jfs_read_folio+0x20/0x20 [ 41.942630][ T5020] __block_write_begin_int+0x3c0/0x1470 [ 41.948246][ T5020] ? jfs_read_folio+0x20/0x20 [ 41.952912][ T5020] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 41.958438][ T5020] ? __filemap_get_folio+0x1e7/0x990 [ 41.963794][ T5020] block_write_begin+0xb1/0x490 [ 41.968629][ T5020] ? jfs_read_folio+0x20/0x20 [ 41.973291][ T5020] jfs_write_begin+0x31/0xd0 [ 41.977865][ T5020] generic_perform_write+0x278/0x600 [ 41.983143][ T5020] ? __mnt_drop_write_file+0x45/0xf0 [ 41.988498][ T5020] ? folio_add_wait_queue+0x1c0/0x1c0 [ 41.993860][ T5020] ? new_inode+0x260/0x260 [ 41.998263][ T5020] ? generic_write_checks_count+0x2d0/0x2d0 [ 42.004226][ T5020] __generic_file_write_iter+0x1f9/0x240 [ 42.009841][ T5020] generic_file_write_iter+0xe3/0x350 [ 42.015194][ T5020] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 42.021164][ T5020] do_iter_readv_writev+0x21e/0x3c0 [ 42.026355][ T5020] ? generic_copy_file_range+0x1d0/0x1d0 [ 42.032061][ T5020] ? bpf_lsm_file_permission+0x9/0x10 [ 42.037414][ T5020] ? security_file_permission+0x94/0x100 [ 42.043126][ T5020] do_iter_write+0x17f/0x830 [ 42.047708][ T5020] vfs_writev+0x221/0x700 [ 42.052028][ T5020] ? lock_acquire+0x1ae/0x510 [ 42.056691][ T5020] ? vfs_iter_write+0xb0/0xb0 [ 42.061356][ T5020] ? ptrace_stop.part.0+0x4b4/0x8f0 [ 42.066543][ T5020] ? spin_bug+0x1d0/0x1d0 [ 42.070864][ T5020] ? cgroup_update_frozen+0x144/0x6b0 [ 42.076228][ T5020] ? find_held_lock+0x2d/0x110 [ 42.080978][ T5020] ? do_pwritev+0x1af/0x260 [ 42.085473][ T5020] do_pwritev+0x1af/0x260 [ 42.089792][ T5020] ? do_writev+0x370/0x370 [ 42.094197][ T5020] ? _raw_spin_unlock_irq+0x23/0x50 [ 42.099395][ T5020] ? lockdep_hardirqs_on+0x7d/0x100 [ 42.104688][ T5020] __x64_sys_pwritev2+0xef/0x150 [ 42.109623][ T5020] do_syscall_64+0x38/0xb0 [ 42.114023][ T5020] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 42.119901][ T5020] RIP: 0033:0x7fd38e32b139 [ 42.124296][ T5020] 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 [ 42.143910][ T5020] RSP: 002b:00007ffff6d023c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 [ 42.152309][ T5020] RAX: ffffffffffffffda RBX: 00007ffff6d025a8 RCX: 00007fd38e32b139 [ 42.160261][ T5020] RDX: 0000000000000001 RSI: 0000000020000100 RDI: 0000000000000004 [ 42.168212][ T5020] RBP: 00007fd38e3a4610 R08: 0000000000000000 R09: 0000000000000000 [ 42.176163][ T5020] R10: 0000000000005405 R11: 0000000000000246 R12: 0000000000000001 [ 42.184209][ T5020] R13: 00007ffff6d02598 R14: 0000000000000001 R15: 0000000000000001 [ 42.192168][ T5020] [ 42.195165][ T5020] Modules linked in: [ 42.199188][ T5020] ---[ end trace 0000000000000000 ]--- [ 42.204732][ T5020] RIP: 0010:dbFindLeaf+0x14e/0x240 [ 42.209889][ T5020] Code: fe 83 fb 04 75 8c e8 21 74 93 fe 48 c7 c1 80 f8 a9 8a ba 8e 0b 00 00 48 c7 c6 c0 f6 a9 8a 48 c7 c7 00 f7 a9 8a e8 a2 d6 76 fe <0f> 0b e8 fb 73 93 fe 46 8d 34 ad 01 00 00 00 31 ff 83 6c 24 04 01 [ 42.229539][ T5020] RSP: 0018:ffffc90003a4f2e8 EFLAGS: 00010282 [ 42.235602][ T5020] RAX: 000000000000002b RBX: 0000000000000004 RCX: 0000000000000000 [ 42.243586][ T5020] RDX: 0000000000000000 RSI: ffffffff816a0060 RDI: 0000000000000005 [ 42.251583][ T5020] RBP: ffff888029b66010 R08: 0000000000000005 R09: 0000000000000000 [ 42.259573][ T5020] R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 [ 42.267558][ T5020] R13: 0000000000000014 R14: 0000000000000011 R15: 00000000ffffffff [ 42.275518][ T5020] FS: 0000555556b49380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 42.284542][ T5020] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.291140][ T5020] CR2: 0000000020ea0000 CR3: 000000007894f000 CR4: 0000000000350ee0 [ 42.299144][ T5020] Kernel panic - not syncing: Fatal exception [ 42.306214][ T5020] Kernel Offset: disabled [ 42.310517][ T5020] Rebooting in 86400 seconds..