syzbot


WARNING in enable_work

Status: upstream: reported C repro on 2024/08/21 10:14
Subsystems: pm
[Documentation on labels]
Reported-by: syzbot+7053fbd8757fecbbe492@syzkaller.appspotmail.com
First crash: 95d, last: 9h02m
Discussions (4)
Title Replies (including bot) Last reply
[syzbot] Monthly pm report (Oct 2024) 0 (1) 2024/10/28 08:24
[syzbot] Monthly pm report (Sep 2024) 0 (1) 2024/09/26 12:43
[syzbot] [pm?] WARNING in enable_work 0 (2) 2024/09/18 04:50
[syzbot] Monthly pm report (Aug 2024) 0 (1) 2024/08/26 13:47

Sample crash report:
------------[ cut here ]------------
workqueue: work disable count underflowed
WARNING: CPU: 0 PID: 1339 at kernel/workqueue.c:4299 work_offqd_enable kernel/workqueue.c:4299 [inline]
WARNING: CPU: 0 PID: 1339 at kernel/workqueue.c:4299 enable_work+0x34d/0x360 kernel/workqueue.c:4470
Modules linked in:
CPU: 0 UID: 0 PID: 1339 Comm: kworker/0:3 Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: usb_hub_wq hub_event
RIP: 0010:work_offqd_enable kernel/workqueue.c:4299 [inline]
RIP: 0010:enable_work+0x34d/0x360 kernel/workqueue.c:4470
Code: d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 38 3c 37 00 c6 05 29 02 a9 0e 01 90 48 c7 c7 20 06 0a 8c e8 84 38 f8 ff 90 <0f> 0b 90 90 e9 56 ff ff ff e8 05 96 67 0a 0f 1f 44 00 00 90 90 90
RSP: 0018:ffffc90002b3f0c0 EFLAGS: 00010046
RAX: 17b3e174ab17bb00 RBX: 0000000000000000 RCX: ffff88801ef34880
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002b3f188 R08: ffffffff8155daa2 R09: fffffbfff1cf9fd8
R10: dffffc0000000000 R11: fffffbfff1cf9fd8 R12: 1ffff92000567e1c
R13: 1ffff92000567e24 R14: 0000000000800001 R15: ffff88801233c710
FS:  0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8e58fa4dd8 CR3: 00000000003a0000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __cancel_work_sync+0xf5/0x110 kernel/workqueue.c:4340
 thermal_zone_device_unregister+0x213/0x370 drivers/thermal/thermal_core.c:1599
 psy_unregister_thermal drivers/power/supply/power_supply_core.c:1328 [inline]
 power_supply_unregister+0xe8/0x140 drivers/power/supply/power_supply_core.c:1601
 thunderstrike_destroy drivers/hid/hid-nvidia-shield.c:927 [inline]
 shield_remove+0x72/0x120 drivers/hid/hid-nvidia-shield.c:1104
 hid_device_remove+0x225/0x370
 device_remove drivers/base/dd.c:567 [inline]
 __device_release_driver drivers/base/dd.c:1273 [inline]
 device_release_driver_internal+0x4a9/0x7c0 drivers/base/dd.c:1296
 bus_remove_device+0x34f/0x420 drivers/base/bus.c:576
 device_del+0x57a/0x9b0 drivers/base/core.c:3864
 hid_remove_device drivers/hid/hid-core.c:2939 [inline]
 hid_destroy_device+0x68/0x100 drivers/hid/hid-core.c:2959
 usbhid_disconnect+0x9e/0xc0 drivers/hid/usbhid/hid-core.c:1458
 usb_unbind_interface+0x25e/0x940 drivers/usb/core/driver.c:461
 device_remove drivers/base/dd.c:569 [inline]
 __device_release_driver drivers/base/dd.c:1273 [inline]
 device_release_driver_internal+0x503/0x7c0 drivers/base/dd.c:1296
 bus_remove_device+0x34f/0x420 drivers/base/bus.c:576
 device_del+0x57a/0x9b0 drivers/base/core.c:3864
 usb_disable_device+0x3bf/0x850 drivers/usb/core/message.c:1418
 usb_disconnect+0x340/0x950 drivers/usb/core/hub.c:2304
 hub_port_connect drivers/usb/core/hub.c:5361 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
 port_event drivers/usb/core/hub.c:5821 [inline]
 hub_event+0x1ebc/0x5150 drivers/usb/core/hub.c:5903
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (112):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/03 03:27 upstream f23aa4c0761a a4c7fd36 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in enable_work
2024/09/18 04:49 upstream a940d9a43e62 c673ca06 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/20 21:46 upstream bf9aa14fc523 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in enable_work
2024/11/15 12:55 upstream cfaaa7d010d1 f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in enable_work
2024/11/14 12:51 upstream 0a9b9d17f3a7 77f3eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in enable_work
2024/11/13 11:45 upstream 3022e9d00ebe 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in enable_work
2024/11/12 14:19 upstream 2d5404caa8c7 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in enable_work
2024/11/11 14:00 upstream 2d5404caa8c7 97fe5517 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in enable_work
2024/11/11 09:54 upstream 2d5404caa8c7 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in enable_work
2024/11/11 02:11 upstream a9cda7c0ffed 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in enable_work
2024/11/10 16:11 upstream de2f378f2b77 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in enable_work
2024/11/10 12:09 upstream de2f378f2b77 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in enable_work
2024/11/10 10:39 upstream de2f378f2b77 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in enable_work
2024/11/09 19:41 upstream da4373fbcf00 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in enable_work
2024/11/09 13:13 upstream da4373fbcf00 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in enable_work
2024/11/09 10:36 upstream 50643bbc9eb6 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in enable_work
2024/11/08 06:47 upstream 906bd684e4b1 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in enable_work
2024/11/07 23:46 upstream ff7afaeca1a1 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in enable_work
2024/11/07 14:07 upstream ff7afaeca1a1 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in enable_work
2024/11/04 16:55 upstream 59b723cd2adb 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in enable_work
2024/10/31 11:10 upstream 4236f913808c fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in enable_work
2024/10/29 07:09 upstream e42b1a9a2557 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in enable_work
2024/10/26 09:35 upstream 850925a8133c 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in enable_work
2024/08/17 10:09 upstream e5fa841af679 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in enable_work
2024/11/07 16:14 upstream ff7afaeca1a1 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in enable_work
2024/10/27 11:43 upstream 850925a8133c 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in enable_work
2024/11/12 16:00 upstream 2d5404caa8c7 c819f227 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/12 12:45 upstream 2d5404caa8c7 c819f227 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/12 09:28 upstream 2d5404caa8c7 75bb1b32 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/12 08:07 upstream 2d5404caa8c7 75bb1b32 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/12 03:36 upstream 2d5404caa8c7 75bb1b32 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/11 18:51 upstream 2d5404caa8c7 0c4b1325 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/11 16:08 upstream 2d5404caa8c7 0c4b1325 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/10 23:50 upstream a9cda7c0ffed 6b856513 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/10 08:41 upstream de2f378f2b77 6b856513 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/10 04:02 upstream de2f378f2b77 6b856513 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/08 12:34 upstream 906bd684e4b1 d40c056e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/08 09:36 upstream 906bd684e4b1 179b040e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in enable_work
2024/11/20 03:09 upstream 158f238aa69d 7d02db5a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/19 19:22 upstream 158f238aa69d 7d02db5a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/19 12:15 upstream 158f238aa69d 571351cb .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/19 09:51 upstream 9fb2cfa4635a 571351cb .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/18 20:32 upstream adc218676eef e7bb5d6e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/15 19:49 upstream f868cd251776 eeafb645 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/15 00:43 upstream cfaaa7d010d1 f6ede3a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/14 18:37 upstream 0a9b9d17f3a7 77f3eeb7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/13 12:53 upstream f1b785f4c787 4dfba277 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/10 18:50 upstream a9cda7c0ffed 6b856513 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/10 00:35 upstream da4373fbcf00 6b856513 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/09 00:22 upstream f1dce1f09380 d40c056e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in enable_work
2024/11/12 21:38 linux-next 929beafbe7ac 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in enable_work
2024/11/08 20:38 linux-next 929beafbe7ac 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in enable_work
2024/11/07 12:38 linux-next 5b913f5d7d7f df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in enable_work
* Struck through repros no longer work on HEAD.