syzbot


BUG: corrupted list in pwq_dec_nr_in_flight (2)

Status: auto-obsoleted due to no activity on 2022/10/23 00:15
Reported-by: syzbot+2c89ef98867ff3b2b556@syzkaller.appspotmail.com
First crash: 850d, last: 850d
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 1 945d 945d 0/2 auto-closed as invalid on 2022/07/20 00:33

Sample crash report:
list_add corruption. prev->next should be next (ffff8881f70557e0), but was ffff888154095470. (prev=ffff888154095470).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:28!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 999 Comm: kworker/0:32 Tainted: G        W         5.10.119-syzkaller-00334-gebc9fb07d294 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Workqueue:  0x0 (cgroup_destroy)
RIP: 0010:__list_add_valid+0xc6/0xd0 lib/list_debug.c:26
Code: 48 c7 c7 00 e0 43 85 4c 89 e6 4c 89 f1 31 c0 e8 4d a4 3f 02 0f 0b 48 c7 c7 c0 e0 43 85 4c 89 f6 4c 89 e1 31 c0 e8 37 a4 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:ffffc900062efc58 EFLAGS: 00010046
RAX: 0000000000000075 RBX: ffff8881f70557e8 RCX: fb80818fb3608c00
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffffc900062efc80 R08: ffffffff8153ad08 R09: ffffed103ee0a5d8
R10: ffffed103ee0a5d8 R11: 1ffff1103ee0a5d7 R12: ffff888154095470
R13: dffffc0000000000 R14: ffff8881f70557e0 R15: ffff888154095070
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002750 CR3: 0000000101bd5000 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 29e9e678cdcaf5e7 ]---
RIP: 0010:__list_add_valid+0xc6/0xd0 lib/list_debug.c:26
Code: 48 c7 c7 00 e0 43 85 4c 89 e6 4c 89 f1 31 c0 e8 4d a4 3f 02 0f 0b 48 c7 c7 c0 e0 43 85 4c 89 f6 4c 89 e1 31 c0 e8 37 a4 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:ffffc900062efc58 EFLAGS: 00010046
RAX: 0000000000000075 RBX: ffff8881f70557e8 RCX: fb80818fb3608c00
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: ffffc900062efc80 R08: ffffffff8153ad08 R09: ffffed103ee0a5d8
R10: ffffed103ee0a5d8 R11: 1ffff1103ee0a5d7 R12: ffff888154095470
R13: dffffc0000000000 R14: ffff8881f70557e0 R15: ffff888154095070
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002750 CR3: 0000000101bd5000 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/07/25 00:13 android12-5.10-lts ebc9fb07d294 22343af4 .config console log report info ci2-android-5-10 BUG: corrupted list in pwq_dec_nr_in_flight
* Struck through repros no longer work on HEAD.