bisecting fixing commit since afc997898ece86b15214a5872f21a3011aa2b23d building syzkaller on 44068e196185e2f5a7c94629b6245cdde008b140 testing commit afc997898ece86b15214a5872f21a3011aa2b23d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 16248e6ee2a709b1fc7bed16e750bea9c500f8fed804d7eb51bf2c8a174ace86 all runs: crashed: kernel BUG in notify_change testing current HEAD c194212a033217426dda6e86b5b351f1fb9894c9 testing commit c194212a033217426dda6e86b5b351f1fb9894c9 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6e6b815a455c2e77b529fec0adf0507e284a1916be9ecb227cc21a39a7b460cb all runs: crashed: kernel BUG in notify_change revisions tested: 2, total time: 18m35.078664672s (build: 12m21.426433311s, test: 5m46.422553874s) the crash still happens on HEAD commit msg: Merge 5.10.101 into android12-5.10-lts crash: kernel BUG in notify_change ------------[ cut here ]------------ kernel BUG at fs/attr.c:289! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 406 Comm: syz-executor511 Not tainted 5.10.101-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:notify_change+0xa94/0xd70 fs/attr.c:289 Code: 4c 89 ef e8 6e b9 f2 ff e9 25 f6 ff ff 4c 89 ef 89 55 a0 e8 5e b9 f2 ff 8b 55 a0 e9 c8 f7 ff ff e8 51 b9 f2 ff e9 81 f6 ff ff <0f> 0b e8 45 b9 f2 ff e9 85 f8 ff ff 89 45 a0 e8 b8 b9 f2 ff 8b 45 RSP: 0018:ffffc90000787be0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000001847 RCX: 0000000000000000 RDX: 1ffff920000f0fba RSI: 0000000000000001 RDI: ffffc90000787dd0 RBP: ffffc90000787c40 R08: 0000000000000000 R09: ffff88810d71ec8f R10: 00000000620e0da8 R11: 0000000033428afd R12: ffff88811abffdd0 R13: ffffc90000787da8 R14: ffff88810d71ebe8 R15: ffff88810d71ec88 FS: 00005555570a2300(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000100 CR3: 000000010c3dc000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: incfs_setattr+0x168/0x2c0 fs/incfs/vfs.c:1612 notify_change+0x740/0xd70 fs/attr.c:336 chown_common+0x2ab/0x4b0 fs/open.c:675 do_fchownat+0xe9/0x160 fs/open.c:705 __do_sys_lchown fs/open.c:730 [inline] __se_sys_lchown fs/open.c:728 [inline] __x64_sys_lchown+0x79/0xb0 fs/open.c:728 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f5595bb8ba9 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 RSP: 002b:00007fffd7fdb198 EFLAGS: 00000246 ORIG_RAX: 000000000000005e RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f5595bb8ba9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 2f30656c69662f2e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5595b7cde0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 07ff5704107ff2fa ]--- RIP: 0010:notify_change+0xa94/0xd70 fs/attr.c:289 Code: 4c 89 ef e8 6e b9 f2 ff e9 25 f6 ff ff 4c 89 ef 89 55 a0 e8 5e b9 f2 ff 8b 55 a0 e9 c8 f7 ff ff e8 51 b9 f2 ff e9 81 f6 ff ff <0f> 0b e8 45 b9 f2 ff e9 85 f8 ff ff 89 45 a0 e8 b8 b9 f2 ff 8b 45 RSP: 0018:ffffc90000787be0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000001847 RCX: 0000000000000000 RDX: 1ffff920000f0fba RSI: 0000000000000001 RDI: ffffc90000787dd0 RBP: ffffc90000787c40 R08: 0000000000000000 R09: ffff88810d71ec8f R10: 00000000620e0da8 R11: 0000000033428afd R12: ffff88811abffdd0 R13: ffffc90000787da8 R14: ffff88810d71ebe8 R15: ffff88810d71ec88 FS: 00005555570a2300(0000) GS:ffff8881f7300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000100 CR3: 000000010c3dc000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400