syzbot


WARNING: locking bug in process_one_work (4)

Status: closed as dup on 2023/02/03 10:26
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+adc9fc92128d14593562@syzkaller.appspotmail.com
First crash: 446d, last: 446d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING: locking bug in umh_complete kernel 1 453d 449d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING: locking bug in process_one_work (4) 1 (2) 2023/02/03 10:25
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in process_one_work (3) kernel 1 926d 922d 0/26 auto-closed as invalid on 2022/01/04 13:32
upstream WARNING: locking bug in process_one_work (2) kernel 1 1056d 1052d 0/26 auto-closed as invalid on 2021/08/28 09:26
upstream WARNING: locking bug in process_one_work kernel 1 1509d 1505d 0/26 auto-closed as invalid on 2020/07/01 00:53

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 1 PID: 71 at kernel/locking/lockdep.c:231 check_wait_context kernel/locking/lockdep.c:4729 [inline]
WARNING: CPU: 1 PID: 71 at kernel/locking/lockdep.c:231 __lock_acquire+0xac2/0x1f60 kernel/locking/lockdep.c:5005
Modules linked in:
CPU: 1 PID: 71 Comm: kworker/u4:4 Not tainted 6.2.0-rc5-syzkaller-00205-gc96618275234 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: events_unbound call_usermodehelper_exec_work
RIP: 0010:hlock_class kernel/locking/lockdep.c:231 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4729 [inline]
RIP: 0010:__lock_acquire+0xac2/0x1f60 kernel/locking/lockdep.c:5005
Code: 43 0d 00 0f 85 2b fa ff ff 31 db 48 c7 c7 00 98 0d 8b 48 c7 c6 a0 9a 0d 8b 31 c0 e8 58 79 e7 ff 48 ba 00 00 00 00 00 fc ff df <0f> 0b e9 25 fa ff ff e8 52 9d d3 02 85 c0 0f 84 b1 06 00 00 48 c7
RSP: 0018:ffffc900020ff928 EFLAGS: 00010046
RAX: 88e28de359f5bd00 RBX: 0000000000000000 RCX: ffff888018e33a80
RDX: dffffc0000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8170be4d R09: ffffed1017324f5b
R10: ffffed1017324f5b R11: 1ffff11017324f5a R12: 0000000000040000
R13: ffff888018e33a80 R14: 00000000000c1313 R15: ffff888018e34528
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002017f000 CR3: 0000000080fb5000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5668
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
 complete+0x24/0x1c0 kernel/sched/completion.c:32
 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/29 15:18 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: locking bug in process_one_work
* Struck through repros no longer work on HEAD.