overlayfs: upper fs needs to support d_type. overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support RENAME_WHITEOUT. ================================================================== BUG: KASAN: user-memory-access in scnprintf_cpu_key fs/reiserfs/prints.c:95 [inline] BUG: KASAN: user-memory-access in prepare_error_buf+0x1198/0x1580 fs/reiserfs/prints.c:229 Read of size 4 at addr 00000000ffffffff by task syz.1.344/5068 CPU: 0 PID: 5068 Comm: syz.1.344 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 __kasan_report mm/kasan/report.c:438 [inline] kasan_report+0x168/0x1e4 mm/kasan/report.c:451 __asan_report_load4_noabort+0x44/0x50 mm/kasan/report_generic.c:308 scnprintf_cpu_key fs/reiserfs/prints.c:95 [inline] prepare_error_buf+0x1198/0x1580 fs/reiserfs/prints.c:229 __reiserfs_error+0xe8/0x2ac fs/reiserfs/prints.c:396 reiserfs_do_truncate+0x2c0/0x11c8 fs/reiserfs/stree.c:1930 reiserfs_delete_object+0x80/0x1ac fs/reiserfs/stree.c:1503 reiserfs_evict_inode+0x26c/0x3f0 fs/reiserfs/inode.c:63 evict+0x260/0x68c fs/inode.c:587 iput_final fs/inode.c:1705 [inline] iput+0x744/0x824 fs/inode.c:1731 dentry_unlink_inode+0x37c/0x4bc fs/dcache.c:380 d_delete+0xa4/0x18c fs/dcache.c:2512 xattr_unlink fs/reiserfs/xattr.c:96 [inline] lookup_and_delete_xattr fs/reiserfs/xattr.c:501 [inline] reiserfs_xattr_set_handle+0x938/0xc10 fs/reiserfs/xattr.c:536 reiserfs_xattr_set+0x398/0x4b0 fs/reiserfs/xattr.c:640 trusted_set+0x98/0xec fs/reiserfs/xattr_trusted.c:31 __vfs_removexattr+0x370/0x38c fs/xattr.c:470 __vfs_removexattr_locked+0x1d8/0x380 fs/xattr.c:505 vfs_removexattr+0xe0/0x23c fs/xattr.c:527 ovl_do_removexattr fs/overlayfs/overlayfs.h:213 [inline] ovl_make_workdir fs/overlayfs/super.c:1441 [inline] ovl_get_workdir+0xa08/0x1110 fs/overlayfs/super.c:1524 ovl_fill_super+0x15b4/0x2254 fs/overlayfs/super.c:2080 mount_nodev+0x68/0x104 fs/super.c:1444 ovl_mount+0x3c/0x50 fs/overlayfs/super.c:2171 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611 vfs_get_tree+0x90/0x274 fs/super.c:1528 do_new_mount+0x278/0x8fc fs/namespace.c:3005 path_mount+0x594/0x101c fs/namespace.c:3335 do_mount fs/namespace.c:3348 [inline] __do_sys_mount fs/namespace.c:3556 [inline] __se_sys_mount fs/namespace.c:3533 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3533 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 ================================================================== Unable to handle kernel paging request at virtual address 00000000ffffffff Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000005 CM = 0, WnR = 0 user pgtable: 4k pages, 48-bit VAs, pgdp=00000001271fc000 [00000000ffffffff] pgd=080000012f9c4003, p4d=080000012f9c4003, pud=0000000000000000 Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 5068 Comm: syz.1.344 Tainted: G B 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : scnprintf_cpu_key fs/reiserfs/prints.c:95 [inline] pc : prepare_error_buf+0x6dc/0x1580 fs/reiserfs/prints.c:229 lr : scnprintf_cpu_key fs/reiserfs/prints.c:95 [inline] lr : prepare_error_buf+0x1198/0x1580 fs/reiserfs/prints.c:229 sp : ffff80001c9d6880 x29: ffff80001c9d6a00 x28: ffff80001872c95e x27: ffff80001872ba5e x26: ffff80001c9d6af8 x25: ffff80001c9d6ae0 x24: ffff80001c9d6960 x23: ffff80001872ba40 x22: 00000000ffffffff x21: ffffffffffffffe2 x20: 00000000000003e2 x19: dfff800000000000 x18: 0000000000000003 x17: 0000000000000002 x16: ffff80000824ec14 x15: 00000000ffffffff x14: ffff0000c8748000 x13: 0000000000000001 x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001d61a000 x9 : 0000000000000000 x8 : ffff0000c8748000 x7 : 0000000000000000 x6 : 0000000000000001 x5 : ffff80001c9d5f18 x4 : 0000000000000000 x3 : ffff80000819c844 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 00000000ffffffff Call trace: scnprintf_cpu_key fs/reiserfs/prints.c:95 [inline] prepare_error_buf+0x6dc/0x1580 fs/reiserfs/prints.c:229 __reiserfs_error+0xe8/0x2ac fs/reiserfs/prints.c:396 reiserfs_do_truncate+0x2c0/0x11c8 fs/reiserfs/stree.c:1930 reiserfs_delete_object+0x80/0x1ac fs/reiserfs/stree.c:1503 reiserfs_evict_inode+0x26c/0x3f0 fs/reiserfs/inode.c:63 evict+0x260/0x68c fs/inode.c:587 iput_final fs/inode.c:1705 [inline] iput+0x744/0x824 fs/inode.c:1731 dentry_unlink_inode+0x37c/0x4bc fs/dcache.c:380 d_delete+0xa4/0x18c fs/dcache.c:2512 xattr_unlink fs/reiserfs/xattr.c:96 [inline] lookup_and_delete_xattr fs/reiserfs/xattr.c:501 [inline] reiserfs_xattr_set_handle+0x938/0xc10 fs/reiserfs/xattr.c:536 reiserfs_xattr_set+0x398/0x4b0 fs/reiserfs/xattr.c:640 trusted_set+0x98/0xec fs/reiserfs/xattr_trusted.c:31 __vfs_removexattr+0x370/0x38c fs/xattr.c:470 __vfs_removexattr_locked+0x1d8/0x380 fs/xattr.c:505 vfs_removexattr+0xe0/0x23c fs/xattr.c:527 ovl_do_removexattr fs/overlayfs/overlayfs.h:213 [inline] ovl_make_workdir fs/overlayfs/super.c:1441 [inline] ovl_get_workdir+0xa08/0x1110 fs/overlayfs/super.c:1524 ovl_fill_super+0x15b4/0x2254 fs/overlayfs/super.c:2080 mount_nodev+0x68/0x104 fs/super.c:1444 ovl_mount+0x3c/0x50 fs/overlayfs/super.c:2171 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611 vfs_get_tree+0x90/0x274 fs/super.c:1528 do_new_mount+0x278/0x8fc fs/namespace.c:3005 path_mount+0x594/0x101c fs/namespace.c:3335 do_mount fs/namespace.c:3348 [inline] __do_sys_mount fs/namespace.c:3556 [inline] __se_sys_mount fs/namespace.c:3533 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3533 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: d343fec8 38f36908 35005568 aa1603e0 (b8404418) ---[ end trace f45c76f979612ecf ]--- ---------------- Code disassembly (best guess): 0: d343fec8 lsr x8, x22, #3 4: 38f36908 ldrsb w8, [x8, x19] 8: 35005568 cbnz w8, 0xab4 c: aa1603e0 mov x0, x22 * 10: b8404418 ldr w24, [x0], #4 <-- trapping instruction