./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4195349770 <...> Warning: Permanently added '10.128.1.29' (ED25519) to the list of known hosts. execve("./syz-executor4195349770", ["./syz-executor4195349770"], 0x7ffdf0936310 /* 10 vars */) = 0 brk(NULL) = 0x55557b7c2000 brk(0x55557b7c2d00) = 0x55557b7c2d00 arch_prctl(ARCH_SET_FS, 0x55557b7c2380) = 0 set_tid_address(0x55557b7c2650) = 5823 set_robust_list(0x55557b7c2660, 24) = 0 rseq(0x55557b7c2ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor4195349770", 4096) = 28 getrandom("\x6b\x07\x3d\x41\xc6\x2a\x2a\x42", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557b7c2d00 brk(0x55557b7e3d00) = 0x55557b7e3d00 brk(0x55557b7e4000) = 0x55557b7e4000 mprotect(0x7f401bf88000, 16384, PROT_READ) = 0 mmap(0x3ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ffffffff000 mmap(0x400000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400000000000 mmap(0x400001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400001000000 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5824 attached , child_tidptr=0x55557b7c2650) = 5824 [pid 5824] set_robust_list(0x55557b7c2660, 24) = 0 [pid 5824] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5824] setpgid(0, 0) = 0 [pid 5824] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5824] write(3, "1000", 4) = 4 [pid 5824] close(3) = 0 [pid 5824] write(1, "executing program\n", 18executing program ) = 18 [pid 5824] memfd_create("syzkaller", 0) = 3 [pid 5824] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4013a00000 [pid 5824] 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"..., 524288) = 524288 [pid 5824] munmap(0x7f4013a00000, 138412032) = 0 [pid 5824] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5824] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5824] close(3) = 0 [pid 5824] close(4) = 0 [pid 5824] mkdir("./file1", 0777) = 0 [ 60.679865][ T5824] loop0: detected capacity change from 0 to 1024 [pid 5824] mount("/dev/loop0", "./file1", "hfsplus", MS_SILENT|MS_STRICTATIME, "") = 0 [pid 5824] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5824] chdir("./file1") = 0 [pid 5824] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [ 60.766876][ T5824] ------------[ cut here ]------------ [ 60.772403][ T5824] kernel BUG at fs/hfsplus/xattr.c:175! [ 60.778218][ T5824] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 60.785169][ T5824] CPU: 0 UID: 0 PID: 5824 Comm: syz-executor419 Not tainted 6.14.0-rc3-syzkaller-00096-ge9a8cac0bf89 #0 [ 60.796259][ T5824] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 60.806303][ T5824] RIP: 0010:__hfsplus_setxattr+0x2309/0x2310 [ 60.812300][ T5824] Code: e8 3c 48 5c 09 e8 47 95 1d ff 4c 89 ff 48 c7 c6 60 07 41 8c e8 88 f1 65 ff 90 0f 0b e8 30 95 1d ff 90 0f 0b e8 28 95 1d ff 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 [ 60.831888][ T5824] RSP: 0018:ffffc90003dbf2e0 EFLAGS: 00010293 [ 60.837940][ T5824] RAX: ffffffff82a42508 RBX: 0000000000010000 RCX: ffff88803467da00 [ 60.845896][ T5824] RDX: 0000000000000000 RSI: 0000000000010000 RDI: 0000000000000000 [ 60.853851][ T5824] RBP: ffffc90003dbf780 R08: ffffffff82a40be3 R09: 1ffff1100f94e556 [ 60.861804][ T5824] R10: dffffc0000000000 R11: ffffed100f94e557 R12: ffff88807ca72370 [ 60.869762][ T5824] R13: dffffc0000000000 R14: ffff88807ca72a30 R15: 0000000000000000 [ 60.877715][ T5824] FS: 000055557b7c2380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 60.886631][ T5824] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 60.893196][ T5824] CR2: 000055f2ca7627f8 CR3: 0000000077370000 CR4: 00000000003526f0 [ 60.901155][ T5824] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 60.909108][ T5824] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 60.917070][ T5824] Call Trace: [ 60.920336][ T5824] [ 60.923253][ T5824] ? __die_body+0x5f/0xb0 [ 60.927587][ T5824] ? die+0x9e/0xc0 [ 60.931300][ T5824] ? do_trap+0x15a/0x3a0 [ 60.935528][ T5824] ? __hfsplus_setxattr+0x2309/0x2310 [ 60.940886][ T5824] ? do_error_trap+0x1dc/0x2c0 [ 60.945632][ T5824] ? __hfsplus_setxattr+0x2309/0x2310 [ 60.950990][ T5824] ? __pfx_do_error_trap+0x10/0x10 [ 60.956085][ T5824] ? report_bug+0x3e8/0x500 [ 60.960588][ T5824] ? handle_invalid_op+0x34/0x40 [ 60.965513][ T5824] ? __hfsplus_setxattr+0x2309/0x2310 [ 60.970869][ T5824] ? exc_invalid_op+0x38/0x50 [ 60.975532][ T5824] ? asm_exc_invalid_op+0x1a/0x20 [ 60.980548][ T5824] ? __hfsplus_setxattr+0x9e3/0x2310 [ 60.985817][ T5824] ? __hfsplus_setxattr+0x2308/0x2310 [ 60.991176][ T5824] ? __hfsplus_setxattr+0x2309/0x2310 [ 60.996537][ T5824] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 61.002853][ T5824] ? __pfx___hfsplus_setxattr+0x10/0x10 [ 61.008381][ T5824] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 61.014257][ T5824] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 61.020571][ T5824] ? stack_depot_save_flags+0x7b4/0x940 [ 61.026123][ T5824] ? __kasan_kmalloc+0x98/0xb0 [ 61.030875][ T5824] ? hfsplus_initxattrs+0x130/0x270 [ 61.036068][ T5824] hfsplus_initxattrs+0x1af/0x270 [ 61.041083][ T5824] security_inode_init_security+0x29c/0x480 [ 61.046966][ T5824] ? __pfx_hfsplus_initxattrs+0x10/0x10 [ 61.052498][ T5824] ? __pfx_security_inode_init_security+0x10/0x10 [ 61.058898][ T5824] ? _raw_spin_unlock+0x28/0x50 [ 61.063735][ T5824] hfsplus_mknod+0x1c6/0x2a0 [ 61.068313][ T5824] ? __pfx_hfsplus_create+0x10/0x10 [ 61.073502][ T5824] path_openat+0x193c/0x3590 [ 61.078086][ T5824] ? __pfx_path_openat+0x10/0x10 [ 61.083017][ T5824] do_filp_open+0x27f/0x4e0 [ 61.087505][ T5824] ? __pfx_do_filp_open+0x10/0x10 [ 61.092512][ T5824] ? do_raw_spin_lock+0x14f/0x370 [ 61.097531][ T5824] do_sys_openat2+0x13e/0x1d0 [ 61.102191][ T5824] ? __pfx_do_sys_openat2+0x10/0x10 [ 61.107374][ T5824] ? _raw_spin_unlock_irq+0x2e/0x50 [ 61.112555][ T5824] ? ptrace_notify+0x27f/0x380 [ 61.117302][ T5824] __x64_sys_openat+0x247/0x2a0 [ 61.122135][ T5824] ? __pfx___x64_sys_openat+0x10/0x10 [ 61.127489][ T5824] ? do_syscall_64+0x100/0x230 [ 61.132239][ T5824] do_syscall_64+0xf3/0x230 [ 61.136728][ T5824] ? clear_bhb_loop+0x35/0x90 [ 61.141392][ T5824] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 61.147274][ T5824] RIP: 0033:0x7f401bf14ad9 [ 61.151684][ T5824] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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 [ 61.171270][ T5824] RSP: 002b:00007ffe2cb23068 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 61.179669][ T5824] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f401bf14ad9 [ 61.187624][ T5824] RDX: 000000000000275a RSI: 0000400000000080 RDI: 00000000ffffff9c [ 61.195580][ T5824] RBP: 00007f401bf885f0 R08: 00000000000005e1 R09: 000055557b7c34c0 [ 61.203539][ T5824] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe2cb23090 [ 61.211491][ T5824] R13: 00007ffe2cb232b8 R14: 431bde82d7b634db R15: 00007f401bf5d03b [ 61.219451][ T5824] [ 61.222453][ T5824] Modules linked in: [ 61.226472][ T5824] ---[ end trace 0000000000000000 ]--- [ 61.232566][ T5824] RIP: 0010:__hfsplus_setxattr+0x2309/0x2310 [ 61.238573][ T5824] Code: e8 3c 48 5c 09 e8 47 95 1d ff 4c 89 ff 48 c7 c6 60 07 41 8c e8 88 f1 65 ff 90 0f 0b e8 30 95 1d ff 90 0f 0b e8 28 95 1d ff 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 [ 61.258291][ T5824] RSP: 0018:ffffc90003dbf2e0 EFLAGS: 00010293 [ 61.264403][ T5824] RAX: ffffffff82a42508 RBX: 0000000000010000 RCX: ffff88803467da00 [ 61.272374][ T5824] RDX: 0000000000000000 RSI: 0000000000010000 RDI: 0000000000000000 [ 61.280373][ T5824] RBP: ffffc90003dbf780 R08: ffffffff82a40be3 R09: 1ffff1100f94e556 [ 61.288403][ T5824] R10: dffffc0000000000 R11: ffffed100f94e557 R12: ffff88807ca72370 [ 61.296469][ T5824] R13: dffffc0000000000 R14: ffff88807ca72a30 R15: 0000000000000000 [ 61.304473][ T5824] FS: 000055557b7c2380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 61.313430][ T5824] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 61.320010][ T5824] CR2: 00007f2d8a395ed8 CR3: 0000000077370000 CR4: 00000000003526f0 [ 61.328077][ T5824] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 61.336096][ T5824] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 61.344101][ T5824] Kernel panic - not syncing: Fatal exception [ 61.350378][ T5824] Kernel Offset: disabled [ 61.354688][ T5824] Rebooting in 86400 seconds..