./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3673362821 <...> Warning: Permanently added '10.128.0.239' (ED25519) to the list of known hosts. execve("./syz-executor3673362821", ["./syz-executor3673362821"], 0x7fff754a72f0 /* 10 vars */) = 0 brk(NULL) = 0x55555a8b4000 brk(0x55555a8b4d00) = 0x55555a8b4d00 arch_prctl(ARCH_SET_FS, 0x55555a8b4380) = 0 set_tid_address(0x55555a8b4650) = 5078 set_robust_list(0x55555a8b4660, 24) = 0 rseq(0x55555a8b4ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3673362821", 4096) = 28 getrandom("\xb1\xca\xd1\x00\xe8\x1f\x84\xed", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555a8b4d00 brk(0x55555a8d5d00) = 0x55555a8d5d00 brk(0x55555a8d6000) = 0x55555a8d6000 mprotect(0x7f7bfb5b7000, 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 executing program write(1, "executing program\n", 18) = 18 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7bf3000000 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(0x7f7bf3000000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./file0", 0777) = 0 mount("/dev/loop0", "./file0", "jfs", MS_NODIRATIME, "errors=continue,discard=0x0000000000000004,uid=0x0000000000000000,iocharset=cp857,noquota,uid=0x0000"...) = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) syzkaller login: [ 59.051001][ T5078] loop0: detected capacity change from 0 to 32768 openat(AT_FDCWD, "cpuacct.usage_user", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [ 59.117618][ T5078] BUG at fs/jfs/jfs_dmap.c:3028 assert(bitno < 32) [ 59.124388][ T5078] ------------[ cut here ]------------ [ 59.130086][ T5078] kernel BUG at fs/jfs/jfs_dmap.c:3028! [ 59.135699][ T5078] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 59.143211][ T5078] CPU: 0 PID: 5078 Comm: syz-executor367 Not tainted 6.10.0-rc4-syzkaller-00217-g35bb670d65fc #0 [ 59.153936][ T5078] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 [ 59.164533][ T5078] RIP: 0010:dbFindBits+0x1ce/0x1d0 [ 59.169672][ T5078] Code: 57 08 90 0f 0b e8 52 f8 73 fe 48 c7 c7 20 61 02 8c 48 c7 c6 60 5e 02 8c ba d4 0b 00 00 48 c7 c1 00 69 02 8c e8 a3 dc 57 08 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 [ 59.189855][ T5078] RSP: 0018:ffffc900033cee20 EFLAGS: 00010246 [ 59.196010][ T5078] RAX: 0000000000000030 RBX: 0000000000000000 RCX: 0ee726569729f900 [ 59.204425][ T5078] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 59.212509][ T5078] RBP: 0000000000000020 R08: ffffffff817690bc R09: 1ffff92000679d64 [ 59.220766][ T5078] R10: dffffc0000000000 R11: fffff52000679d65 R12: 0000000000000001 [ 59.229316][ T5078] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 59.237766][ T5078] FS: 000055555a8b4380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 [ 59.246795][ T5078] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.253486][ T5078] CR2: 0000558f1bed7f90 CR3: 0000000022604000 CR4: 00000000003506f0 [ 59.261558][ T5078] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 59.269635][ T5078] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 59.277816][ T5078] Call Trace: [ 59.281292][ T5078] [ 59.284525][ T5078] ? __die_body+0x88/0xe0 [ 59.289041][ T5078] ? die+0xcf/0x110 [ 59.293312][ T5078] ? do_trap+0x15a/0x3a0 [ 59.297826][ T5078] ? dbFindBits+0x1ce/0x1d0 [ 59.302332][ T5078] ? do_error_trap+0x1dc/0x2c0 [ 59.307546][ T5078] ? dbFindBits+0x1ce/0x1d0 [ 59.312709][ T5078] ? __pfx_do_error_trap+0x10/0x10 [ 59.318021][ T5078] ? handle_invalid_op+0x34/0x40 [ 59.323525][ T5078] ? dbFindBits+0x1ce/0x1d0 [ 59.328747][ T5078] ? exc_invalid_op+0x38/0x50 [ 59.333441][ T5078] ? asm_exc_invalid_op+0x1a/0x20 [ 59.338687][ T5078] ? __wake_up_klogd+0xcc/0x110 [ 59.343589][ T5078] ? dbFindBits+0x1ce/0x1d0 [ 59.348284][ T5078] dbAllocDmapLev+0x1e9/0x4a0 [ 59.353296][ T5078] ? __pfx_dbAllocDmapLev+0x10/0x10 [ 59.358993][ T5078] dbAllocCtl+0x113/0x920 [ 59.363455][ T5078] dbAllocAG+0x28f/0x10b0 [ 59.368122][ T5078] ? __down_write_common+0x162/0x200 [ 59.373461][ T5078] ? __pfx_dbAllocAG+0x10/0x10 [ 59.378625][ T5078] dbAlloc+0x658/0xca0 [ 59.382817][ T5078] ? __pfx_dbAlloc+0x10/0x10 [ 59.387608][ T5078] ? __kasan_kmalloc+0x98/0xb0 [ 59.392384][ T5078] ? dtInsert+0x885/0x6b00 [ 59.397156][ T5078] ? kmalloc_trace_noprof+0x19c/0x2c0 [ 59.402534][ T5078] dtInsert+0xda7/0x6b00 [ 59.406791][ T5078] ? __pfx_dtInsert+0x10/0x10 [ 59.411586][ T5078] ? __pfx_lock_acquire+0x10/0x10 [ 59.417034][ T5078] ? txLock+0x2b5/0x21a0 [ 59.421351][ T5078] ? __pfx_lock_release+0x10/0x10 [ 59.426676][ T5078] ? do_raw_spin_lock+0x14f/0x370 [ 59.431811][ T5078] ? do_raw_spin_unlock+0x13c/0x8b0 [ 59.437127][ T5078] ? dtSearch+0x1d59/0x2520 [ 59.441748][ T5078] ? kfree+0x149/0x360 [ 59.445912][ T5078] jfs_create+0x7ba/0xb90 [ 59.450358][ T5078] ? __pfx_jfs_create+0x10/0x10 [ 59.455448][ T5078] ? __pfx_jfs_lookup+0x10/0x10 [ 59.460688][ T5078] ? make_vfsuid+0x46/0x90 [ 59.465314][ T5078] ? bpf_lsm_inode_create+0x9/0x10 [ 59.472360][ T5078] ? security_inode_create+0xc2/0x110 [ 59.478378][ T5078] ? __pfx_jfs_create+0x10/0x10 [ 59.484034][ T5078] path_openat+0x1425/0x3280 [ 59.489941][ T5078] ? __pfx_path_openat+0x10/0x10 [ 59.495139][ T5078] do_filp_open+0x235/0x490 [ 59.501203][ T5078] ? __pfx_do_filp_open+0x10/0x10 [ 59.507212][ T5078] ? _raw_spin_unlock+0x28/0x50 [ 59.512201][ T5078] ? alloc_fd+0x5a1/0x640 [ 59.516821][ T5078] do_sys_openat2+0x13e/0x1d0 [ 59.521694][ T5078] ? __pfx_do_sys_openat2+0x10/0x10 [ 59.527134][ T5078] ? lockdep_hardirqs_on+0x99/0x150 [ 59.532552][ T5078] ? _raw_spin_unlock_irq+0x2e/0x50 [ 59.537857][ T5078] ? ptrace_notify+0x279/0x380 [ 59.542794][ T5078] __x64_sys_openat+0x247/0x2a0 [ 59.547742][ T5078] ? __pfx___x64_sys_openat+0x10/0x10 [ 59.553568][ T5078] ? do_syscall_64+0x100/0x230 [ 59.558721][ T5078] do_syscall_64+0xf3/0x230 [ 59.563731][ T5078] ? clear_bhb_loop+0x35/0x90 [ 59.568879][ T5078] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 59.575166][ T5078] RIP: 0033:0x7f7bfb53ea39 [ 59.579714][ T5078] 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.601540][ T5078] RSP: 002b:00007ffdb892e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 59.613182][ T5078] RAX: ffffffffffffffda RBX: 00007f7bfb58705e RCX: 00007f7bfb53ea39 [ 59.622378][ T5078] RDX: 000000000000275a RSI: 00000000200001c0 RDI: 00000000ffffff9c [ 59.631565][ T5078] RBP: 6573726168636f69 R08: 0000000000000000 R09: 0000000000000000 [ 59.642415][ T5078] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 59.651216][ T5078] R13: 00007ffdb892e368 R14: 0000000000000001 R15: 0000000000000001 [ 59.660864][ T5078] [ 59.664276][ T5078] Modules linked in: [ 59.669594][ T5078] ---[ end trace 0000000000000000 ]--- [ 59.677420][ T5078] RIP: 0010:dbFindBits+0x1ce/0x1d0 [ 59.683168][ T5078] Code: 57 08 90 0f 0b e8 52 f8 73 fe 48 c7 c7 20 61 02 8c 48 c7 c6 60 5e 02 8c ba d4 0b 00 00 48 c7 c1 00 69 02 8c e8 a3 dc 57 08 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 [ 59.705204][ T5078] RSP: 0018:ffffc900033cee20 EFLAGS: 00010246 [ 59.712148][ T5078] RAX: 0000000000000030 RBX: 0000000000000000 RCX: 0ee726569729f900 [ 59.720600][ T5078] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 59.728986][ T5078] RBP: 0000000000000020 R08: ffffffff817690bc R09: 1ffff92000679d64 [ 59.737765][ T5078] R10: dffffc0000000000 R11: fffff52000679d65 R12: 0000000000000001 [ 59.747439][ T5078] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 59.755970][ T5078] FS: 000055555a8b4380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 [ 59.768475][ T5078] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.775586][ T5078] CR2: 0000558f1bed7f90 CR3: 0000000022604000 CR4: 00000000003506f0 [ 59.784461][ T5078] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 59.793894][ T5078] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 59.803281][ T5078] Kernel panic - not syncing: Fatal exception [ 59.810236][ T5078] Kernel Offset: disabled [ 59.814767][ T5078] Rebooting in 86400 seconds..