syzbot


WARNING in insert_work

Status: auto-closed as invalid on 2022/01/14 20:29
Subsystems: acpi
[Documentation on labels]
Reported-by: syzbot+4546a69bfcab9a42f280@syzkaller.appspotmail.com
First crash: 958d, last: 953d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in insert_work 1 (2) 2021/09/19 12:55

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 0 at kernel/workqueue.c:633 set_work_data kernel/workqueue.c:633 [inline]
WARNING: CPU: 1 PID: 0 at kernel/workqueue.c:633 set_work_pwq kernel/workqueue.c:640 [inline]
WARNING: CPU: 1 PID: 0 at kernel/workqueue.c:633 insert_work+0x2a7/0x370 kernel/workqueue.c:1356
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:set_work_data kernel/workqueue.c:633 [inline]
RIP: 0010:set_work_pwq kernel/workqueue.c:640 [inline]
RIP: 0010:insert_work+0x2a7/0x370 kernel/workqueue.c:1356
Code: b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 cc 00 00 00 48 8b 7b 40 e8 e0 93 05 00 eb 83 e8 99 8b 2a 00 <0f> 0b e9 dc fd ff ff 48 89 ef e8 aa 50 71 00 e9 56 ff ff ff 4c 89
RSP: 0018:ffffc90000fd8c70 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff8880884294b0 RCX: 0000000000000100
RDX: ffff88801222c080 RSI: ffffffff814ab937 RDI: 0000000000000003
RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff814ab711 R11: 0000000000000000 R12: ffff888010c74858
R13: ffff8880289b0c00 R14: ffff888010c74800 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056227ea97a88 CR3: 000000000b68e000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __queue_work+0x5ca/0xee0 kernel/workqueue.c:1519
 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421
 expire_timers kernel/time/timer.c:1461 [inline]
 __run_timers.part.0+0x49f/0xa20 kernel/time/timer.c:1734
 __run_timers kernel/time/timer.c:1715 [inline]
 run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 invoke_softirq kernel/softirq.c:432 [inline]
 __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline]
RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:110 [inline]
RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 drivers/acpi/processor_idle.c:553
Code: 89 de e8 bd ba 3d f8 84 db 75 ac e8 04 b3 3d f8 e8 0f dd 43 f8 eb 0c e8 f8 b2 3d f8 0f 00 2d 61 be b7 00 e8 ec b2 3d f8 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 b7 b8 3d f8 48 85 db
RSP: 0018:ffffc90000f6fd18 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801222c080 RSI: ffffffff893791e4 RDI: 0000000000000000
RBP: ffff888141b89864 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff817b6f18 R11: 0000000000000000 R12: 0000000000000001
R13: ffff888141b89800 R14: ffff888141b89864 R15: ffff888019023004
 acpi_idle_enter+0x361/0x500 drivers/acpi/processor_idle.c:688
 cpuidle_enter_state+0x1b1/0xc80 drivers/cpuidle/cpuidle.c:237
 cpuidle_enter+0x4a/0xa0 drivers/cpuidle/cpuidle.c:351
 call_cpuidle kernel/sched/idle.c:158 [inline]
 cpuidle_idle_call kernel/sched/idle.c:239 [inline]
 do_idle+0x3e8/0x590 kernel/sched/idle.c:306
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:403
 start_secondary+0x265/0x340 arch/x86/kernel/smpboot.c:270
 secondary_startup_64_no_verify+0xb0/0xbb
----------------
Code disassembly (best guess):
   0:	89 de                	mov    %ebx,%esi
   2:	e8 bd ba 3d f8       	callq  0xf83dbac4
   7:	84 db                	test   %bl,%bl
   9:	75 ac                	jne    0xffffffb7
   b:	e8 04 b3 3d f8       	callq  0xf83db314
  10:	e8 0f dd 43 f8       	callq  0xf843dd24
  15:	eb 0c                	jmp    0x23
  17:	e8 f8 b2 3d f8       	callq  0xf83db314
  1c:	0f 00 2d 61 be b7 00 	verw   0xb7be61(%rip)        # 0xb7be84
  23:	e8 ec b2 3d f8       	callq  0xf83db314
  28:	fb                   	sti
  29:	f4                   	hlt
* 2a:	9c                   	pushfq <-- trapping instruction
  2b:	5b                   	pop    %rbx
  2c:	81 e3 00 02 00 00    	and    $0x200,%ebx
  32:	fa                   	cli
  33:	31 ff                	xor    %edi,%edi
  35:	48 89 de             	mov    %rbx,%rsi
  38:	e8 b7 b8 3d f8       	callq  0xf83db8f4
  3d:	48 85 db             	test   %rbx,%rbx

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/16 20:28 upstream ff1ffd71d5f0 aae492f2 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in insert_work
2021/09/11 05:55 upstream 926de8c4326c 5ae8508a .config console log report info ci-upstream-kasan-gce-root WARNING in insert_work
* Struck through repros no longer work on HEAD.