syzbot


BUG: corrupted list in pwq_dec_nr_in_flight

Status: auto-closed as invalid on 2022/07/20 00:33
Reported-by: syzbot+ae245e2fb6e1821fcee1@syzkaller.appspotmail.com
First crash: 945d, last: 945d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: corrupted list in pwq_dec_nr_in_flight (2) 1 850d 850d 0/2 auto-obsoleted due to no activity on 2022/10/23 00:15

Sample crash report:
list_add corruption. prev->next should be next (ffff8881f7055720), but was ffff8881185d2c70. (prev=ffff8881185d2c70).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:28!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 1354 Comm: kworker/0:13 Not tainted 5.10.109-syzkaller-00693-g414e6c8e941c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue:  0x0 (cgroup_destroy)
RIP: 0010:__list_add_valid+0xc6/0xd0 lib/list_debug.c:26
Code: 48 c7 c7 c0 c9 43 85 4c 89 e6 4c 89 f1 31 c0 e8 6d d4 3f 02 0f 0b 48 c7 c7 80 ca 43 85 4c 89 f6 4c 89 e1 31 c0 e8 57 d4 3f 02 <0f> 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 54 53 49
RSP: 0018:ffffc900062dfc58 EFLAGS: 00010046
RAX: 0000000000000075 RBX: ffff8881f7055728 RCX: 5ceb53d59f8de500
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffffc900062dfc80 R08: ffffffff8153b3c8 R09: ffffed103ee0a5d8
R10: ffffed103ee0a5d8 R11: 1ffff1103ee0a5d7 R12: ffff8881185d2c70
R13: dffffc0000000000 R14: ffff8881f7055720 R15: ffff8881057f3470
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000640 CR3: 0000000119214000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_add include/linux/list.h:67 [inline]
 list_add_tail include/linux/list.h:100 [inline]
 list_move_tail include/linux/list.h:228 [inline]
 move_linked_works kernel/workqueue.c:1083 [inline]
 pwq_activate_delayed_work kernel/workqueue.c:1162 [inline]
 pwq_activate_first_delayed kernel/workqueue.c:1172 [inline]
 pwq_dec_nr_in_flight+0x31a/0x790 kernel/workqueue.c:1198
 process_one_work+0x8a4/0xc10 kernel/workqueue.c:2338
 worker_thread+0xb27/0x1550 kernel/workqueue.c:2442
 kthread+0x349/0x3d0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
Modules linked in:

---[ end trace 58b27b27e24d4384 ]---
RIP: 0010:__list_add_valid+0xc6/0xd0 lib/list_debug.c:26
Code: 48 c7 c7 c0 c9 43 85 4c 89 e6 4c 89 f1 31 c0 e8 6d d4 3f 02 0f 0b 48 c7 c7 80 ca 43 85 4c 89 f6 4c 89 e1 31 c0 e8 57 d4 3f 02 <0f> 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 54 53 49
RSP: 0018:ffffc900062dfc58 EFLAGS: 00010046

RAX: 0000000000000075 RBX: ffff8881f7055728 RCX: 5ceb53d59f8de500
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffffc900062dfc80 R08: ffffffff8153b3c8 R09: ffffed103ee0a5d8
R10: ffffed103ee0a5d8 R11: 1ffff1103ee0a5d7 R12: ffff8881185d2c70
R13: dffffc0000000000 R14: ffff8881f7055720 R15: ffff8881057f3470
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000640 CR3: 0000000119214000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/21 00:27 android12-5.10-lts 414e6c8e941c d4befee1 .config console log report info ci2-android-5-10-perf BUG: corrupted list in pwq_dec_nr_in_flight
* Struck through repros no longer work on HEAD.