kernel BUG in __vma_link_rb

8 views
Skip to first unread message

syzbot

unread,
Nov 16, 2021, 12:59:19 AM11/16/21
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 5833291ab6de Merge tag 'pci-v5.16-fixes-1' of git://git.ke..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=161936fab00000
kernel config: https://syzkaller.appspot.com/x/.config?x=2897a869f0607967
dashboard link: https://syzkaller.appspot.com/bug?extid=e2fa2124a8cc71ca2706
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [ak...@linux-foundation.org linux-...@vger.kernel.org linu...@kvack.org]

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+e2fa21...@syzkaller.appspotmail.com

pgoff 0 file ffff888072975180 private_data 0000000000000000
flags: 0x180400fb(read|write|shared|mayread|maywrite|mayexec|mayshare|dontexpand|softdirty|mixedmap)
------------[ cut here ]------------
kernel BUG at mm/mmap.c:388!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 744 Comm: syz-executor.4 Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:validate_mm_rb mm/mmap.c:386 [inline]
RIP: 0010:vma_rb_insert mm/mmap.c:458 [inline]
RIP: 0010:__vma_link_rb+0x800/0x810 mm/mmap.c:657
Code: 74 24 08 48 c7 c2 f0 02 c1 81 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d e9 1d ef 7b 02 e8 e8 6d c4 ff 4c 89 ef e8 c0 11 fc ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41 57
RSP: 0018:ffffc900192ffb40 EFLAGS: 00010282
RAX: 0000000000000169 RBX: 0000000000000000 RCX: d20cd74898fcc700
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fb1b9754000 R08: ffffffff8169daf2 R09: ffffed10173467b1
R10: ffffed10173467b1 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88800010e108 R14: dffffc0000000000 R15: ffff88800010e128
FS: 0000555556fc8400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f103ab9c000 CR3: 000000014fa76000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__vma_link mm/mmap.c:683 [inline]
vma_link+0xc0/0x1f0 mm/mmap.c:697
mmap_region+0x126f/0x17e0 mm/mmap.c:1839
do_mmap+0x88b/0xf30 mm/mmap.c:1575
vm_mmap_pgoff+0x1e5/0x2f0 mm/util.c:519
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fb1bb3dcb32
Code: 00 00 00 00 00 0f 1f 00 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 3b 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 5b 5d c3 0f 1f 00 48 c7 c0 bc ff ff ff 64
RSP: 002b:00007fffe1d46578 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000020022 RCX: 00007fb1bb3dcb32
RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000020022 R11: 0000000000000246 R12: 00007fffe1d46770
R13: 00007fb1b9153700 R14: 0000000000000000 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 395ddb8e02d943e7 ]---
RIP: 0010:validate_mm_rb mm/mmap.c:386 [inline]
RIP: 0010:vma_rb_insert mm/mmap.c:458 [inline]
RIP: 0010:__vma_link_rb+0x800/0x810 mm/mmap.c:657
Code: 74 24 08 48 c7 c2 f0 02 c1 81 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d e9 1d ef 7b 02 e8 e8 6d c4 ff 4c 89 ef e8 c0 11 fc ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41 57
RSP: 0018:ffffc900192ffb40 EFLAGS: 00010282
RAX: 0000000000000169 RBX: 0000000000000000 RCX: d20cd74898fcc700
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fb1b9754000 R08: ffffffff8169daf2 R09: ffffed10173467b1
R10: ffffed10173467b1 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88800010e108 R14: dffffc0000000000 R15: ffff88800010e128
FS: 0000555556fc8400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f103ab9c000 CR3: 000000014fa76000 CR4: 00000000003506f0
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,
Mar 5, 2022, 6:59:22 PM3/5/22
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages