kernel BUG in notify_change

8 views
Skip to first unread message

syzbot

unread,
Dec 19, 2021, 3:38:26 PM12/19/21
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: afc997898ece Merge 5.10.85 into android12-5.10-lts
git tree: android12-5.10-lts
console output: https://syzkaller.appspot.com/x/log.txt?x=14f8a349b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=977f5eaa96dd4962
dashboard link: https://syzkaller.appspot.com/bug?extid=e1e0920124ce79556420
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e1e092...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at fs/attr.c:289!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 32192 Comm: syz-executor.1 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
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:ffffc90001677b18 EFLAGS: 00010287
RAX: ffffffff81b60756 RBX: 0000000000000001 RCX: 0000000000040000
RDX: ffffc90004f0a000 RSI: 00000000000001dd RDI: 00000000000001de
RBP: ffffc90001677bb0 R08: ffffffff81b5fcda R09: ffffc90001677aa0
R10: fffff520002cef56 R11: 0000000000000000 R12: 0000000000001847
R13: ffff888164e50bb0 R14: ffffc90001677d60 R15: dffffc0000000000
FS: 00007efffdc9f700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557081b38 CR3: 0000000165bef000 CR4: 00000000003526a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
incfs_setattr+0x225/0x3a0 fs/incfs/vfs.c:1609
notify_change+0xb78/0x1020 fs/attr.c:336
chown_common+0x3a1/0x660 fs/open.c:675
do_fchownat+0x165/0x240 fs/open.c:705
__do_sys_lchown fs/open.c:730 [inline]
__se_sys_lchown fs/open.c:728 [inline]
__x64_sys_lchown+0x85/0x90 fs/open.c:728
do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7efffeb28e99
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007efffdc9f168 EFLAGS: 00000246 ORIG_RAX: 000000000000005e
RAX: ffffffffffffffda RBX: 00007efffec3bf60 RCX: 00007efffeb28e99
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 00007efffeb82ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe1d91718f R14: 00007efffdc9f300 R15: 0000000000022000
Modules linked in:
---[ end trace 5488075aa5e67a39 ]---
RIP: 0010:notify_change+0x1016/0x1020 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:ffffc90001677b18 EFLAGS: 00010287
RAX: ffffffff81b60756 RBX: 0000000000000001 RCX: 0000000000040000
RDX: ffffc90004f0a000 RSI: 00000000000001dd RDI: 00000000000001de
RBP: ffffc90001677bb0 R08: ffffffff81b5fcda R09: ffffc90001677aa0
R10: fffff520002cef56 R11: 0000000000000000 R12: 0000000000001847
R13: ffff888164e50bb0 R14: ffffc90001677d60 R15: dffffc0000000000
FS: 00007efffdc9f700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4132e6c000 CR3: 0000000165bef000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 19, 2021, 3:54:20 PM12/19/21
to syzkaller-a...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: afc997898ece Merge 5.10.85 into android12-5.10-lts
git tree: android12-5.10-lts
console output: https://syzkaller.appspot.com/x/log.txt?x=126b505db00000
kernel config: https://syzkaller.appspot.com/x/.config?x=977f5eaa96dd4962
dashboard link: https://syzkaller.appspot.com/bug?extid=e1e0920124ce79556420
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11d2f693b00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=143f2543b00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e1e092...@syzkaller.appspotmail.com

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
Reply all
Reply to author
Forward
0 new messages