syzbot


general protection fault in anon_vma_interval_tree_insert

Status: auto-closed as invalid on 2021/08/16 07:22
Reported-by: syzbot+aef6600109b76f23d1a3@syzkaller.appspotmail.com
First crash: 1075d, last: 1075d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in anon_vma_interval_tree_insert 1 1051d 1051d 0/1 auto-closed as invalid on 2021/09/09 17:59
upstream general protection fault in anon_vma_interval_tree_insert mm 3 1292d 1369d 0/26 auto-closed as invalid on 2020/12/13 06:13
upstream general protection fault in anon_vma_interval_tree_insert (2) mm 4 854d 937d 0/26 auto-closed as invalid on 2022/02/24 00:52
upstream KASAN: use-after-free Read in anon_vma_interval_tree_insert mm 1 686d 685d 0/26 auto-closed as invalid on 2022/07/11 21:59
upstream KASAN: use-after-free Read in anon_vma_interval_tree_insert (2) mm 2 571d 623d 0/26 auto-obsoleted due to no activity on 2022/11/03 13:19
linux-4.19 KASAN: slab-out-of-bounds Read in anon_vma_interval_tree_insert 1 824d 824d 0/1 auto-closed as invalid on 2022/04/24 23:41

Sample crash report:
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
Modules linked in:
CPU: 0 PID: 8014 Comm: syz-executor.1 Not tainted 4.14.231-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88807a194500 task.stack: ffff88807a198000
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+0x1d0/0x3c0 mm/interval_tree.c:83
RSP: 0018:ffff88807a19fb38 EFLAGS: 00010202
RAX: 1ffff11000022534 RBX: ffff8880001129c0 RCX: 0000000000006ca6
RDX: 0000000000000013 RSI: ffff8880a3653350 RDI: 0000000000000098
RBP: dffffc0000000000 R08: ffffffff8b9c5ff0 R09: 0000000000040411
R10: ffff88807a194e00 R11: ffff88807a194500 R12: ffff888083118310
R13: 00000007fecd1613 R14: 0000000000000000 R15: 00000007fecd0e14
FS:  00000000026f6400(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000014a53ad CR3: 000000007a15a000 CR4: 00000000001406f0
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+0x22b/0x5b0 mm/rmap.c:279
 anon_vma_fork+0x82/0x580 mm/rmap.c:332
 dup_mmap kernel/fork.c:664 [inline]
 dup_mm kernel/fork.c:1199 [inline]
 copy_mm kernel/fork.c:1254 [inline]
 copy_process.part.0+0x4c64/0x71c0 kernel/fork.c:1790
 copy_process kernel/fork.c:1605 [inline]
 _do_fork+0x184/0xc80 kernel/fork.c:2091
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x464a4b
RSP: 002b:00007ffecae28890 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000464a4b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 00000000026f6400
R10: 00000000026f66d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffecae28980
Code: d7 4c e2 ff 48 8d 7b e0 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 62 01 00 00 4c 8b 73 e0 49 8d be 98 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 2a 00 0f 85 3c 01 00 00 4d 3b be 98 00 00 00 0f 82 66 ff 
RIP: vma_start_pgoff mm/interval_tree.c:16 [inline] RSP: ffff88807a19fb38
RIP: avc_start_pgoff mm/interval_tree.c:64 [inline] RSP: ffff88807a19fb38
RIP: __anon_vma_interval_tree_insert mm/interval_tree.c:72 [inline] RSP: ffff88807a19fb38
RIP: anon_vma_interval_tree_insert+0x1d0/0x3c0 mm/interval_tree.c:83 RSP: ffff88807a19fb38
---[ end trace 47ac1c368105ca00 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/18 07:21 linux-4.14.y cf256fbcbe34 7e2b734b .config console log report info ci2-linux-4-14 general protection fault in anon_vma_interval_tree_insert
* Struck through repros no longer work on HEAD.