syzbot


kernel BUG in notify_change

Status: fixed on 2022/03/05 17:38
Reported-by: syzbot+e1e0920124ce79556420@syzkaller.appspotmail.com
Fix commit: 6f915dd2af92 ANDROID: incremental-fs: remove index and incomplete dir on umount
First crash: 851d, last: 792d
Cause bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 kernel BUG in notify_change (2) C error 2 726d 726d 0/2 closed as invalid on 2022/05/06 17:34
android-5-10 kernel BUG in notify_change (3) C error 2 606d 606d 2/2 fixed on 2022/10/03 16:13
android-54 kernel BUG in notify_change C 18 603d 1146d 2/2 fixed on 2022/09/20 15:04
android-5-15 kernel BUG in notify_change C inconclusive 2 519d 551d 2/2 fixed on 2023/08/02 14:36
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2022/02/17 08:37 18m bisect fix android12-5.10-lts job log (0) log

Sample crash report:
kernel BUG at fs/attr.c:289!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 365 Comm: syz-executor828 Not tainted 5.10.85-syzkaller-00573-gafc997898ece #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:notify_change+0x1016/0x1020 fs/attr.c:289 fs/attr.c:289
Code: f0 ff e9 ac fc ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c d6 fc ff ff 4c 89 ff e8 34 ae f0 ff e9 c9 fc ff ff e8 1a d9 b6 ff <0f> 0b 0f 1f 84 00 00 00 00 00 be 01 00 00 00 48 c7 c7 b0 18 64 86
RSP: 0018:ffffc90000bf7b18 EFLAGS: 00010293
RAX: ffffffff81b60756 RBX: 0000000000000001 RCX: ffff8881079b4f00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000bf7bb0 R08: ffffffff81b5fcda R09: ffffc90000bf7aa0
R10: fffff5200017ef56 R11: 0000000000000000 R12: 0000000000001847
R13: ffff888119582660 R14: ffffc90000bf7d60 R15: dffffc0000000000
FS:  0000555556d51300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000100 CR3: 0000000107baf000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 incfs_setattr+0x225/0x3a0 fs/incfs/vfs.c:1609 fs/incfs/vfs.c:1609
 notify_change+0xb78/0x1020 fs/attr.c:336 fs/attr.c:336
 chown_common+0x3a1/0x660 fs/open.c:675 fs/open.c:675
 do_fchownat+0x165/0x240 fs/open.c:705 fs/open.c:705
 __do_sys_lchown fs/open.c:730 [inline]
 __se_sys_lchown fs/open.c:728 [inline]
 __do_sys_lchown fs/open.c:730 [inline] fs/open.c:728
 __se_sys_lchown fs/open.c:728 [inline] fs/open.c:728
 __x64_sys_lchown+0x85/0x90 fs/open.c:728 fs/open.c:728
 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f9d985f6079
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:00007ffc09460bc8 EFLAGS: 00000246 ORIG_RAX: 000000000000005e
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f9d985f6079
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 2f30656c69662f2e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9d985ba0f0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 28cb261eca437a70 ]---
RIP: 0010:notify_change+0x1016/0x1020 fs/attr.c:289 fs/attr.c:289
Code: f0 ff e9 ac fc ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c d6 fc ff ff 4c 89 ff e8 34 ae f0 ff e9 c9 fc ff ff e8 1a d9 b6 ff <0f> 0b 0f 1f 84 00 00 00 00 00 be 01 00 00 00 48 c7 c7 b0 18 64 86
RSP: 0018:ffffc90000bf7b18 EFLAGS: 00010293
RAX: ffffffff81b60756 RBX: 0000000000000001 RCX: ffff8881079b4f00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000bf7bb0 R08: ffffffff81b5fcda R09: ffffc90000bf7aa0
R10: fffff5200017ef56 R11: 0000000000000000 R12: 0000000000001847
R13: ffff888119582660 R14: ffffc90000bf7d60 R15: dffffc0000000000
FS:  0000555556d51300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000100 CR3: 0000000107baf000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/19 20:53 android12-5.10-lts afc997898ece 44068e19 .config console log report syz C ci2-android-5-10 kernel BUG in notify_change
2022/01/18 07:02 android12-5.10-lts f45f895af546 731a2d23 .config console log report info ci2-android-5-10 kernel BUG in notify_change
2021/12/19 20:37 android12-5.10-lts afc997898ece 44068e19 .config console log report info ci2-android-5-10 kernel BUG in notify_change
* Struck through repros no longer work on HEAD.