------------[ cut here ]------------ WARNING: CPU: 1 PID: 7696 at fs/attr.c:298 setattr_copy_mgtime fs/attr.c:298 [inline] WARNING: CPU: 1 PID: 7696 at fs/attr.c:298 setattr_copy+0x84c/0x950 fs/attr.c:355 Modules linked in: CPU: 1 PID: 7696 Comm: syz-executor.5 Not tainted 6.6.0-rc1-next-20230914-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 54 bf 92 ff <0f> 0b e9 91 fd ff ff 4c 89 ff e8 a5 99 e8 ff e9 69 f8 ff ff e8 9b RSP: 0018:ffffc90009f86fd0 EFLAGS: 00010283 RAX: 000000000001ae61 RBX: ffff88808a570cb0 RCX: ffffc90009fd1000 RDX: 0000000000040000 RSI: ffffffff81f5307c RDI: 0000000000000005 RBP: ffffc90009f87008 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000030 R11: ffffffff8a60008b R12: ffffc90009f87188 R13: 0000000000000030 R14: 0000000000000000 R15: ffff88808a570cd8 FS: 00007f8a4d43b6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8a4d43bd58 CR3: 000000002ccce000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_setattr+0x36f/0x2990 fs/ext4/inode.c:5479 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_tmpfile fs/overlayfs/copy_up.c:818 [inline] ovl_do_copy_up fs/overlayfs/copy_up.c:903 [inline] ovl_copy_up_one+0x1a90/0x2f10 fs/overlayfs/copy_up.c:1091 ovl_copy_up_flags+0x189/0x200 fs/overlayfs/copy_up.c:1146 ovl_set_or_remove_acl fs/overlayfs/inode.c:639 [inline] ovl_set_acl+0x6ac/0x990 fs/overlayfs/inode.c:692 set_posix_acl+0x259/0x320 fs/posix_acl.c:956 vfs_set_acl+0x539/0x900 fs/posix_acl.c:1135 do_set_acl+0xda/0x1b0 fs/posix_acl.c:1280 do_setxattr+0xeb/0x170 fs/xattr.c:627 setxattr+0x159/0x170 fs/xattr.c:653 path_setxattr+0x1a3/0x1d0 fs/xattr.c:672 __do_sys_setxattr fs/xattr.c:688 [inline] __se_sys_setxattr fs/xattr.c:684 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:684 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:0x7f8a4c67cae9 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:00007f8a4d43b0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f8a4c79c050 RCX: 00007f8a4c67cae9 RDX: 0000000020000300 RSI: 00000000200001c0 RDI: 0000000020000000 RBP: 00007f8a4c6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000024 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f8a4c79c050 R15: 00007ffe5377fbb8