./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3377966178 <...> Warning: Permanently added '10.128.0.236' (ED25519) to the list of known hosts. execve("./syz-executor3377966178", ["./syz-executor3377966178"], 0x7ffd6c1c3a50 /* 10 vars */) = 0 brk(NULL) = 0x555555dee000 brk(0x555555deed00) = 0x555555deed00 arch_prctl(ARCH_SET_FS, 0x555555dee380) = 0 set_tid_address(0x555555dee650) = 5045 set_robust_list(0x555555dee660, 24) = 0 rseq(0x555555deeca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3377966178", 4096) = 28 getrandom("\x18\x53\x0a\xd0\x2b\x45\xcb\x21", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555deed00 brk(0x555555e0fd00) = 0x555555e0fd00 brk(0x555555e10000) = 0x555555e10000 mprotect(0x7fc85fdb2000, 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) = 0x7fc857800000 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 munmap(0x7fc857800000, 138412032) = 0 [ 68.803158][ T29] audit: type=1400 audit(1705227443.731:86): avc: denied { execmem } for pid=5045 comm="syz-executor337" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 [ 68.861786][ T29] audit: type=1400 audit(1705227443.791:87): avc: denied { read write } for pid=5045 comm="syz-executor337" name="loop0" dev="devtmpfs" ino=648 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 68.874578][ T5045] loop0: detected capacity change from 0 to 1024 close(4) = 0 mkdir("./file0", 0777) = 0 [ 68.886501][ T29] audit: type=1400 audit(1705227443.791:88): avc: denied { open } for pid=5045 comm="syz-executor337" path="/dev/loop0" dev="devtmpfs" ino=648 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 68.917505][ T29] audit: type=1400 audit(1705227443.791:89): avc: denied { ioctl } for pid=5045 comm="syz-executor337" path="/dev/loop0" dev="devtmpfs" ino=648 ioctlcmd=0x4c00 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 68.935154][ T5045] hfsplus: request for non-existent node 3 in B*Tree mount("/dev/loop0", "./file0", "hfsplus", MS_SYNCHRONOUS|MS_SILENT|MS_RELATIME, "gid=0x0000000000000000,nls=cp437,nobarrier,gid=0x000000000000ee01,nobarrier,force,type=\\I^1,") = 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) open("./bus", O_RDWR|O_CREAT|O_NOCTTY|O_SYNC|O_DIRECT|O_NOATIME, 000) = 4 [ 68.943550][ T29] audit: type=1400 audit(1705227443.851:90): avc: denied { mounton } for pid=5045 comm="syz-executor337" path="/root/file0" dev="sda1" ino=1927 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 68.972693][ T5045] hfsplus: request for non-existent node 3 in B*Tree [ 68.980271][ T29] audit: type=1400 audit(1705227443.911:91): avc: denied { mount } for pid=5045 comm="syz-executor337" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:dosfs_t tclass=filesystem permissive=1 [ 69.007582][ T29] audit: type=1800 audit(1705227443.931:92): pid=5045 uid=0 auid=4294967295 ses=4294967295 subj=root:sysadm_r:sysadm_t op=collect_data cause=failed(directio) comm="syz-executor337" name="bus" dev="loop0" ino=26 res=0 errno=0 [ 69.029747][ T5045] ------------[ cut here ]------------ [ 69.035193][ T5045] kernel BUG at fs/hfsplus/xattr.c:175! [ 69.041114][ T5045] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 69.047207][ T5045] CPU: 0 PID: 5045 Comm: syz-executor337 Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0 [ 69.057255][ T5045] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 69.067292][ T5045] RIP: 0010:__hfsplus_setxattr+0x2104/0x2200 [ 69.073277][ T5045] Code: ff 4c 8b 54 24 50 4c 8b 44 24 38 e9 28 ea ff ff e8 a1 fb 81 ff 4c 8b 54 24 50 4c 8b 44 24 38 e9 f2 e9 ff ff e8 7d f3 2a ff 90 <0f> 0b 48 8b 7c 24 48 e8 80 fb 81 ff 4c 8b 54 24 50 4c 8b 44 24 38 [ 69.092869][ T5045] RSP: 0018:ffffc900033df4c0 EFLAGS: 00010293 [ 69.099011][ T5045] RAX: 0000000000000000 RBX: 0000060000000000 RCX: ffffffff825bef76 [ 69.106976][ T5045] RDX: ffff88801e3c3b80 RSI: ffffffff825c05d3 RDI: 0000000000000007 [ 69.114930][ T5045] RBP: ffffed1005312107 R08: ffff88802b800000 R09: 0000000000000000 [ 69.122899][ T5045] R10: ffff888029890830 R11: 0000000000000000 R12: 0000000000000003 [ 69.130852][ T5045] R13: ffff888029890800 R14: 1ffff9200067beaa R15: ffffc900033df580 [ 69.138889][ T5045] FS: 0000555555dee380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 69.147800][ T5045] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 69.154369][ T5045] CR2: 0000000020007f84 CR3: 000000002b363000 CR4: 00000000003506f0 [ 69.162323][ T5045] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 69.170282][ T5045] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 69.178233][ T5045] Call Trace: [ 69.181508][ T5045] [ 69.184461][ T5045] ? show_regs+0x8f/0xa0 [ 69.188696][ T5045] ? die+0x36/0xa0 [ 69.192402][ T5045] ? do_trap+0x22b/0x420 [ 69.196631][ T5045] ? __hfsplus_setxattr+0x2104/0x2200 [ 69.201985][ T5045] ? __hfsplus_setxattr+0x2104/0x2200 [ 69.207337][ T5045] ? do_error_trap+0xf4/0x230 [ 69.212086][ T5045] ? __hfsplus_setxattr+0x2104/0x2200 [ 69.217436][ T5045] ? handle_invalid_op+0x34/0x40 [ 69.222539][ T5045] ? __hfsplus_setxattr+0x2104/0x2200 [ 69.227892][ T5045] ? exc_invalid_op+0x2e/0x40 [ 69.232561][ T5045] ? asm_exc_invalid_op+0x1a/0x20 [ 69.237573][ T5045] ? __hfsplus_setxattr+0xaa6/0x2200 [ 69.242855][ T5045] ? __hfsplus_setxattr+0x2103/0x2200 [ 69.248295][ T5045] ? __hfsplus_setxattr+0x2104/0x2200 [ 69.253765][ T5045] ? is_module_text_address+0x145/0x1a0 [ 69.259321][ T5045] ? rcu_is_watching+0x12/0xb0 [ 69.264068][ T5045] ? copy_name+0xa0/0xa0 [ 69.268289][ T5045] ? rcu_is_watching+0x12/0xb0 [ 69.273034][ T5045] ? do_raw_read_unlock+0xe0/0xe0 [ 69.278039][ T5045] ? rcu_is_watching+0x12/0xb0 [ 69.282787][ T5045] ? trace_irq_enable.constprop.0+0xd0/0x100 [ 69.288763][ T5045] hfsplus_setxattr+0x10c/0x160 [ 69.293597][ T5045] ? hfsplus_listxattr+0xe10/0xe10 [ 69.298705][ T5045] __vfs_setxattr+0x173/0x1d0 [ 69.303373][ T5045] ? __vfs_removexattr+0x1c0/0x1c0 [ 69.308474][ T5045] __vfs_setxattr_noperm+0x127/0x5e0 [ 69.313759][ T5045] __vfs_setxattr_locked+0x17e/0x250 [ 69.319051][ T5045] vfs_setxattr+0x146/0x350 [ 69.323569][ T5045] ? kasan_save_stack+0x42/0x50 [ 69.328421][ T5045] ? __vfs_setxattr_locked+0x250/0x250 [ 69.333889][ T5045] do_setxattr+0x142/0x170 [ 69.338311][ T5045] setxattr+0x159/0x170 [ 69.342495][ T5045] ? do_setxattr+0x170/0x170 [ 69.347088][ T5045] ? mnt_get_write_access+0x20c/0x300 [ 69.352448][ T5045] path_setxattr+0x175/0x1d0 [ 69.357130][ T5045] ? setxattr+0x170/0x170 [ 69.361464][ T5045] ? trace_irq_enable.constprop.0+0xd0/0x100 [ 69.367453][ T5045] __x64_sys_setxattr+0xc4/0x160 [ 69.372388][ T5045] do_syscall_64+0xd3/0x250 [ 69.376890][ T5045] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 69.382778][ T5045] RIP: 0033:0x7fc85fd3e9f9 [ 69.387221][ T5045] 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 [ 69.406899][ T5045] RSP: 002b:00007ffc4d53d718 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc [ 69.415293][ T5045] RAX: ffffffffffffffda RBX: 6569727261626f6e RCX: 00007fc85fd3e9f9 [ 69.423352][ T5045] RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000020000000 [ 69.431307][ T5045] RBP: 00007fc85fd8704b R08: 0000000000000001 R09: 0000000000000000 [ 69.439373][ T5045] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 69.447346][ T5045] R13: 00007ffc4d53d8f8 R14: 0000000000000001 R15: 0000000000000001 [ 69.455310][ T5045] [ 69.458318][ T5045] Modules linked in: [ 69.462427][ T5045] ---[ end trace 0000000000000000 ]--- [ 69.467906][ T5045] RIP: 0010:__hfsplus_setxattr+0x2104/0x2200 [ 69.473937][ T5045] Code: ff 4c 8b 54 24 50 4c 8b 44 24 38 e9 28 ea ff ff e8 a1 fb 81 ff 4c 8b 54 24 50 4c 8b 44 24 38 e9 f2 e9 ff ff e8 7d f3 2a ff 90 <0f> 0b 48 8b 7c 24 48 e8 80 fb 81 ff 4c 8b 54 24 50 4c 8b 44 24 38 [ 69.493781][ T5045] RSP: 0018:ffffc900033df4c0 EFLAGS: 00010293 [ 69.499893][ T5045] RAX: 0000000000000000 RBX: 0000060000000000 RCX: ffffffff825bef76 [ 69.507959][ T5045] RDX: ffff88801e3c3b80 RSI: ffffffff825c05d3 RDI: 0000000000000007 [ 69.516054][ T5045] RBP: ffffed1005312107 R08: ffff88802b800000 R09: 0000000000000000 [ 69.524072][ T5045] R10: ffff888029890830 R11: 0000000000000000 R12: 0000000000000003 [ 69.532165][ T5045] R13: ffff888029890800 R14: 1ffff9200067beaa R15: ffffc900033df580 [ 69.540237][ T5045] FS: 0000555555dee380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 69.549215][ T5045] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 69.555801][ T5045] CR2: 0000000020007f84 CR3: 000000002b363000 CR4: 00000000003506f0 [ 69.563795][ T5045] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 69.571792][ T5045] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 69.579789][ T5045] Kernel panic - not syncing: Fatal exception [ 69.586049][ T5045] Kernel Offset: disabled [ 69.590444][ T5045] Rebooting in 86400 seconds..