syzbot


WARNING: locking bug in process_one_work (6)

Status: upstream: reported on 2024/10/18 13:40
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+b1e6570b82775975e1bb@syzkaller.appspotmail.com
First crash: 37d, last: 37d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING: locking bug in process_one_work (6) 0 (1) 2024/10/18 13:40
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 661d 657d 0/28 closed as dup on 2023/02/03 10:26
upstream WARNING: locking bug in process_one_work (3) kernel 1 1141d 1137d 0/28 auto-closed as invalid on 2022/01/04 13:32
upstream WARNING: locking bug in process_one_work (2) kernel 1 1270d 1266d 0/28 auto-closed as invalid on 2021/08/28 09:26
upstream WARNING: locking bug in process_one_work kernel 1 1724d 1720d 0/28 auto-closed as invalid on 2020/07/01 00:53
upstream WARNING: locking bug in process_one_work (5) kernel 8 152d 182d 0/28 auto-obsoleted due to no activity on 2024/09/29 12:44

Sample crash report:
WARNING: CPU: 0 PID: 1419 at kernel/locking/lockdep.c:936 look_up_lock_class+0x140/0x150 kernel/locking/lockdep.c:936
Modules linked in:
CPU: 0 UID: 0 PID: 1419 Comm: kworker/0:3 Not tainted 6.12.0-rc3-syzkaller-00007-g6485cf5ea253 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: wg-kex-wg1 wg_packet_handshake_receive_worker
RIP: 0010:look_up_lock_class+0x140/0x150 kernel/locking/lockdep.c:936
Code: c7 c7 60 cf 6c 8b e8 2f 8f 2c f6 90 0f 0b 90 90 90 31 db eb be c6 05 c5 14 26 05 01 90 48 c7 c7 40 d2 6c 8b e8 11 8f 2c f6 90 <0f> 0b 90 90 e9 58 ff ff ff 0f 1f 80 00 00 00 00 90 90 90 90 90 90
RSP: 0018:ffffc90006baf988 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffffffff96e97090 RCX: ffffffff814e71a9
RDX: ffff888027dc8000 RSI: ffffffff814e71b6 RDI: 0000000000000001
RBP: ffffffff9ab0ac60 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 20676e696b6f6f4c R12: ffffc90006bafd80
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff9a821820
FS:  0000000000000000(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200f7000 CR3: 000000005e206000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 register_lock_class+0xb1/0x1240 kernel/locking/lockdep.c:1290
 __lock_acquire+0x135/0x3ce0 kernel/locking/lockdep.c:5077
 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825
 process_one_work+0x927/0x1ba0 kernel/workqueue.c:3205
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
 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 (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/14 13:31 upstream 6485cf5ea253 084d8178 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING: locking bug in process_one_work
* Struck through repros no longer work on HEAD.