syzbot


general protection fault in acct_collect

Status: auto-closed as invalid on 2022/05/16 01:27
Reported-by: syzbot+97a0fd07ff4c6ee9d83e@syzkaller.appspotmail.com
First crash: 824d, last: 821d

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
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: 10326 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:acct_collect+0x14e/0x810 kernel/acct.c:545
Code: cd 06 00 00 48 8b 6d 00 45 31 ed 48 85 ed 74 6a 49 bf 00 00 00 00 00 fc ff df e8 5d 2c 08 00 48 8d 7d 08 48 89 f8 48 c1 e8 03 <42> 80 3c 38 00 0f 85 10 06 00 00 48 89 e8 4c 8b 65 08 48 c1 e8 03
RSP: 0018:ffff88804ea37ac8 EFLAGS: 00010206
RAX: 00000000000210cf RBX: ffff88809d363180 RCX: 0000000000004165
RDX: 0000000000000000 RSI: ffffffff815a5913 RDI: 0000000000108678
RBP: 0000000000108670 R08: ffffffff8cd38068 R09: 0000000000000000
R10: ffff88804da12a48 R11: 0000000000000000 R12: 0000000000003000
R13: 00000000037fb000 R14: 0000000000000009 R15: dffffc0000000000
FS:  00007fbbafd4e700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
kasan: GPF could be caused by NULL-ptr deref or user memory access
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555736b848 CR3: 0000000050fca000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_exit+0x5ff/0x2be0 kernel/exit.c:849
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fbbb13f9fe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbbafd4e118 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: fffffffffffffff4 RBX: 00007fbbb150d030 RCX: 00007fbbb13f9fe9
RDX: 0000000020003480 RSI: 0000000020003440 RDI: 0000000080000000
RBP: 00007fbbb145408d R08: 0000000020003500 R09: 0000000020003500
R10: 00000000200034c0 R11: 0000000000000206 R12: 0000000000000000
R13: 00007ffe560576ef R14: 00007fbbafd4e300 R15: 0000000000022000
Modules linked in:
general protection fault: 0000 [#2] PREEMPT SMP KASAN
CPU: 1 PID: 10120 Comm: syz-executor.1 Tainted: G      D           4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:mm_has_notifiers include/linux/mmu_notifier.h:211 [inline]
RIP: 0010:mmu_notifier_invalidate_range_start include/linux/mmu_notifier.h:286 [inline]
RIP: 0010:unmap_vmas+0x5e/0x180 mm/memory.c:1607
Code: 80 3c 02 00 0f 85 2e 01 00 00 48 8b 43 40 48 8d b8 50 05 00 00 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 fa 00 00 00 48 8b 04 24 48 83 b8 50 05 00 00 00
RSP: 0018:ffff88809d27fa10 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888000108568 RCX: ffffffffffffffff
RDX: 0000000000020302 RSI: ffffffff818bbfef RDI: 0000000000101810
RBP: ffff888000108568 R08: 0000000000000001 R09: ffffed1000020305
R10: ffff88800010182f R11: 0000000000000000 R12: ffffffffffffffff
R13: 0000000000000000 R14: ffff88809d27fa88 R15: ffff888000120740
FS:  00007fbbafd4e700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7fd0967030 CR3: 000000004bd47000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 dup_mm kernel/fork.c:1301 [inline]
 copy_mm kernel/fork.c:1341 [inline]
 copy_process.part.0+0x662a/0x8260 kernel/fork.c:1913
 copy_process kernel/fork.c:1710 [inline]
 _do_fork+0x22f/0xf30 kernel/fork.c:2219
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fbbb13f9fe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbbafd4e118 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fbbb150d030 RCX: 00007fbbb13f9fe9
RDX: 0000000020003480 RSI: 0000000020003440 RDI: 0000000080000000
RBP: 00007fbbb145408d R08: 0000000020003500 R09: 0000000020003500
R10: 00000000200034c0 R11: 0000000000000206 R12: 0000000000000000
R13: 00007ffe560576ef R14: 00007fbbafd4e300 R15: 0000000000022000
Modules linked in:
general protection fault: 0000 [#3] PREEMPT SMP KASAN
CPU: 0 PID: 10055 Comm: syz-executor.1 Tainted: G      D           4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:unlink_anon_vmas+0x30d/0x840 mm/rmap.c:404
Code: 10 48 8b 98 88 00 00 00 48 85 db 74 3d e8 cb 44 d2 ff 48 8d bb 8c 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 f4
---[ end trace 0378fef740986f44 ]---
RSP: 0018:ffff8880a97579a8 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: 0000000000067ae0 RCX: 0000000000000000
RDX: 000000000000cf6d RSI: ffffffff819040a5 RDI: 0000000000067b6c
RBP: ffff888000108d08 R08: 0000000000000000 R09: 0000000000000000
RIP: 0010:acct_collect+0x14e/0x810 kernel/acct.c:545
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88800006c9b8
R13: ffff888000108d08 R14: ffff8880a4612000 R15: ffff888000108d18
FS:  00007fbbafd4e700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555736b848 CR3: 000000009b8c0000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Code: cd 06 00 00 48 8b 6d 00 45 31 ed 48 85 ed 74 6a 49 bf 00 00 00 00 00 fc ff df e8 5d 2c 08 00 48 8d 7d 08 48 89 f8 48 c1 e8 03 <42> 80 3c 38 00 0f 85 10 06 00 00 48 89 e8 4c 8b 65 08 48 c1 e8 03
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
RSP: 0018:ffff88804ea37ac8 EFLAGS: 00010206
Call Trace:
RAX: 00000000000210cf RBX: ffff88809d363180 RCX: 0000000000004165
 free_pgtables+0xe2/0x2f0 mm/memory.c:638
 exit_mmap+0x2c8/0x530 mm/mmap.c:3094
RDX: 0000000000000000 RSI: ffffffff815a5913 RDI: 0000000000108678
RBP: 0000000000108670 R08: ffffffff8cd38068 R09: 0000000000000000
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 dup_mm kernel/fork.c:1301 [inline]
 copy_mm kernel/fork.c:1341 [inline]
 copy_process.part.0+0x662a/0x8260 kernel/fork.c:1913
R10: ffff88804da12a48 R11: 0000000000000000 R12: 0000000000003000
R13: 00000000037fb000 R14: 0000000000000009 R15: dffffc0000000000
FS:  00007fbbafd4e700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
 copy_process kernel/fork.c:1710 [inline]
 _do_fork+0x22f/0xf30 kernel/fork.c:2219
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7fd0972000 CR3: 000000004bd47000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
----------------
Code disassembly (best guess):
   0:	cd 06                	int    $0x6
   2:	00 00                	add    %al,(%rax)
   4:	48 8b 6d 00          	mov    0x0(%rbp),%rbp
   8:	45 31 ed             	xor    %r13d,%r13d
   b:	48 85 ed             	test   %rbp,%rbp
   e:	74 6a                	je     0x7a
  10:	49 bf 00 00 00 00 00 	movabs $0xdffffc0000000000,%r15
  17:	fc ff df
  1a:	e8 5d 2c 08 00       	callq  0x82c7c
  1f:	48 8d 7d 08          	lea    0x8(%rbp),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 38 00       	cmpb   $0x0,(%rax,%r15,1) <-- trapping instruction
  2f:	0f 85 10 06 00 00    	jne    0x645
  35:	48 89 e8             	mov    %rbp,%rax
  38:	4c 8b 65 08          	mov    0x8(%rbp),%r12
  3c:	48 c1 e8 03          	shr    $0x3,%rax

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/16 01:27 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 general protection fault in acct_collect
2022/01/12 23:27 linux-4.19.y 3f8a27f9e27b 44d1319a .config console log report info ci2-linux-4-19 general protection fault in acct_collect
* Struck through repros no longer work on HEAD.