syzbot


WARNING: locking bug in process_one_work (5)

Status: upstream: reported on 2024/05/22 14:21
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+2dd3f44b0f42f3aee4ec@syzkaller.appspotmail.com
First crash: 28d, last: 13d
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 (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in process_one_work (4) kernel 1 503d 499d 0/27 closed as dup on 2023/02/03 10:26
upstream WARNING: locking bug in process_one_work (3) kernel 1 983d 979d 0/27 auto-closed as invalid on 2022/01/04 13:32
upstream WARNING: locking bug in process_one_work (2) kernel 1 1112d 1108d 0/27 auto-closed as invalid on 2021/08/28 09:26
upstream WARNING: locking bug in process_one_work kernel 1 1565d 1561d 0/27 auto-closed as invalid on 2020/07/01 00:53

Sample crash report:
WARNING: CPU: 0 PID: 5345 at kernel/locking/lockdep.c:932 look_up_lock_class+0x133/0x140 kernel/locking/lockdep.c:932
Modules linked in:
CPU: 0 PID: 5345 Comm: kworker/0:3 Not tainted 6.10.0-rc1-syzkaller-00293-gec9eeb89e60d #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: wg-crypt-wg0 wg_packet_encrypt_worker
RIP: 0010:look_up_lock_class+0x133/0x140 kernel/locking/lockdep.c:932
Code: c7 c7 a0 b7 2c 8b e8 0c 84 74 f6 90 0f 0b 90 90 90 31 db eb be c6 05 54 ba ef 04 01 90 48 c7 c7 c0 ba 2c 8b e8 ee 83 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:ffffc90002f07988 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffffffff9425cac8 RCX: ffffffff81510229
RDX: ffff88801ddf8000 RSI: ffffffff81510236 RDI: 0000000000000001
RBP: ffffffff94d85560 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 000000006b6f6f4c R12: ffffc90002f07d80
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff94ad6be0
FS:  0000000000000000(0000) GS:ffff88802c000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000457fa000 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 (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.