syzbot


general protection fault in copy_process

Status: auto-closed as invalid on 2021/06/27 14:40
Reported-by: syzbot+af10ca799d69ac879a41@syzkaller.appspotmail.com
First crash: 1364d, last: 1364d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in copy_process 3 1048d 1120d 0/1 auto-closed as invalid on 2022/05/09 22:13
upstream KASAN: stack-out-of-bounds Write in copy_process kernel 1 94d 94d 0/28 closed as invalid on 2024/09/13 10:29

Sample crash report:
binder: 16283:16294 ioctl c018620c 20000100 returned -22
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: 7995 Comm: syz-executor.4 Not tainted 4.14.222-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88807aaae0c0 task.stack: ffff88807aab0000
RIP: 0010:__rb_insert lib/rbtree.c:131 [inline]
RIP: 0010:__rb_insert_augmented+0x96/0x920 lib/rbtree.c:495
RSP: 0018:ffff88807aab7be8 EFLAGS: 00010202
RAX: ffff8880b58f64a8 RBX: ffff88802c62a790 RCX: 0000000000000000
RDX: 0000000000000001 RSI: dffffc0000000000 RDI: 1ffff110058c54f2
RBP: ffff88800010f580 R08: 0000000000000008 R09: 0000000000040416
R10: ffff88807aaae9c0 R11: ffff88807aaae0c0 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88802c62a788 R15: ffffffff81729970
FS:  0000000001af3400(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ea21000 CR3: 000000007aa91000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 dup_mmap kernel/fork.c:681 [inline]
 dup_mm kernel/fork.c:1199 [inline]
 copy_mm kernel/fork.c:1254 [inline]
 copy_process.part.0+0x485b/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:0x4644eb
RSP: 002b:00007ffc502d6260 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004644eb
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000001af3400
R10: 0000000001af36d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc502d6350
Code: 89 ea 48 c1 ea 03 42 80 3c 2a 00 0f 85 81 05 00 00 4c 8b 65 00 41 f6 c4 01 0f 85 6e 03 00 00 4d 8d 44 24 08 4c 89 c2 48 c1 ea 03 <42> 80 3c 2a 00 0f 85 71 05 00 00 4d 8b 74 24 08 49 39 ee 0f 84 
RIP: __rb_insert lib/rbtree.c:131 [inline] RSP: ffff88807aab7be8
RIP: __rb_insert_augmented+0x96/0x920 lib/rbtree.c:495 RSP: ffff88807aab7be8
---[ end trace 3546dfc610027f6f ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/27 14:40 linux-4.14.y 3242aa3a635c 4c37c133 .config console log report info ci2-linux-4-14 general protection fault in copy_process
* Struck through repros no longer work on HEAD.