general protection fault in anon_vma_interval_tree_insert

18 views
Skip to first unread message

syzbot

unread,
May 12, 2021, 1:59:25 PM5/12/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3c8c2309 Linux 4.19.190
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17d917b3d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=d3c2572d41264a3d
dashboard link: https://syzkaller.appspot.com/bug?extid=b89160b32010bb0c57b4

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

kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8158 Comm: syz-executor.1 Not tainted 4.19.190-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
base_sock_release(000000009a9271f3) sk=000000006deac75d
RIP: 0010:vma_start_pgoff mm/interval_tree.c:16 [inline]
RIP: 0010:avc_start_pgoff mm/interval_tree.c:64 [inline]
RIP: 0010:__anon_vma_interval_tree_insert mm/interval_tree.c:72 [inline]
RIP: 0010:anon_vma_interval_tree_insert+0x1d9/0x3d0 mm/interval_tree.c:83
Code: f8 d8 ff 48 8d 7b e0 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 68 01 00 00 4c 8b 7b e0 49 8d bf 98 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 2a 00 0f 85 42 01 00 00 4d 8b bf 98 00 00 00 4c 89 ef 4c 89
RSP: 0018:ffff88807f0dfac8 EFLAGS: 00010a02
RAX: 1ffff1100002dbea RBX: ffff88800016df70 RCX: ffffffff818965bf
RDX: 1fe0000000000013 RSI: ffffffff818965d2 RDI: ff00000000000098
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000001e37
R10: 0000000000000006 R11: 0000000036ac3308 R12: 0000000000001e37
R13: 0000000000001e16 R14: ffff88809715f690 R15: ff00000000000000
FS: 0000000001e16400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcf4baaff8 CR3: 000000007f0bf000 CR4: 00000000001406f0
base_sock_release(000000007936c4ad) sk=00000000f6db71fd
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
anon_vma_chain_link mm/rmap.c:144 [inline]
anon_vma_clone+0x23f/0x5e0 mm/rmap.c:279
anon_vma_fork+0x82/0x630 mm/rmap.c:332
dup_mmap kernel/fork.c:504 [inline]
dup_mm kernel/fork.c:1284 [inline]
copy_mm kernel/fork.c:1340 [inline]
copy_process.part.0+0x360f/0x8260 kernel/fork.c:1912
copy_process kernel/fork.c:1709 [inline]
_do_fork+0x22f/0xf30 kernel/fork.c:2218
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x464beb
Code: ed 0f 85 60 01 00 00 64 4c 8b 0c 25 10 00 00 00 45 31 c0 4d 8d 91 d0 02 00 00 31 d2 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 89 00 00 00 41 89 c5 85 c0 0f 85 90 00 00
base_sock_release(0000000016dac872) sk=000000000929fe87
RSP: 002b:00007ffca8886520 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000464beb
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000001e16400
R10: 0000000001e166d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffca8886610
Modules linked in:
---[ end trace dfca75285faaf647 ]---
RIP: 0010:vma_start_pgoff mm/interval_tree.c:16 [inline]
RIP: 0010:avc_start_pgoff mm/interval_tree.c:64 [inline]
RIP: 0010:__anon_vma_interval_tree_insert mm/interval_tree.c:72 [inline]
RIP: 0010:anon_vma_interval_tree_insert+0x1d9/0x3d0 mm/interval_tree.c:83
Code: f8 d8 ff 48 8d 7b e0 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 68 01 00 00 4c 8b 7b e0 49 8d bf 98 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 2a 00 0f 85 42 01 00 00 4d 8b bf 98 00 00 00 4c 89 ef 4c 89
base_sock_release(0000000082de5bc3) sk=0000000011f4544a
RSP: 0018:ffff88807f0dfac8 EFLAGS: 00010a02
RAX: 1ffff1100002dbea RBX: ffff88800016df70 RCX: ffffffff818965bf
RDX: 1fe0000000000013 RSI: ffffffff818965d2 RDI: ff00000000000098
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000001e37
R10: 0000000000000006 R11: 0000000036ac3308 R12: 0000000000001e37
R13: 0000000000001e16 R14: ffff88809715f690 R15: ff00000000000000
FS: 0000000001e16400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055929acc5ca0 CR3: 000000007f0bf000 CR4: 00000000001406e0
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,
Sep 9, 2021, 1:59:15 PM9/9/21
to syzkaller...@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