syzbot


general protection fault in lock_timer_base (4)

Status: auto-obsoleted due to no activity on 2022/09/03 04:12
Reported-by: syzbot+8c8fe172d2f117bfbbbb@syzkaller.appspotmail.com
First crash: 938d, last: 932d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in lock_timer_base (3) 2 1361d 1378d 0/1 auto-closed as invalid on 2021/06/30 20:28
linux-4.14 general protection fault in lock_timer_base (2) 8 1537d 1703d 0/1 auto-closed as invalid on 2021/01/05 13:46
linux-4.14 general protection fault in lock_timer_base 2 2025d 2047d 0/1 auto-closed as invalid on 2019/10/25 08:49
upstream KASAN: slab-use-after-free Read in lock_timer_base mptcp 1 83d 80d 0/28 closed as dup on 2024/09/09 15:31
upstream UBSAN: array-index-out-of-bounds in lock_timer_base bcachefs kvm 4 158d 172d 26/28 fixed on 2024/07/09 19:14

Sample crash report:
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: 1 PID: 2847 Comm: kworker/u4:3 Not tainted 4.14.277-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: tipc_send tipc_send_work
task: ffff8880ac798500 task.stack: ffff8880ac7b0000
RIP: 0010:__lock_acquire+0x1cc/0x3f20 kernel/locking/lockdep.c:3369
RSP: 0018:ffff8880ac7b78a0 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0c8be686a6269f6a RSI: 0000000000000000 RDI: 645f34353134fb50
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000001 R11: ffff8880ac798500 R12: 645f34353134fb50
R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8bed1d40
FS:  0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e12b000 CR3: 00000000ab9fd000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:160
 lock_timer_base+0x58/0x190 kernel/time/timer.c:922
 del_timer kernel/time/timer.c:1154 [inline]
 del_timer+0x8b/0xe0 kernel/time/timer.c:1145
 tipc_subscrb_subscrp_delete+0x13a/0x330 net/tipc/subscr.c:207
 tipc_subscrb_delete net/tipc/subscr.c:238 [inline]
 tipc_subscrb_release_cb+0x13/0x20 net/tipc/subscr.c:316
 tipc_close_conn+0x16a/0x200 net/tipc/server.c:203
 tipc_send_to_sock net/tipc/server.c:538 [inline]
 tipc_send_work+0x41e/0x520 net/tipc/server.c:564
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 18 00 00 00 00 48 81 c4 80 01 00 00 44 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 67 2a 00 00 49 81 3c 24 a0 d7 2f 8b 0f 84 5f 
RIP: __lock_acquire+0x1cc/0x3f20 kernel/locking/lockdep.c:3369 RSP: ffff8880ac7b78a0
---[ end trace 0a11901316c53476 ]---
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	00 00                	add    %al,(%rax)
   2:	00 00                	add    %al,(%rax)
   4:	48 81 c4 80 01 00 00 	add    $0x180,%rsp
   b:	44 89 e8             	mov    %r13d,%eax
   e:	5b                   	pop    %rbx
   f:	5d                   	pop    %rbp
  10:	41 5c                	pop    %r12
  12:	41 5d                	pop    %r13
  14:	41 5e                	pop    %r14
  16:	41 5f                	pop    %r15
  18:	c3                   	retq
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	4c 89 e2             	mov    %r12,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 67 2a 00 00    	jne    0x2a9b
  34:	49 81 3c 24 a0 d7 2f 	cmpq   $0xffffffff8b2fd7a0,(%r12)
  3b:	8b
  3c:	0f                   	.byte 0xf
  3d:	84                   	.byte 0x84
  3e:	5f                   	pop    %rdi

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/06 04:11 linux-4.14.y e3a56aaade89 efeff0a5 .config console log report info ci2-linux-4-14 general protection fault in lock_timer_base
2022/04/29 15:08 linux-4.14.y e3a56aaade89 44a5ca63 .config console log report info ci2-linux-4-14 general protection fault in lock_timer_base
* Struck through repros no longer work on HEAD.