syzbot


general protection fault in worker_thread

Status: auto-obsoleted due to no activity on 2022/12/30 10:32
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+2b821ee57859702ffad5@syzkaller.appspotmail.com
First crash: 594d, last: 594d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in worker_thread (2) io-uring syz 1 331d 327d 0/26 auto-obsoleted due to no activity on 2023/09/29 13:47
android-5-15 KASAN: use-after-free Read in worker_thread missing-backport origin:downstream C unreliable error 27 4d13h 579d 0/2 upstream: reported C repro on 2022/10/16 06:28
upstream KMSAN: uninit-value in worker_thread (3) ext4 2 959d 1042d 0/26 auto-closed as invalid on 2021/12/30 14:37
android-6-1 KASAN: use-after-free Read in worker_thread missing-backport origin:lts C error 23 5d05h 338d 0/2 upstream: reported C repro on 2023/06/14 05:51

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 0 PID: 20509 Comm: kworker/0:37 Not tainted 6.0.0-rc7-syzkaller-00220-gffb4d94b4314 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:__lock_acquire+0xd83/0x56d0 kernel/locking/lockdep.c:4923
Code: 9c 0e 41 bf 01 00 00 00 0f 86 c8 00 00 00 89 05 83 4d 9c 0e e9 bd 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 4e 31 00 00 49 81 3e 60 94 51 8f 0f 84 4c f3 ff
RSP: 0018:ffffc90007dbfbe8 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 1ffff92000fb7fac RCX: 0000000000000000
RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: fffffbfff1bbc82a R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880744aa000 R14: 0000000000000018 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1e130c2690 CR3: 000000001e664000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 lock_acquire kernel/locking/lockdep.c:5666 [inline]
 lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline]
 _raw_spin_lock_irq+0x32/0x50 kernel/locking/spinlock.c:170
 worker_thread+0x169/0x1080 kernel/workqueue.c:2386
 kthread+0x2e4/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__lock_acquire+0xd83/0x56d0 kernel/locking/lockdep.c:4923
Code: 9c 0e 41 bf 01 00 00 00 0f 86 c8 00 00 00 89 05 83 4d 9c 0e e9 bd 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 4e 31 00 00 49 81 3e 60 94 51 8f 0f 84 4c f3 ff
RSP: 0018:ffffc90007dbfbe8 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 1ffff92000fb7fac RCX: 0000000000000000
RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: fffffbfff1bbc82a R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880744aa000 R14: 0000000000000018 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1e130c2690 CR3: 000000001e664000 CR4: 00000000003506f0
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	41 bf 01 00 00 00    	mov    $0x1,%r15d
   6:	0f 86 c8 00 00 00    	jbe    0xd4
   c:	89 05 83 4d 9c 0e    	mov    %eax,0xe9c4d83(%rip)        # 0xe9c4d95
  12:	e9 bd 00 00 00       	jmpq   0xd4
  17:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  1e:	fc ff df
  21:	4c 89 f2             	mov    %r14,%rdx
  24:	48 c1 ea 03          	shr    $0x3,%rdx
* 28:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2c:	0f 85 4e 31 00 00    	jne    0x3180
  32:	49 81 3e 60 94 51 8f 	cmpq   $0xffffffff8f519460,(%r14)
  39:	0f                   	.byte 0xf
  3a:	84 4c f3 ff          	test   %cl,-0x1(%rbx,%rsi,8)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/01 10:32 upstream ffb4d94b4314 feb56351 .config console log report info ci-upstream-kasan-gce-selinux-root general protection fault in worker_thread
* Struck through repros no longer work on HEAD.