syzbot


general protection fault in __call_rcu_common

Status: auto-obsoleted due to no activity on 2023/09/08 04:59
Subsystems: fs lsm
[Documentation on labels]
Reported-by: syzbot+d30a352ae4ceab99e10a@syzkaller.appspotmail.com
First crash: 478d, last: 353d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0040000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000000200000008-0x000000020000000f]
CPU: 1 PID: 4432 Comm: udevd Not tainted 6.3.0-rc2-syzkaller-00235-g8d3c682a5e3d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:__hlist_del include/linux/list.h:901 [inline]
RIP: 0010:hlist_del include/linux/list.h:913 [inline]
RIP: 0010:__alloc_object lib/debugobjects.c:213 [inline]
RIP: 0010:alloc_object lib/debugobjects.c:230 [inline]
RIP: 0010:__debug_object_init+0x21f/0xf10 lib/debugobjects.c:577
Code: c1 ef 03 80 3c 37 00 0f 85 34 0a 00 00 48 85 c0 48 89 01 74 24 48 8d 78 08 48 be 00 00 00 00 00 fc ff df 49 89 fa 49 c1 ea 03 <41> 80 3c 32 00 0f 85 e4 09 00 00 48 89 48 08 48 b8 00 01 00 00 00
RSP: 0000:ffffc9000341f820 EFLAGS: 00010002
RAX: 0000000200000000 RBX: 00000000000cc078 RCX: ffff8880b9938ca0
RDX: ffff8880b9938ca0 RSI: dffffc0000000000 RDI: 0000000200000008
RBP: ffff88808afdf888 R08: 0000000000000001 R09: 0000000000000003
R10: 0000000040000001 R11: 0000000000000000 R12: 1ffff92000683f12
R13: ffff88807ce009c0 R14: ffffffff92000fc0 R15: ffffffff92000fb8
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4d0e7821b8 CR3: 000000000c571000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 debug_object_init lib/debugobjects.c:624 [inline]
 debug_object_activate+0x330/0x3e0 lib/debugobjects.c:710
 debug_rcu_head_queue kernel/rcu/rcu.h:189 [inline]
 __call_rcu_common.constprop.0+0x2c/0x7e0 kernel/rcu/tree.c:2607
 ep_remove+0x43a/0x9e0 fs/eventpoll.c:733
 ep_free+0x238/0x390 fs/eventpoll.c:780
 ep_eventpoll_release+0x45/0x60 fs/eventpoll.c:797
 __fput+0x27c/0xa90 fs/file_table.c:321
 task_work_run+0x16f/0x270 kernel/task_work.c:179
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xad3/0x2960 kernel/exit.c:869
 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+0x15f/0x250 kernel/entry/common.c:203
 irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:564
RIP: 0033:0x7f5ed38c455b
Code: Unable to access opcode bytes at 0x7f5ed38c4531.
RSP: 002b:00007ffd18c5b758 EFLAGS: 00010206
RAX: 7669727000040048 RBX: 00005625aa5fa370 RCX: 00007f5ed38ff097
RDX: 0000000000008000 RSI: 00007f5ed38fee6d RDI: 00005625aa69d7f0
RBP: 000000000000000d R08: 0000000000000000 R09: 00007f5ed39f5a60
R10: 0000000001000000 R11: 0000000000000293 R12: 00005625aa60d410
R13: 00000000000000ff R14: 00007ffd18c5b770 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__hlist_del include/linux/list.h:901 [inline]
RIP: 0010:hlist_del include/linux/list.h:913 [inline]
RIP: 0010:__alloc_object lib/debugobjects.c:213 [inline]
RIP: 0010:alloc_object lib/debugobjects.c:230 [inline]
RIP: 0010:__debug_object_init+0x21f/0xf10 lib/debugobjects.c:577
Code: c1 ef 03 80 3c 37 00 0f 85 34 0a 00 00 48 85 c0 48 89 01 74 24 48 8d 78 08 48 be 00 00 00 00 00 fc ff df 49 89 fa 49 c1 ea 03 <41> 80 3c 32 00 0f 85 e4 09 00 00 48 89 48 08 48 b8 00 01 00 00 00
RSP: 0000:ffffc9000341f820 EFLAGS: 00010002

RAX: 0000000200000000 RBX: 00000000000cc078 RCX: ffff8880b9938ca0
RDX: ffff8880b9938ca0 RSI: dffffc0000000000 RDI: 0000000200000008
RBP: ffff88808afdf888 R08: 0000000000000001 R09: 0000000000000003
R10: 0000000040000001 R11: 0000000000000000 R12: 1ffff92000683f12
R13: ffff88807ce009c0 R14: ffffffff92000fc0 R15: ffffffff92000fb8
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4d0e7821b8 CR3: 000000000c571000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c1 ef 03             	shr    $0x3,%edi
   3:	80 3c 37 00          	cmpb   $0x0,(%rdi,%rsi,1)
   7:	0f 85 34 0a 00 00    	jne    0xa41
   d:	48 85 c0             	test   %rax,%rax
  10:	48 89 01             	mov    %rax,(%rcx)
  13:	74 24                	je     0x39
  15:	48 8d 78 08          	lea    0x8(%rax),%rdi
  19:	48 be 00 00 00 00 00 	movabs $0xdffffc0000000000,%rsi
  20:	fc ff df
  23:	49 89 fa             	mov    %rdi,%r10
  26:	49 c1 ea 03          	shr    $0x3,%r10
* 2a:	41 80 3c 32 00       	cmpb   $0x0,(%r10,%rsi,1) <-- trapping instruction
  2f:	0f 85 e4 09 00 00    	jne    0xa19
  35:	48 89 48 08          	mov    %rcx,0x8(%rax)
  39:	48                   	rex.W
  3a:	b8 00 01 00 00       	mov    $0x100,%eax

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/18 04:19 upstream 8d3c682a5e3d 7939252e .config console log report info ci-upstream-kasan-gce-selinux-root general protection fault in __call_rcu_common
2023/02/05 03:46 linux-next 4fafd96910ad be607b78 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __call_rcu_common
2023/05/25 19:01 upstream eb03e3181354 54259e6c .config console log report info ci-qemu-upstream BUG: unable to handle kernel paging request in __call_rcu_common
2023/06/10 04:59 upstream 64569520920a 49519f06 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 BUG: unable to handle kernel paging request in __call_rcu_common
* Struck through repros no longer work on HEAD.