./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor79523544 <...> DUID 00:04:7b:a2:e0:73:6b:5f:a9:8e:d4:f6:53:82:b5:31:a7:5e forked to background, child pid 3182 [ 22.242529][ T3183] 8021q: adding VLAN 0 to HW filter on device bond0 [ 22.251518][ T3183] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.33' (ECDSA) to the list of known hosts. execve("./syz-executor79523544", ["./syz-executor79523544"], 0x7ffd8f58ded0 /* 10 vars */) = 0 brk(NULL) = 0x555555706000 brk(0x555555706c40) = 0x555555706c40 arch_prctl(ARCH_SET_FS, 0x555555706300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor79523544", 4096) = 26 brk(0x555555727c40) = 0x555555727c40 brk(0x555555728000) = 0x555555728000 mprotect(0x7fe218cd6000, 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 mkdir("./file1", 000) = 0 mkdir("./bus", 000) = 0 mkdir("./file0", 000) = 0 mount(NULL, "./bus", "overlay", 0, "workdir=./bus,lowerdir=./file0,upperdir=./file1,nfs_export=on,") = 0 open("./bus", O_RDONLY) = 3 syzkaller login: [ 40.294652][ T3603] ------------[ cut here ]------------ [ 40.300201][ T3603] memcpy: detected field-spanning write (size 93) of single field "&fh->fb" at fs/overlayfs/export.c:799 (size 21) [ 40.312645][ T3603] WARNING: CPU: 0 PID: 3603 at fs/overlayfs/export.c:799 ovl_fh_to_dentry+0x8c7/0x960 [ 40.322281][ T3603] Modules linked in: [ 40.326262][ T3603] CPU: 1 PID: 3603 Comm: syz-executor795 Not tainted 6.1.0-rc1-syzkaller-00093-g6d36c728bc2e #0 [ 40.336748][ T3603] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 [ 40.346827][ T3603] RIP: 0010:ovl_fh_to_dentry+0x8c7/0x960 [ 40.352454][ T3603] Code: ff e8 ed d0 92 fe c6 05 4d 3e 04 0b 01 b9 15 00 00 00 48 c7 c7 20 01 cc 8a 4c 89 fe 48 c7 c2 00 03 cc 8a 31 c0 e8 19 6f 5a fe <0f> 0b e9 08 fa ff ff 89 d9 80 e1 07 38 c1 0f 8c 3f f9 ff ff 48 89 [ 40.372160][ T3603] RSP: 0018:ffffc90003ddfaa0 EFLAGS: 00010246 [ 40.378270][ T3603] RAX: 5acdb72728e2f100 RBX: ffff8880229a9800 RCX: ffff888025e30000 [ 40.386281][ T3603] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 40.394397][ T3603] RBP: ffffc90003ddfbb0 R08: ffffffff816b8d4d R09: fffff520007bbf0d [ 40.402359][ T3603] R10: fffff520007bbf0d R11: 1ffff920007bbf0c R12: 1ffff920007bbf60 [ 40.410347][ T3603] R13: 0000000000000060 R14: ffff8880229a9803 R15: 000000000000005d [ 40.418382][ T3603] FS: 0000555555706300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 [ 40.427323][ T3603] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 40.433927][ T3603] CR2: 00007f4f579f5a70 CR3: 000000007a7f3000 CR4: 00000000003506e0 [ 40.441890][ T3603] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 40.449867][ T3603] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 40.457855][ T3603] Call Trace: [ 40.461118][ T3603] [ 40.464132][ T3603] ? stack_trace_snprint+0xf0/0xf0 [ 40.469260][ T3603] ? ovl_encode_fh+0x990/0x990 [ 40.474040][ T3603] ? kasan_set_track+0x52/0x60 [ 40.478802][ T3603] ? kasan_set_track+0x3d/0x60 [ 40.483577][ T3603] ? __kasan_kmalloc+0x97/0xb0 [ 40.488335][ T3603] ? __kmalloc+0xaf/0x1a0 [ 40.492654][ T3603] exportfs_decode_fh_raw+0x115/0x600 [ 40.498047][ T3603] ? do_handle_open+0x950/0x950 [ 40.502897][ T3603] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 40.508893][ T3603] ? exportfs_encode_fh+0x420/0x420 [ 40.514112][ T3603] ? __might_fault+0xb6/0x110 [ 40.518777][ T3603] ? trace_lock_release+0x95/0x220 [ 40.523900][ T3603] ? __might_fault+0xb6/0x110 [ 40.528577][ T3603] ? lock_release+0x81/0x820 [ 40.533153][ T3603] ? _raw_spin_lock_irqsave+0x100/0x100 [ 40.538739][ T3603] ? __might_sleep+0xc0/0xc0 [ 40.543339][ T3603] ? __lock_acquire+0x1f60/0x1f60 [ 40.548396][ T3603] ? rcu_read_lock_sched_held+0x5d/0x110 [ 40.554041][ T3603] ? __virt_addr_valid+0x21b/0x2d0 [ 40.559140][ T3603] ? do_handle_open+0x950/0x950 [ 40.564017][ T3603] exportfs_decode_fh+0x38/0x70 [ 40.568871][ T3603] do_handle_open+0x485/0x950 [ 40.573575][ T3603] ? __x64_compat_sys_open_by_handle_at+0x80/0x80 [ 40.579990][ T3603] ? syscall_enter_from_user_mode+0x86/0x1d0 [ 40.585985][ T3603] do_syscall_64+0x3d/0xb0 [ 40.590398][ T3603] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 40.596301][ T3603] RIP: 0033:0x7fe218c69cc9 [ 40.600712][ T3603] Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 [ 40.620366][ T3603] RSP: 002b:00007ffd57d459b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 [ 40.628846][ T3603] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe218c69cc9 [ 40.636865][ T3603] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 [ 40.644849][ T3603] RBP: 00007fe218c2de70 R08: 0000000000000000 R09: 0000000000000000 [ 40.652821][ T3603] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe218c2df00 [ 40.660801][ T3603] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 40.668807][ T3603] [ 40.671819][ T3603] Kernel panic - not syncing: panic_on_warn set ... [ 40.678381][ T3603] CPU: 1 PID: 3603 Comm: syz-executor795 Not tainted 6.1.0-rc1-syzkaller-00093-g6d36c728bc2e #0 [ 40.688786][ T3603] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 [ 40.698820][ T3603] Call Trace: [ 40.702079][ T3603] [ 40.704993][ T3603] dump_stack_lvl+0x1b1/0x28e [ 40.709656][ T3603] ? nf_tcp_handle_invalid+0x62e/0x62e [ 40.715095][ T3603] ? panic+0x710/0x710 [ 40.719152][ T3603] ? vscnprintf+0x59/0x80 [ 40.723557][ T3603] ? ovl_fh_to_dentry+0x860/0x960 [ 40.728577][ T3603] panic+0x2d6/0x710 [ 40.732456][ T3603] ? __warn+0x131/0x220 [ 40.736598][ T3603] ? memcpy_page_flushcache+0xfc/0xfc [ 40.741952][ T3603] ? ovl_fh_to_dentry+0x8c7/0x960 [ 40.746959][ T3603] __warn+0x1fa/0x220 [ 40.750923][ T3603] ? ovl_fh_to_dentry+0x8c7/0x960 [ 40.755928][ T3603] report_bug+0x1b3/0x2d0 [ 40.760241][ T3603] handle_bug+0x3d/0x70 [ 40.764378][ T3603] exc_invalid_op+0x16/0x40 [ 40.768859][ T3603] asm_exc_invalid_op+0x16/0x20 [ 40.773693][ T3603] RIP: 0010:ovl_fh_to_dentry+0x8c7/0x960 [ 40.779307][ T3603] Code: ff e8 ed d0 92 fe c6 05 4d 3e 04 0b 01 b9 15 00 00 00 48 c7 c7 20 01 cc 8a 4c 89 fe 48 c7 c2 00 03 cc 8a 31 c0 e8 19 6f 5a fe <0f> 0b e9 08 fa ff ff 89 d9 80 e1 07 38 c1 0f 8c 3f f9 ff ff 48 89 [ 40.798892][ T3603] RSP: 0018:ffffc90003ddfaa0 EFLAGS: 00010246 [ 40.804935][ T3603] RAX: 5acdb72728e2f100 RBX: ffff8880229a9800 RCX: ffff888025e30000 [ 40.812885][ T3603] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 40.820836][ T3603] RBP: ffffc90003ddfbb0 R08: ffffffff816b8d4d R09: fffff520007bbf0d [ 40.828786][ T3603] R10: fffff520007bbf0d R11: 1ffff920007bbf0c R12: 1ffff920007bbf60 [ 40.836734][ T3603] R13: 0000000000000060 R14: ffff8880229a9803 R15: 000000000000005d [ 40.844686][ T3603] ? __wake_up_klogd+0xcd/0x100 [ 40.849525][ T3603] ? stack_trace_snprint+0xf0/0xf0 [ 40.854621][ T3603] ? ovl_encode_fh+0x990/0x990 [ 40.859368][ T3603] ? kasan_set_track+0x52/0x60 [ 40.864114][ T3603] ? kasan_set_track+0x3d/0x60 [ 40.868858][ T3603] ? __kasan_kmalloc+0x97/0xb0 [ 40.873600][ T3603] ? __kmalloc+0xaf/0x1a0 [ 40.877917][ T3603] exportfs_decode_fh_raw+0x115/0x600 [ 40.883274][ T3603] ? do_handle_open+0x950/0x950 [ 40.888105][ T3603] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 40.894068][ T3603] ? exportfs_encode_fh+0x420/0x420 [ 40.899248][ T3603] ? __might_fault+0xb6/0x110 [ 40.903906][ T3603] ? trace_lock_release+0x95/0x220 [ 40.908998][ T3603] ? __might_fault+0xb6/0x110 [ 40.913653][ T3603] ? lock_release+0x81/0x820 [ 40.918223][ T3603] ? _raw_spin_lock_irqsave+0x100/0x100 [ 40.923750][ T3603] ? __might_sleep+0xc0/0xc0 [ 40.928321][ T3603] ? __lock_acquire+0x1f60/0x1f60 [ 40.933325][ T3603] ? rcu_read_lock_sched_held+0x5d/0x110 [ 40.938936][ T3603] ? __virt_addr_valid+0x21b/0x2d0 [ 40.944031][ T3603] ? do_handle_open+0x950/0x950 [ 40.948863][ T3603] exportfs_decode_fh+0x38/0x70 [ 40.953697][ T3603] do_handle_open+0x485/0x950 [ 40.958358][ T3603] ? __x64_compat_sys_open_by_handle_at+0x80/0x80 [ 40.964757][ T3603] ? syscall_enter_from_user_mode+0x86/0x1d0 [ 40.970720][ T3603] do_syscall_64+0x3d/0xb0 [ 40.975121][ T3603] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 40.980996][ T3603] RIP: 0033:0x7fe218c69cc9 [ 40.985391][ T3603] Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 [ 41.004973][ T3603] RSP: 002b:00007ffd57d459b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 [ 41.013362][ T3603] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe218c69cc9 [ 41.021313][ T3603] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 [ 41.029264][ T3603] RBP: 00007fe218c2de70 R08: 0000000000000000 R09: 0000000000000000 [ 41.037227][ T3603] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe218c2df00 [ 41.045180][ T3603] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 41.053137][ T3603] [ 41.056316][ T3603] Kernel Offset: disabled [ 41.060629][ T3603] Rebooting in 86400 seconds..