syzbot


general protection fault in dup_mm

Status: auto-closed as invalid on 2021/07/14 04:21
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+00c9e1a80099c93a165d@syzkaller.appspotmail.com
First crash: 1107d, last: 1107d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 8551 Comm: syz-executor.2 Not tainted 5.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__rb_insert lib/rbtree.c:115 [inline]
RIP: 0010:__rb_insert_augmented+0x74/0x8b0 lib/rbtree.c:459
Code: ea 48 c1 ea 03 42 80 3c 2a 00 0f 85 68 05 00 00 4c 8b 65 00 41 f6 c4 01 0f 85 1d 05 00 00 4d 8d 44 24 08 4c 89 c2 48 c1 ea 03 <42> 80 3c 2a 00 0f 85 58 05 00 00 4d 8b 74 24 08 49 39 ee 0f 84 76
RSP: 0018:ffffc900016dfa18 EFLAGS: 00010202
RAX: ffff88814243a210 RBX: ffff8881489b1688 RCX: 1ffff11011bade8f
RDX: 0000000000000001 RSI: ffff88814243a210 RDI: ffff88808dd6f478
RBP: ffff88800010bec8 R08: 0000000000000008 R09: ffff88814243a207
R10: ffffffff81a4cdc0 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88808b32d580 R15: ffffffff81a4af30
FS:  00000000026a5400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000568000 CR3: 0000000011876000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 dup_mmap kernel/fork.c:566 [inline]
 dup_mm+0x74a/0x1380 kernel/fork.c:1368
 copy_mm kernel/fork.c:1424 [inline]
 copy_process+0x2bc8/0x71a0 kernel/fork.c:2113
 kernel_clone+0xe7/0xab0 kernel/fork.c:2500
 __do_sys_clone+0xc8/0x110 kernel/fork.c:2617
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x464a4b
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
RSP: 002b:0000000000a9fd50 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000464a4b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 00000000026a5400
R10: 00000000026a56d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000a9fe40
Modules linked in:
---[ end trace deb40ca1f2827ed6 ]---
RIP: 0010:__rb_insert lib/rbtree.c:115 [inline]
RIP: 0010:__rb_insert_augmented+0x74/0x8b0 lib/rbtree.c:459
Code: ea 48 c1 ea 03 42 80 3c 2a 00 0f 85 68 05 00 00 4c 8b 65 00 41 f6 c4 01 0f 85 1d 05 00 00 4d 8d 44 24 08 4c 89 c2 48 c1 ea 03 <42> 80 3c 2a 00 0f 85 58 05 00 00 4d 8b 74 24 08 49 39 ee 0f 84 76
RSP: 0018:ffffc900016dfa18 EFLAGS: 00010202
RAX: ffff88814243a210 RBX: ffff8881489b1688 RCX: 1ffff11011bade8f
RDX: 0000000000000001 RSI: ffff88814243a210 RDI: ffff88808dd6f478
RBP: ffff88800010bec8 R08: 0000000000000008 R09: ffff88814243a207
R10: ffffffff81a4cdc0 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88808b32d580 R15: ffffffff81a4af30
FS:  00000000026a5400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001140 CR3: 0000000011876000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/15 04:20 upstream 7f75285ca572 fcdb12ba .config console log report info ci-upstream-kasan-gce general protection fault in dup_mm
* Struck through repros no longer work on HEAD.