syzbot


WARNING: locking bug in process_one_work (5)

Status: auto-obsoleted due to no activity on 2024/09/29 12:44
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+2dd3f44b0f42f3aee4ec@syzkaller.appspotmail.com
First crash: 198d, last: 164d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING: locking bug in process_one_work (5) 0 (1) 2024/05/22 14:21
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in process_one_work (4) kernel 1 673d 668d 0/28 closed as dup on 2023/02/03 10:26
upstream WARNING: locking bug in process_one_work (3) kernel 1 1153d 1149d 0/28 auto-closed as invalid on 2022/01/04 13:32
upstream WARNING: locking bug in process_one_work (2) kernel 1 1282d 1278d 0/28 auto-closed as invalid on 2021/08/28 09:26
upstream WARNING: locking bug in process_one_work (6) kernel 1 49d 45d 0/28 upstream: reported on 2024/10/18 13:40
upstream WARNING: locking bug in process_one_work kernel 1 1735d 1731d 0/28 auto-closed as invalid on 2020/07/01 00:53

Sample crash report:
------------[ cut here ]------------
Looking for class "work_completion)(&(&gc->work)->work)" with key __key.5, but found a different class "(work_completion)(&(&gc->work)->work)" with the same key
WARNING: CPU: 2 PID: 5259 at kernel/locking/lockdep.c:932 look_up_lock_class+0x133/0x140 kernel/locking/lockdep.c:932
Modules linked in:
CPU: 2 PID: 5259 Comm: kworker/2:3 Not tainted 6.10.0-rc4-syzkaller-00148-g50736169ecc8 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: xfs-inodegc/loop3 xfs_inodegc_worker
RIP: 0010:look_up_lock_class+0x133/0x140 kernel/locking/lockdep.c:932
Code: c7 c7 20 b9 2c 8b e8 9c 13 74 f6 90 0f 0b 90 90 90 31 db eb be c6 05 08 54 ef 04 01 90 48 c7 c7 40 bc 2c 8b e8 7e 13 74 f6 90 <0f> 0b 90 90 e9 62 ff ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000334f988 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffffffff94272dc8 RCX: ffffffff81511289
RDX: ffff8880195f4880 RSI: ffffffff81511296 RDI: 0000000000000001
RBP: ffffffff94bc2f40 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 6974656c706d6f63 R12: ffffc9000334fd80
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff94adbbe0
FS:  0000000000000000(0000) GS:ffff88802c200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000bfe000 CR3: 00000000208bc000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 register_lock_class+0xb1/0x1230 kernel/locking/lockdep.c:1284
 __lock_acquire+0x111/0x3b30 kernel/locking/lockdep.c:5014
 lock_acquire kernel/locking/lockdep.c:5754 [inline]
 lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719
 process_one_work+0x8c4/0x1ad0 kernel/workqueue.c:3207
 process_scheduled_works kernel/workqueue.c:3312 [inline]
 worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/21 12:44 upstream 50736169ecc8 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: locking bug in process_one_work
2024/06/17 18:56 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: locking bug in process_one_work
2024/06/16 07:49 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: locking bug in process_one_work
2024/06/02 08:03 upstream ec9eeb89e60d c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: locking bug in process_one_work
2024/06/01 03:00 upstream d8ec19857b09 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: locking bug in process_one_work
2024/05/29 13:33 upstream e0cce98fe279 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: locking bug in process_one_work
2024/05/27 10:49 upstream 1613e604df0c c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: locking bug in process_one_work
2024/05/18 14:14 upstream 4b377b4868ef c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING: locking bug in process_one_work
* Struck through repros no longer work on HEAD.