./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor116640686 <...> Warning: Permanently added '10.128.1.7' (ED25519) to the list of known hosts. execve("./syz-executor116640686", ["./syz-executor116640686"], 0x7ffef9d2dd90 /* 10 vars */) = 0 brk(NULL) = 0x555587620000 brk(0x555587620d00) = 0x555587620d00 arch_prctl(ARCH_SET_FS, 0x555587620380) = 0 set_tid_address(0x555587620650) = 5214 set_robust_list(0x555587620660, 24) = 0 rseq(0x555587620ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor116640686", 4096) = 27 getrandom("\xaa\x05\xa2\x84\xc8\xbb\x60\x8d", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555587620d00 brk(0x555587641d00) = 0x555587641d00 brk(0x555587642000) = 0x555587642000 mprotect(0x7f925f68c000, 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 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 5216 attached , child_tidptr=0x555587620650) = 5216 [pid 5216] set_robust_list(0x555587620660, 24) = 0 [pid 5216] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5216] setpgid(0, 0) = 0 [pid 5216] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5216] write(3, "1000", 4) = 4 [pid 5216] close(3) = 0 executing program [pid 5216] write(1, "executing program\n", 18) = 18 [pid 5216] memfd_create("syzkaller", 0) = 3 [pid 5216] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9257000000 [pid 5216] 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 5216] munmap(0x7f9257000000, 138412032) = 0 [pid 5216] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5216] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5216] close(3) = 0 [pid 5216] close(4) = 0 [pid 5216] mkdir("./file1", 0777) = 0 [pid 5216] mount("/dev/loop0", "./file1", "hfsplus", MS_SILENT|MS_STRICTATIME, "") = 0 [pid 5216] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5216] chdir("./file1") = 0 [pid 5216] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) syzkaller login: [ 54.300676][ T5216] loop0: detected capacity change from 0 to 1024 [pid 5216] rename("./file1", "./file2") = 0 [ 54.381985][ T5216] ------------[ cut here ]------------ [ 54.387624][ T5216] kernel BUG at fs/hfsplus/xattr.c:175! [ 54.393181][ T5216] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 54.400106][ T5216] CPU: 0 UID: 0 PID: 5216 Comm: syz-executor116 Not tainted 6.11.0-syzkaller-10045-g97d8894b6f4c #0 [ 54.410846][ T5216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 54.420929][ T5216] RIP: 0010:__hfsplus_setxattr+0x22c4/0x22d0 [ 54.426923][ T5216] Code: e8 b1 46 36 09 e8 ac 06 10 ff 4c 89 ff 48 c7 c6 20 34 22 8c e8 bd cf 58 ff 90 0f 0b e8 95 06 10 ff 90 0f 0b e8 8d 06 10 ff 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 [ 54.446531][ T5216] RSP: 0018:ffffc90002f9f300 EFLAGS: 00010293 [ 54.452582][ T5216] RAX: ffffffff8284ad33 RBX: 0000000000010000 RCX: ffff88802d341e00 [ 54.460534][ T5216] RDX: 0000000000000000 RSI: 0000000000010000 RDI: 0000000000000000 [ 54.468501][ T5216] RBP: ffffc90002f9f788 R08: ffffffff82849453 R09: 1ffff1100f13211e [ 54.476461][ T5216] R10: dffffc0000000000 R11: ffffed100f13211f R12: ffff8880789901b0 [ 54.484415][ T5216] R13: dffffc0000000000 R14: ffff888078990870 R15: 0000000000000000 [ 54.492362][ T5216] FS: 0000555587620380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 54.501284][ T5216] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.507850][ T5216] CR2: 00007f7475195ed8 CR3: 0000000079f5c000 CR4: 00000000003506f0 [ 54.515809][ T5216] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.523765][ T5216] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.531757][ T5216] Call Trace: [ 54.535029][ T5216] [ 54.537947][ T5216] ? __die_body+0x5f/0xb0 [ 54.542269][ T5216] ? die+0x9e/0xc0 [ 54.545979][ T5216] ? do_trap+0x15a/0x3a0 [ 54.550206][ T5216] ? __hfsplus_setxattr+0x22c4/0x22d0 [ 54.555568][ T5216] ? do_error_trap+0x1dc/0x2c0 [ 54.560341][ T5216] ? __hfsplus_setxattr+0x22c4/0x22d0 [ 54.565701][ T5216] ? __pfx_do_error_trap+0x10/0x10 [ 54.570795][ T5216] ? handle_invalid_op+0x34/0x40 [ 54.575712][ T5216] ? __hfsplus_setxattr+0x22c4/0x22d0 [ 54.581080][ T5216] ? exc_invalid_op+0x38/0x50 [ 54.585748][ T5216] ? asm_exc_invalid_op+0x1a/0x20 [ 54.590755][ T5216] ? __hfsplus_setxattr+0x9e3/0x22d0 [ 54.596023][ T5216] ? __hfsplus_setxattr+0x22c3/0x22d0 [ 54.601376][ T5216] ? __hfsplus_setxattr+0x22c4/0x22d0 [ 54.606731][ T5216] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 54.613041][ T5216] ? __pfx___hfsplus_setxattr+0x10/0x10 [ 54.618657][ T5216] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 54.624538][ T5216] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 54.630872][ T5216] ? stack_trace_save+0x118/0x1d0 [ 54.635882][ T5216] ? stack_depot_save_flags+0x6e4/0x830 [ 54.641511][ T5216] ? __kasan_kmalloc+0x98/0xb0 [ 54.646259][ T5216] ? hfsplus_initxattrs+0x5d/0x220 [ 54.651377][ T5216] hfsplus_initxattrs+0x158/0x220 [ 54.656386][ T5216] security_inode_init_security+0x29c/0x480 [ 54.662262][ T5216] ? __pfx_hfsplus_initxattrs+0x10/0x10 [ 54.667811][ T5216] ? __pfx_security_inode_init_security+0x10/0x10 [ 54.674299][ T5216] ? _raw_spin_unlock+0x28/0x50 [ 54.679138][ T5216] hfsplus_mknod+0x1c6/0x2a0 [ 54.683731][ T5216] ? __pfx_hfsplus_create+0x10/0x10 [ 54.688922][ T5216] path_openat+0x1c03/0x3590 [ 54.693511][ T5216] ? __pfx_path_openat+0x10/0x10 [ 54.698441][ T5216] do_filp_open+0x235/0x490 [ 54.702937][ T5216] ? __pfx_do_filp_open+0x10/0x10 [ 54.707946][ T5216] ? _raw_spin_unlock+0x28/0x50 [ 54.713028][ T5216] ? alloc_fd+0x5a1/0x640 [ 54.717431][ T5216] do_sys_openat2+0x13e/0x1d0 [ 54.722089][ T5216] ? __pfx_do_sys_openat2+0x10/0x10 [ 54.727274][ T5216] ? lockdep_hardirqs_on+0x99/0x150 [ 54.732458][ T5216] ? _raw_spin_unlock_irq+0x2e/0x50 [ 54.737641][ T5216] ? ptrace_notify+0x279/0x380 [ 54.742390][ T5216] __x64_sys_openat+0x247/0x2a0 [ 54.747225][ T5216] ? __pfx___x64_sys_openat+0x10/0x10 [ 54.752577][ T5216] ? do_syscall_64+0x100/0x230 [ 54.757320][ T5216] do_syscall_64+0xf3/0x230 [ 54.761805][ T5216] ? clear_bhb_loop+0x35/0x90 [ 54.766468][ T5216] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 54.772344][ T5216] RIP: 0033:0x7f925f618a99 [ 54.776747][ T5216] 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 [ 54.796423][ T5216] RSP: 002b:00007fff33447078 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 54.804822][ T5216] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f925f618a99 [ 54.812800][ T5216] RDX: 00000000000401c2 RSI: 0000000020000140 RDI: 00000000ffffff9c [ 54.820761][ T5216] RBP: 00007f925f68c5f0 R08: 00005555876214c0 R09: 00005555876214c0 [ 54.828718][ T5216] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff334470a0 [ 54.836673][ T5216] R13: 00007fff334472c8 R14: 431bde82d7b634db R15: 00007f925f66103b [ 54.844661][ T5216] [ 54.847840][ T5216] Modules linked in: [ 54.851878][ T5216] ---[ end trace 0000000000000000 ]--- [ 54.857926][ T5216] RIP: 0010:__hfsplus_setxattr+0x22c4/0x22d0 [ 54.863944][ T5216] Code: e8 b1 46 36 09 e8 ac 06 10 ff 4c 89 ff 48 c7 c6 20 34 22 8c e8 bd cf 58 ff 90 0f 0b e8 95 06 10 ff 90 0f 0b e8 8d 06 10 ff 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 [ 54.883853][ T5216] RSP: 0018:ffffc90002f9f300 EFLAGS: 00010293 [ 54.889976][ T5216] RAX: ffffffff8284ad33 RBX: 0000000000010000 RCX: ffff88802d341e00 [ 54.898004][ T5216] RDX: 0000000000000000 RSI: 0000000000010000 RDI: 0000000000000000 [ 54.906041][ T5216] RBP: ffffc90002f9f788 R08: ffffffff82849453 R09: 1ffff1100f13211e [ 54.914020][ T5216] R10: dffffc0000000000 R11: ffffed100f13211f R12: ffff8880789901b0 [ 54.922006][ T5216] R13: dffffc0000000000 R14: ffff888078990870 R15: 0000000000000000 [ 54.929996][ T5216] FS: 0000555587620380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 54.938950][ T5216] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.945543][ T5216] CR2: 0000555ad5440740 CR3: 0000000079f5c000 CR4: 00000000003506f0 [ 54.953499][ T5216] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.961529][ T5216] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.969540][ T5216] Kernel panic - not syncing: Fatal exception [ 54.975853][ T5216] Kernel Offset: disabled [ 54.980167][ T5216] Rebooting in 86400 seconds..