./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3829922007 <...> DUID 00:04:e6:d8:3e:4c:c1:15:84:42:dc:00:60:8c:e3:5f:26:b4 forked to background, child pid 4646 [ 31.117578][ T4647] 8021q: adding VLAN 0 to HW filter on device bond0 [ 31.133216][ T4647] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.117' (ECDSA) to the list of known hosts. execve("./syz-executor3829922007", ["./syz-executor3829922007"], 0x7ffdfe3f9de0 /* 10 vars */) = 0 brk(NULL) = 0x5555561ba000 brk(0x5555561bac40) = 0x5555561bac40 arch_prctl(ARCH_SET_FS, 0x5555561ba300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor3829922007", 4096) = 28 brk(0x5555561dbc40) = 0x5555561dbc40 brk(0x5555561dc000) = 0x5555561dc000 mprotect(0x7f34f4fb5000, 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) = 0x7f34ecafc000 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(0x7f34ecafc000, 524288) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./bus", 0777) = 0 mount("/dev/loop0", "./bus", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "") = 0 openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 chdir("./bus") = 0 ioctl(4, LOOP_CLR_FD) = 0 syzkaller login: [ 53.439785][ T5075] loop0: detected capacity change from 0 to 1024 [ 53.449709][ T5075] ======================================================= [ 53.449709][ T5075] WARNING: The mand mount option has been deprecated and [ 53.449709][ T5075] and is ignored by this kernel. Remove the mand [ 53.449709][ T5075] option from the mount to silence this warning. [ 53.449709][ T5075] ======================================================= close(4) = 0 open("./file1", O_RDWR|O_CREAT|O_SYNC|O_DIRECT|O_NOATIME|FASYNC, 000) = 4 [ 53.496263][ T5075] hfsplus: xattr searching failed [ 53.501922][ T27] audit: type=1800 audit(1671647792.348:2): pid=5075 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor382" name="file1" dev="loop0" ino=20 res=0 errno=0 [ 53.516378][ T5075] hfsplus: xattr searching failed [ 53.533292][ T5075] hfsplus: new node 0 already hashed? [ 53.538826][ T5075] ------------[ cut here ]------------ [ 53.544319][ T5075] WARNING: CPU: 1 PID: 5075 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x3d4/0x460 [ 53.554029][ T5075] Modules linked in: [ 53.557916][ T5075] CPU: 1 PID: 5075 Comm: syz-executor382 Not tainted 6.1.0-syzkaller-13872-gb6bb9676f216 #0 [ 53.568049][ T5075] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 53.578166][ T5075] RIP: 0010:hfsplus_bnode_create+0x3d4/0x460 [ 53.584341][ T5075] Code: 31 c0 e8 3f cb 4d 08 e9 5f fd ff ff e8 d5 4b 2b ff 4c 89 ff e8 fd 52 59 08 48 c7 c7 00 32 08 8b 44 89 e6 31 c0 e8 1c cb 4d 08 <0f> 0b eb b1 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 61 fc ff ff 48 89 [ 53.604127][ T5075] RSP: 0018:ffffc90003b9ecb0 EFLAGS: 00010246 [ 53.610212][ T5075] RAX: 0000000000000023 RBX: ffff888013768b00 RCX: 9fe36ee27c8dc100 [ 53.618301][ T5075] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 53.626674][ T5075] RBP: 0000000000000000 R08: ffffffff816f2c9d R09: fffff52000773d4d [ 53.634682][ T5075] R10: fffff52000773d4d R11: 1ffff92000773d4c R12: 0000000000000000 [ 53.642693][ T5075] R13: dffffc0000000000 R14: ffff88802ad1c000 R15: ffff88802ad1c0e0 [ 53.650654][ T5075] FS: 00005555561ba300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 53.659613][ T5075] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.666228][ T5075] CR2: 00005597032d5420 CR3: 00000000285f0000 CR4: 00000000003506e0 [ 53.674236][ T5075] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 53.682239][ T5075] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 53.690205][ T5075] Call Trace: [ 53.693562][ T5075] [ 53.696518][ T5075] hfsplus_bmap_alloc+0x58a/0x610 [ 53.701576][ T5075] ? hfsplus_bmap_reserve+0x500/0x500 [ 53.707031][ T5075] hfs_btree_inc_height+0xe2/0xd30 [ 53.712210][ T5075] ? hfsplus_brec_insert+0xd70/0xd70 [ 53.717490][ T5075] ? rcu_read_lock_sched_held+0x87/0x110 [ 53.723155][ T5075] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 53.729157][ T5075] hfsplus_brec_insert+0x130/0xd70 [ 53.734310][ T5075] ? hfsplus_find_init+0x80/0x1b0 [ 53.739356][ T5075] ? trace_contention_end+0x72/0x1d0 [ 53.744766][ T5075] ? __mutex_lock_common+0x45f/0x26e0 [ 53.750163][ T5075] ? hfsplus_brec_find+0x15f/0x520 [ 53.755330][ T5075] ? hfsplus_bmap_reserve+0x4be/0x500 [ 53.760717][ T5075] ? hfsplus_brec_keylen+0x310/0x310 [ 53.766052][ T5075] ? mutex_lock_io_nested+0x60/0x60 [ 53.771264][ T5075] ? __kmem_cache_alloc_node+0x21a/0x340 [ 53.776941][ T5075] __hfsplus_ext_write_extent+0x356/0x590 [ 53.782699][ T5075] __hfsplus_ext_cache_extent+0x8d/0x810 [ 53.788321][ T5075] ? mutex_lock_nested+0x17/0x20 [ 53.793300][ T5075] hfsplus_file_extend+0x3cc/0x19d0 [ 53.798517][ T5075] ? hfsplus_get_block+0x1560/0x1560 [ 53.803853][ T5075] ? filemap_get_folios+0x557/0x830 [ 53.809069][ T5075] ? find_lock_entries+0x1310/0x1310 [ 53.814433][ T5075] ? trace_writeback_dirty_inode+0xdf/0x2b0 [ 53.820361][ T5075] hfsplus_get_block+0x415/0x1560 [ 53.825478][ T5075] ? create_empty_buffers+0xe30/0xe30 [ 53.830874][ T5075] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 53.836635][ T5075] ? submit_page_section+0x5ae/0xa20 [ 53.841944][ T5075] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 53.847745][ T5075] __blockdev_direct_IO+0x1737/0x3bf0 [ 53.853226][ T5075] ? sb_init_dio_done_wq+0x80/0x80 [ 53.858349][ T5075] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 53.864134][ T5075] ? trace_timer_start+0xe5/0x2c0 [ 53.869185][ T5075] ? filemap_write_and_wait_range+0x215/0x2e0 [ 53.875301][ T5075] ? mod_timer_pending+0x20/0x20 [ 53.880250][ T5075] ? file_update_time+0x551/0x5d0 [ 53.885329][ T5075] ? trace_lock_release+0x95/0x220 [ 53.890458][ T5075] hfsplus_direct_IO+0xf6/0x1e0 [ 53.895360][ T5075] generic_file_direct_write+0x294/0x610 [ 53.901019][ T5075] ? dio_warn_stale_pagecache+0x1a0/0x1a0 [ 53.906881][ T5075] ? file_update_time+0x55c/0x5d0 [ 53.911949][ T5075] ? __file_remove_privs+0x610/0x610 [ 53.917321][ T5075] ? generic_write_checks+0x15c/0x1c0 [ 53.922743][ T5075] __generic_file_write_iter+0x1c4/0x400 [ 53.928379][ T5075] generic_file_write_iter+0xab/0x310 [ 53.933808][ T5075] do_iter_write+0x6c2/0xc20 [ 53.938423][ T5075] ? vfs_iter_write+0xa0/0xa0 [ 53.943178][ T5075] ? rcu_read_lock_any_held+0xb1/0x130 [ 53.948688][ T5075] do_pwritev+0x200/0x350 [ 53.953194][ T5075] ? do_preadv+0x330/0x330 [ 53.957626][ T5075] ? _raw_spin_unlock_irq+0x1f/0x40 [ 53.962897][ T5075] ? lockdep_hardirqs_on+0x8d/0x130 [ 53.968113][ T5075] ? _raw_spin_unlock_irq+0x2a/0x40 [ 53.973374][ T5075] ? ptrace_notify+0x245/0x340 [ 53.978167][ T5075] ? do_notify_parent+0xe00/0xe00 [ 53.983260][ T5075] ? syscall_enter_from_user_mode+0x2e/0x1d0 [ 53.989250][ T5075] ? __x64_sys_pwritev2+0xb9/0x100 [ 53.994437][ T5075] do_syscall_64+0x3d/0xb0 [ 53.998926][ T5075] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.004877][ T5075] RIP: 0033:0x7f34f4f487b9 [ 54.009304][ T5075] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 54.029065][ T5075] RSP: 002b:00007ffe3ed0d688 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 [ 54.037536][ T5075] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f34f4f487b9 [ 54.045640][ T5075] RDX: 0000000000000001 RSI: 0000000020000680 RDI: 0000000000000004 [ 54.053648][ T5075] RBP: 00007f34f4f08050 R08: 0000000000000000 R09: 0000000000000000 [ 54.061608][ T5075] R10: 0000000000000600 R11: 0000000000000246 R12: 00007f34f4f080e0 [ 54.069655][ T5075] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 54.077803][ T5075] [ 54.080821][ T5075] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 54.088091][ T5075] CPU: 1 PID: 5075 Comm: syz-executor382 Not tainted 6.1.0-syzkaller-13872-gb6bb9676f216 #0 [ 54.098139][ T5075] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 54.108181][ T5075] Call Trace: [ 54.111449][ T5075] [ 54.114380][ T5075] dump_stack_lvl+0x1b1/0x290 [ 54.119053][ T5075] ? nf_tcp_handle_invalid+0x630/0x630 [ 54.124510][ T5075] ? panic+0x710/0x710 [ 54.128568][ T5075] ? vscnprintf+0x59/0x80 [ 54.132882][ T5075] ? hfsplus_bnode_create+0x3a0/0x460 [ 54.138243][ T5075] panic+0x2d6/0x710 [ 54.142138][ T5075] ? __warn+0x16d/0x2d0 [ 54.146286][ T5075] ? memcpy_page_flushcache+0x100/0x100 [ 54.151824][ T5075] ? hfsplus_bnode_create+0x3d4/0x460 [ 54.157186][ T5075] __warn+0x284/0x2d0 [ 54.161157][ T5075] ? hfsplus_bnode_create+0x3d4/0x460 [ 54.166515][ T5075] report_bug+0x1b3/0x2d0 [ 54.170838][ T5075] handle_bug+0x3d/0x70 [ 54.174988][ T5075] exc_invalid_op+0x16/0x40 [ 54.179480][ T5075] asm_exc_invalid_op+0x16/0x20 [ 54.184318][ T5075] RIP: 0010:hfsplus_bnode_create+0x3d4/0x460 [ 54.190289][ T5075] Code: 31 c0 e8 3f cb 4d 08 e9 5f fd ff ff e8 d5 4b 2b ff 4c 89 ff e8 fd 52 59 08 48 c7 c7 00 32 08 8b 44 89 e6 31 c0 e8 1c cb 4d 08 <0f> 0b eb b1 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 61 fc ff ff 48 89 [ 54.209881][ T5075] RSP: 0018:ffffc90003b9ecb0 EFLAGS: 00010246 [ 54.215934][ T5075] RAX: 0000000000000023 RBX: ffff888013768b00 RCX: 9fe36ee27c8dc100 [ 54.223917][ T5075] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 54.231871][ T5075] RBP: 0000000000000000 R08: ffffffff816f2c9d R09: fffff52000773d4d [ 54.239915][ T5075] R10: fffff52000773d4d R11: 1ffff92000773d4c R12: 0000000000000000 [ 54.247882][ T5075] R13: dffffc0000000000 R14: ffff88802ad1c000 R15: ffff88802ad1c0e0 [ 54.255845][ T5075] ? __wake_up_klogd+0xcd/0x100 [ 54.260695][ T5075] hfsplus_bmap_alloc+0x58a/0x610 [ 54.265711][ T5075] ? hfsplus_bmap_reserve+0x500/0x500 [ 54.271083][ T5075] hfs_btree_inc_height+0xe2/0xd30 [ 54.276207][ T5075] ? hfsplus_brec_insert+0xd70/0xd70 [ 54.281481][ T5075] ? rcu_read_lock_sched_held+0x87/0x110 [ 54.287098][ T5075] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 54.293068][ T5075] hfsplus_brec_insert+0x130/0xd70 [ 54.298167][ T5075] ? hfsplus_find_init+0x80/0x1b0 [ 54.303180][ T5075] ? trace_contention_end+0x72/0x1d0 [ 54.308798][ T5075] ? __mutex_lock_common+0x45f/0x26e0 [ 54.314159][ T5075] ? hfsplus_brec_find+0x15f/0x520 [ 54.319264][ T5075] ? hfsplus_bmap_reserve+0x4be/0x500 [ 54.324623][ T5075] ? hfsplus_brec_keylen+0x310/0x310 [ 54.329895][ T5075] ? mutex_lock_io_nested+0x60/0x60 [ 54.335082][ T5075] ? __kmem_cache_alloc_node+0x21a/0x340 [ 54.340700][ T5075] __hfsplus_ext_write_extent+0x356/0x590 [ 54.346409][ T5075] __hfsplus_ext_cache_extent+0x8d/0x810 [ 54.352029][ T5075] ? mutex_lock_nested+0x17/0x20 [ 54.356957][ T5075] hfsplus_file_extend+0x3cc/0x19d0 [ 54.362165][ T5075] ? hfsplus_get_block+0x1560/0x1560 [ 54.367445][ T5075] ? filemap_get_folios+0x557/0x830 [ 54.372635][ T5075] ? find_lock_entries+0x1310/0x1310 [ 54.377913][ T5075] ? trace_writeback_dirty_inode+0xdf/0x2b0 [ 54.383799][ T5075] hfsplus_get_block+0x415/0x1560 [ 54.388814][ T5075] ? create_empty_buffers+0xe30/0xe30 [ 54.394179][ T5075] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 54.399883][ T5075] ? submit_page_section+0x5ae/0xa20 [ 54.405164][ T5075] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 54.410867][ T5075] __blockdev_direct_IO+0x1737/0x3bf0 [ 54.416258][ T5075] ? sb_init_dio_done_wq+0x80/0x80 [ 54.421358][ T5075] ? hfsplus_ext_write_extent+0x1e0/0x1e0 [ 54.427073][ T5075] ? trace_timer_start+0xe5/0x2c0 [ 54.432098][ T5075] ? filemap_write_and_wait_range+0x215/0x2e0 [ 54.438152][ T5075] ? mod_timer_pending+0x20/0x20 [ 54.443080][ T5075] ? file_update_time+0x551/0x5d0 [ 54.448093][ T5075] ? trace_lock_release+0x95/0x220 [ 54.453196][ T5075] hfsplus_direct_IO+0xf6/0x1e0 [ 54.458038][ T5075] generic_file_direct_write+0x294/0x610 [ 54.463672][ T5075] ? dio_warn_stale_pagecache+0x1a0/0x1a0 [ 54.469379][ T5075] ? file_update_time+0x55c/0x5d0 [ 54.474393][ T5075] ? __file_remove_privs+0x610/0x610 [ 54.479665][ T5075] ? generic_write_checks+0x15c/0x1c0 [ 54.485034][ T5075] __generic_file_write_iter+0x1c4/0x400 [ 54.490666][ T5075] generic_file_write_iter+0xab/0x310 [ 54.496071][ T5075] do_iter_write+0x6c2/0xc20 [ 54.500658][ T5075] ? vfs_iter_write+0xa0/0xa0 [ 54.505321][ T5075] ? rcu_read_lock_any_held+0xb1/0x130 [ 54.510775][ T5075] do_pwritev+0x200/0x350 [ 54.515095][ T5075] ? do_preadv+0x330/0x330 [ 54.519500][ T5075] ? _raw_spin_unlock_irq+0x1f/0x40 [ 54.524695][ T5075] ? lockdep_hardirqs_on+0x8d/0x130 [ 54.529885][ T5075] ? _raw_spin_unlock_irq+0x2a/0x40 [ 54.535072][ T5075] ? ptrace_notify+0x245/0x340 [ 54.539821][ T5075] ? do_notify_parent+0xe00/0xe00 [ 54.544840][ T5075] ? syscall_enter_from_user_mode+0x2e/0x1d0 [ 54.550806][ T5075] ? __x64_sys_pwritev2+0xb9/0x100 [ 54.555906][ T5075] do_syscall_64+0x3d/0xb0 [ 54.560318][ T5075] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.566200][ T5075] RIP: 0033:0x7f34f4f487b9 [ 54.570602][ T5075] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 54.590192][ T5075] RSP: 002b:00007ffe3ed0d688 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 [ 54.598676][ T5075] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f34f4f487b9 [ 54.606633][ T5075] RDX: 0000000000000001 RSI: 0000000020000680 RDI: 0000000000000004 [ 54.614677][ T5075] RBP: 00007f34f4f08050 R08: 0000000000000000 R09: 0000000000000000 [ 54.622634][ T5075] R10: 0000000000000600 R11: 0000000000000246 R12: 00007f34f4f080e0 [ 54.630595][ T5075] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 54.638562][ T5075] [ 54.641745][ T5075] Kernel Offset: disabled [ 54.646136][ T5075] Rebooting in 86400 seconds..