general protection fault in anon_vma_interval_tree_insert

28 views
Skip to first unread message

syzbot

unread,
Jun 28, 2020, 7:51:12 PM6/28/20
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10977f53100000
kernel config: https://syzkaller.appspot.com/x/.config?x=d195fe572fb15312
dashboard link: https://syzkaller.appspot.com/bug?extid=1a6de86686bf01a6084f
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
CC: [ak...@linux-foundation.org linux-...@vger.kernel.org linu...@kvack.org]

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

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

general protection fault, probably for non-canonical address 0xdffffc0000000013: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000098-0x000000000000009f]
CPU: 1 PID: 3875 Comm: systemd-udevd Not tainted 5.7.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:avc_start_pgoff mm/interval_tree.c:63 [inline]
RIP: 0010:__anon_vma_interval_tree_insert mm/interval_tree.c:71 [inline]
RIP: 0010:anon_vma_interval_tree_insert+0x1f8/0x500 mm/interval_tree.c:82
Code: d3 ff 48 8d 7d e0 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 2a 02 00 00 48 8b 45 e0 48 8d b8 98 00 00 00 48 89 fa 48 c1 ea 03 <42> 80 3c 32 00 0f 85 f9 01 00 00 48 8b b0 98 00 00 00 48 8b 7c 24
RSP: 0018:ffffc90001477940 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ffff8880a1ebad20 RCX: ffffffff81a07598
RDX: 0000000000000013 RSI: ffffffff81a075b0 RDI: 0000000000000098
RBP: ffff88800010ad40 R08: ffff8880a2caa340 R09: ffffed1012f4bac3
R10: ffff888097a5d617 R11: ffffed1012f4bac2 R12: ffff888097a5d6b0
R13: 0000000000000007 R14: dffffc0000000000 R15: 0000000000000001
FS: 00007f5cabf8c8c0(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000078c000 CR3: 00000000a34db000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
anon_vma_clone+0x15a/0x480 mm/rmap.c:292
anon_vma_fork+0x82/0x490 mm/rmap.c:345
dup_mmap kernel/fork.c:566 [inline]
dup_mm+0x959/0x1300 kernel/fork.c:1372
copy_mm kernel/fork.c:1428 [inline]
copy_process+0x29e3/0x7130 kernel/fork.c:2099
_do_fork+0x12d/0x1010 kernel/fork.c:2444
__do_sys_clone+0xef/0x150 kernel/fork.c:2600
do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x7f5caaddc38b
Code: db 45 85 f6 0f 85 95 01 00 00 64 4c 8b 04 25 10 00 00 00 31 d2 4d 8d 90 d0 02 00 00 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 de 00 00 00 85 c0 41 89 c5 0f 85 e5 00 00
RSP: 002b:00007ffc4b3de340 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffc4b3de340 RCX: 00007f5caaddc38b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffc4b3de390 R08: 00007f5cabf8c8c0 R09: 0000000000000210
R10: 00007f5cabf8cb90 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000020 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 53dec15afa6f0ea8 ]---
RIP: 0010:avc_start_pgoff mm/interval_tree.c:63 [inline]
RIP: 0010:__anon_vma_interval_tree_insert mm/interval_tree.c:71 [inline]
RIP: 0010:anon_vma_interval_tree_insert+0x1f8/0x500 mm/interval_tree.c:82
Code: d3 ff 48 8d 7d e0 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 2a 02 00 00 48 8b 45 e0 48 8d b8 98 00 00 00 48 89 fa 48 c1 ea 03 <42> 80 3c 32 00 0f 85 f9 01 00 00 48 8b b0 98 00 00 00 48 8b 7c 24
RSP: 0018:ffffc90001477940 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ffff8880a1ebad20 RCX: ffffffff81a07598
RDX: 0000000000000013 RSI: ffffffff81a075b0 RDI: 0000000000000098
RBP: ffff88800010ad40 R08: ffff8880a2caa340 R09: ffffed1012f4bac3
R10: ffff888097a5d617 R11: ffffed1012f4bac2 R12: ffff888097a5d6b0
R13: 0000000000000007 R14: dffffc0000000000 R15: 0000000000000001
FS: 00007f5cabf8c8c0(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000078c000 CR3: 00000000a34db000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 13, 2020, 1:13:07 AM12/13/20
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