syzbot


general protection fault in mm_update_next_owner (3)

Status: auto-obsoleted due to no activity on 2023/07/06 16:17
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+092c4a09cfc2b3204442@syzkaller.appspotmail.com
First crash: 391d, last: 391d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: unable to handle kernel paging request in mm_update_next_owner 21 817d 1344d 0/1 auto-closed as invalid on 2022/06/06 03:00
linux-4.19 general protection fault in mm_update_next_owner (2) 1 548d 548d 0/1 auto-obsoleted due to no activity on 2023/03/01 16:07
linux-4.14 general protection fault in mm_update_next_owner 6 1351d 1570d 0/1 auto-closed as invalid on 2020/12/18 13:04
linux-4.14 general protection fault in mm_update_next_owner (2) 6 1094d 1182d 0/1 auto-closed as invalid on 2021/09/01 20:39
linux-4.19 general protection fault in mm_update_next_owner 6 1362d 1482d 0/1 auto-closed as invalid on 2020/12/07 18:48
upstream general protection fault in mm_update_next_owner (2) kernel 14 1272d 1476d 0/26 auto-closed as invalid on 2021/03/07 09:36
upstream general protection fault in mm_update_next_owner kernel syz done done 1 1790d 1790d 12/26 fixed on 2019/08/27 17:15
upstream BUG: unable to handle kernel paging request in mm_update_next_owner (2) kernel 1 911d 907d 0/26 auto-closed as invalid on 2022/01/03 02:17

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 1 PID: 3572 Comm: syz-executor.4 Not tainted 6.3.0-rc5-syzkaller-00137-gf2afccfefe7b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
RIP: 0010:mm_update_next_owner+0x4a1/0x7b0 kernel/exit.c:486
Code: 48 8d bd 90 03 00 00 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 ff 02 00 00 48 8b ad 90 03 00 00 4c 8d 7d 10 4c 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 d6 02 00 00 48 8b 45 10 48 8d a8 a0 f9 ff ff 49
RSP: 0018:ffffc90015167b80 EFLAGS: 00010212
RAX: 0000000000000002 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888026a19d40 RSI: ffffffff814cb8a7 RDI: ffff88803f7fc2e8
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801246ef00
R13: ffff88803f7fba80 R14: 0000000000000000 R15: 0000000000000010
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc80297fc0 CR3: 00000000731a0000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 exit_mm kernel/exit.c:562 [inline]
 do_exit+0x9cf/0x2960 kernel/exit.c:856
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1019
 get_signal+0x2315/0x25b0 kernel/signal.c:2859
 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
 exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
 exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fab1a28c169
Code: Unable to access opcode bytes at 0x7fab1a28c13f.
RSP: 002b:00007fff64ce89b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffdfc RBX: 00007fab1a3abf8c RCX: 00007fab1a28c169
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fab1a3abf8c
RBP: 00007fab1a3abf80 R08: 00007fff64da4080 R09: 0000000000000000
R10: 00007fff64ce8aa0 R11: 0000000000000246 R12: 00000000000ba6af
R13: 00007fff64ce8aa0 R14: 00007fff64ce8ac0 R15: 0000000000000fd2
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:mm_update_next_owner+0x4a1/0x7b0 kernel/exit.c:486
Code: 48 8d bd 90 03 00 00 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 ff 02 00 00 48 8b ad 90 03 00 00 4c 8d 7d 10 4c 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 d6 02 00 00 48 8b 45 10 48 8d a8 a0 f9 ff ff 49
RSP: 0018:ffffc90015167b80 EFLAGS: 00010212
RAX: 0000000000000002 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff888026a19d40 RSI: ffffffff814cb8a7 RDI: ffff88803f7fc2e8
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801246ef00
R13: ffff88803f7fba80 R14: 0000000000000000 R15: 0000000000000010
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc80297fc0 CR3: 00000000731a0000 CR4: 0000000000350ee0
----------------
Code disassembly (best guess):
   0:	48 8d bd 90 03 00 00 	lea    0x390(%rbp),%rdi
   7:	48 89 f8             	mov    %rdi,%rax
   a:	48 c1 e8 03          	shr    $0x3,%rax
   e:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1)
  12:	0f 85 ff 02 00 00    	jne    0x317
  18:	48 8b ad 90 03 00 00 	mov    0x390(%rbp),%rbp
  1f:	4c 8d 7d 10          	lea    0x10(%rbp),%r15
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1) <-- trapping instruction
  2e:	0f 85 d6 02 00 00    	jne    0x30a
  34:	48 8b 45 10          	mov    0x10(%rbp),%rax
  38:	48 8d a8 a0 f9 ff ff 	lea    -0x660(%rax),%rbp
  3f:	49                   	rex.WB

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/07 16:17 upstream f2afccfefe7b f7ba566d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in mm_update_next_owner
* Struck through repros no longer work on HEAD.