FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 1
CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.12.0-rc5-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
fail_dump lib/fault-inject.c:53 [inline]
should_fail_ex+0x3b0/0x4e0 lib/fault-inject.c:154
should_failslab+0xac/0x100 mm/failslab.c:46
slab_pre_alloc_hook mm/slub.c:4038 [inline]
slab_alloc_node mm/slub.c:4114 [inline]
__kmalloc_cache_noprof+0x6c/0x2c0 mm/slub.c:4290
kmalloc_noprof include/linux/slab.h:878 [inline]
kzalloc_noprof include/linux/slab.h:1014 [inline]
ovl_encode_real_fh+0xdf/0x410 fs/overlayfs/copy_up.c:432
ovl_dentry_to_fid fs/overlayfs/export.c:239 [inline]
ovl_encode_fh+0x388/0xc20 fs/overlayfs/export.c:274
exportfs_encode_inode_fh fs/exportfs/expfs.c:392 [inline]
exportfs_encode_fh+0x1bd/0x3e0 fs/exportfs/expfs.c:421
ovl_encode_real_fh+0x129/0x410 fs/overlayfs/copy_up.c:442
ovl_get_index_name fs/overlayfs/namei.c:741 [inline]
ovl_lookup_index+0x71/0x6e0 fs/overlayfs/namei.c:790
ovl_lookup+0x1d6b/0x2a60 fs/overlayfs/namei.c:1271
__lookup_slow+0x28c/0x3f0 fs/namei.c:1732
lookup_slow+0x53/0x70 fs/namei.c:1749
walk_component+0x2e1/0x410 fs/namei.c:2053
lookup_last fs/namei.c:2556 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2580
filename_lookup+0x256/0x610 fs/namei.c:2609
user_path_at+0x3a/0x60 fs/namei.c:3016
do_fchownat+0xed/0x240 fs/open.c:818
__do_sys_fchownat fs/open.c:839 [inline]
__se_sys_fchownat fs/open.c:836 [inline]
__x64_sys_fchownat+0xb5/0xd0 fs/open.c:836
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a9097e719
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9a9175c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000104
RAX: ffffffffffffffda RBX: 00007f9a90b35f80 RCX: 00007f9a9097e719
RDX: 0000000000000000 RSI: 0000000020000440 RDI: ffffffffffffff9c
RBP: 00007f9a9175c090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 0000000000000000 R14: 00007f9a90b35f80 R15: 00007ffd0b79b4e8
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5324 at fs/overlayfs/copy_up.c:448 ovl_encode_real_fh+0x2e2/0x410 fs/overlayfs/copy_up.c:448
Modules linked in:
CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.12.0-rc5-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:ovl_encode_real_fh+0x2e2/0x410 fs/overlayfs/copy_up.c:448
Code: 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 e5 ba 75 fe 90 0f 0b 90 eb 14 e8 da ba 75 fe 90 0f 0b 90 eb 09 e8 cf ba 75 fe 90 <0f> 0b 90 4c 89 ff e8 d3 66 d3 fe 49 c7 c7 fb ff ff ff eb 8b 89 d1
RSP: 0018:ffffc9000d3ef580 EFLAGS: 00010293
RAX: ffffffff831f1dc1 RBX: 1ffff92001a7deb8 RCX: ffff88801f012440
RDX: 0000000000000000 RSI: 00000000000000ff RDI: 00000000000000ff
RBP: ffffc9000d3ef630 R08: ffffffff831f1c5c R09: 1ffffffff203a065
R10: dffffc0000000000 R11: fffffbfff203a066 R12: 00000000000000ff
R13: 0000000000000080 R14: 1ffff92001a7deb4 R15: ffff88801bb57b00
FS: 00007f9a9175c6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9a90b0d538 CR3: 0000000043dce000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ovl_get_index_name fs/overlayfs/namei.c:741 [inline]
ovl_lookup_index+0x71/0x6e0 fs/overlayfs/namei.c:790
ovl_lookup+0x1d6b/0x2a60 fs/overlayfs/namei.c:1271
__lookup_slow+0x28c/0x3f0 fs/namei.c:1732
lookup_slow+0x53/0x70 fs/namei.c:1749
walk_component+0x2e1/0x410 fs/namei.c:2053
lookup_last fs/namei.c:2556 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2580
filename_lookup+0x256/0x610 fs/namei.c:2609
user_path_at+0x3a/0x60 fs/namei.c:3016
do_fchownat+0xed/0x240 fs/open.c:818
__do_sys_fchownat fs/open.c:839 [inline]
__se_sys_fchownat fs/open.c:836 [inline]
__x64_sys_fchownat+0xb5/0xd0 fs/open.c:836
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a9097e719
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9a9175c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000104
RAX: ffffffffffffffda RBX: 00007f9a90b35f80 RCX: 00007f9a9097e719
RDX: 0000000000000000 RSI: 0000000020000440 RDI: ffffffffffffff9c
RBP: 00007f9a9175c090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 0000000000000000 R14: 00007f9a90b35f80 R15: 00007ffd0b79b4e8