------------[ cut here ]------------ WARNING: CPU: 1 PID: 18638 at fs/attr.c:298 setattr_copy_mgtime fs/attr.c:298 [inline] WARNING: CPU: 1 PID: 18638 at fs/attr.c:298 setattr_copy+0x84c/0x950 fs/attr.c:355 Modules linked in: CPU: 1 PID: 18638 Comm: syz-executor.2 Not tainted 6.6.0-rc1-next-20230912-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:setattr_copy_mgtime fs/attr.c:298 [inline] RIP: 0010:setattr_copy+0x84c/0x950 fs/attr.c:355 Code: 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 66 83 3c 02 00 0f 85 ff 00 00 00 4c 89 73 68 4c 89 7b 70 e9 9d fd ff ff e8 74 a8 92 ff <0f> 0b e9 91 fd ff ff 4c 89 ff e8 b5 93 e8 ff e9 69 f8 ff ff e8 ab RSP: 0018:ffffc900039bef40 EFLAGS: 00010283 RAX: 00000000000110c4 RBX: ffff8880379cc3d0 RCX: ffffc90004299000 RDX: 0000000000040000 RSI: ffffffff81f54afc RDI: 0000000000000005 RBP: ffffc900039bef78 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000030 R11: ffffffff8a411148 R12: ffffc900039bf098 R13: 0000000000000030 R14: 0000000000000000 R15: ffff8880379cc3f8 FS: 00007f9cdc1846c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555557ce978 CR3: 000000007e517000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shmem_setattr+0x676/0x1060 mm/shmem.c:1238 notify_change+0x742/0x11c0 fs/attr.c:539 ovl_do_notify_change fs/overlayfs/overlayfs.h:188 [inline] ovl_set_timestamps.isra.0+0x168/0x1e0 fs/overlayfs/copy_up.c:345 ovl_set_attr.part.0+0x1c8/0x210 fs/overlayfs/copy_up.c:369 ovl_set_attr+0x1c9/0x200 fs/overlayfs/copy_up.c:372 ovl_copy_up_metadata+0x471/0x6c0 fs/overlayfs/copy_up.c:668 ovl_copy_up_workdir fs/overlayfs/copy_up.c:747 [inline] ovl_do_copy_up fs/overlayfs/copy_up.c:905 [inline] ovl_copy_up_one+0xb10/0x2f10 fs/overlayfs/copy_up.c:1091 ovl_copy_up_flags+0x189/0x200 fs/overlayfs/copy_up.c:1146 ovl_xattr_set+0x3da/0x5c0 fs/overlayfs/inode.c:378 __vfs_setxattr+0x173/0x1d0 fs/xattr.c:201 __vfs_setxattr_noperm+0x127/0x5e0 fs/xattr.c:235 __vfs_setxattr_locked+0x17e/0x250 fs/xattr.c:296 vfs_setxattr+0x146/0x350 fs/xattr.c:322 do_setxattr+0x142/0x170 fs/xattr.c:630 setxattr+0x159/0x170 fs/xattr.c:653 path_setxattr+0x1a3/0x1d0 fs/xattr.c:672 __do_sys_lsetxattr fs/xattr.c:695 [inline] __se_sys_lsetxattr fs/xattr.c:691 [inline] __x64_sys_lsetxattr+0xc1/0x160 fs/xattr.c:691 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9cdb47cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9cdc1840c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f9cdb59bf80 RCX: 00007f9cdb47cae9 RDX: 0000000000000000 RSI: 00000000200005c0 RDI: 0000000020000500 RBP: 00007f9cdb4c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9cdb59bf80 R15: 00007ffe0277bc18