syzbot


WARNING in dev_watchdog (3)

Status: closed as invalid on 2024/09/04 18:18
Subsystems: net
[Documentation on labels]
First crash: 178d, last: 178d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in dev_watchdog (2) net C inconclusive 6791 366d 1765d 25/28 fixed on 2024/01/30 15:47
linux-6.1 WARNING in dev_watchdog origin:upstream missing-backport C inconclusive 149 152d 689d 0/3 upstream: reported C repro on 2023/03/11 19:14
upstream WARNING in dev_watchdog 25 2690d 2715d 0/28 closed as invalid on 2017/10/22 12:45
linux-5.15 WARNING in dev_watchdog missing-backport origin:lts-only C inconclusive 227 3d07h 690d 0/3 upstream: reported C repro on 2023/03/10 20:16

Sample crash report:
 process_scheduled_works kernel/workqueue.c:3312 [inline]
 worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390
 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
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4925 at lib/ref_tracker.c:255 ref_tracker_free+0x61e/0x820 lib/ref_tracker.c:255
Modules linked in:
CPU: 1 UID: 0 PID: 4925 Comm: kworker/1:4 Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: usb_hub_wq hub_event
RIP: 0010:ref_tracker_free+0x61e/0x820 lib/ref_tracker.c:255
Code: 00 44 8b 6b 18 31 ff 44 89 ee e8 0d 1d f5 fe 45 85 ed 0f 85 a6 00 00 00 e8 ff 21 f5 fe 48 8b 34 24 48 89 ef e8 33 b0 85 04 90 <0f> 0b 90 bb ea ff ff ff e9 4e fd ff ff e8 e0 21 f5 fe 4c 8d 6d 44
RSP: 0018:ffffc900001b8a90 EFLAGS: 00010202
RAX: 0000000000000101 RBX: ffff8881124515c0 RCX: 0000000000000000
RDX: 0000000000000102 RSI: ffffffff8727e740 RDI: 0000000000000001
RBP: ffff8881310e45e0 R08: 0000000000000001 R09: fffffbfff1aad1e6
R10: ffffffff8d568f37 R11: 0000000000000000 R12: 1ffff92000037154
R13: 0000000004dc0314 R14: ffff8881124515d8 R15: ffff8881310e4018
FS:  0000000000000000(0000) GS:ffff8881f6300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdeec373fe8 CR3: 0000000118a12000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 netdev_tracker_free include/linux/netdevice.h:4067 [inline]
 netdev_put include/linux/netdevice.h:4084 [inline]
 netdev_put include/linux/netdevice.h:4080 [inline]
 dev_watchdog+0x1da/0x8e0 net/sched/sch_generic.c:545
 call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1792
 expire_timers kernel/time/timer.c:1843 [inline]
 __run_timers+0x74b/0xaf0 kernel/time/timer.c:2417
 __run_timer_base kernel/time/timer.c:2428 [inline]
 __run_timer_base kernel/time/timer.c:2421 [inline]
 run_timer_base+0x111/0x190 kernel/time/timer.c:2437
 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2447
 handle_softirqs+0x209/0x8e0 kernel/softirq.c:554
 __do_softirq kernel/softirq.c:588 [inline]
 invoke_softirq kernel/softirq.c:428 [inline]
 __irq_exit_rcu kernel/softirq.c:637 [inline]
 irq_exit_rcu+0xac/0x110 kernel/softirq.c:649
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 16 8c 4d fa 48 89 df e8 2e 09 4e fa f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 <bf> 01 00 00 00 e8 85 9f 42 fa 65 8b 05 76 d1 1f 79 85 c0 74 16 5b
RSP: 0018:ffffc9000215e820 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffff88810a7d9218 RCX: 1ffffffff1aafd8e
RDX: 0000000000000000 RSI: ffffffff8727e740 RDI: ffffffff87465d00
RBP: 0000000000000246 R08: 0000000000000001 R09: fffffbfff1aad1da
R10: ffffffff8d568ed7 R11: 0000000000000000 R12: 0000000000000002
R13: 0000000000000000 R14: ffff88810a7d9000 R15: 0000000000000000
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 input_inject_event+0x193/0x370 drivers/input/input.c:431
 __led_set_brightness drivers/leds/led-core.c:52 [inline]
 led_set_brightness_nopm drivers/leds/led-core.c:323 [inline]
 led_set_brightness_nosleep drivers/leds/led-core.c:354 [inline]
 led_set_brightness+0x211/0x290 drivers/leds/led-core.c:316
 led_trigger_event drivers/leds/led-triggers.c:407 [inline]
 led_trigger_event+0xda/0x270 drivers/leds/led-triggers.c:395
 kbd_propagate_led_state drivers/tty/vt/keyboard.c:1080 [inline]
 kbd_update_leds_helper drivers/tty/vt/keyboard.c:1091 [inline]
 kbd_start+0x15c/0x1d0 drivers/tty/vt/keyboard.c:1620
 input_register_handle+0x2dd/0x4e0 drivers/input/input.c:2735
 kbd_connect+0xca/0x160 drivers/tty/vt/keyboard.c:1587
 input_attach_handler.isra.0+0x181/0x260 drivers/input/input.c:1027
 input_register_device+0xa8e/0x1140 drivers/input/input.c:2473
 hidinput_connect+0x1d9c/0x2ba0 drivers/hid/hid-input.c:2370
 hid_connect+0x13a8/0x18a0 drivers/hid/hid-core.c:2209
 hid_hw_start drivers/hid/hid-core.c:2324 [inline]
 hid_hw_start+0xaa/0x140 drivers/hid/hid-core.c:2315
 holtek_kbd_probe drivers/hid/hid-holtek-kbd.c:155 [inline]
 holtek_kbd_probe+0x71/0x210 drivers/hid/hid-holtek-kbd.c:144
 __hid_device_probe drivers/hid/hid-core.c:2674 [inline]
 hid_device_probe+0x2eb/0x490 drivers/hid/hid-core.c:2711
 call_driver_probe drivers/base/dd.c:578 [inline]
 really_probe+0x23e/0xa90 drivers/base/dd.c:657
 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:799
 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829
 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:957
 bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
 __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1029
 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
 device_add+0x114b/0x1a70 drivers/base/core.c:3679
 hid_add_device+0x37f/0xa70 drivers/hid/hid-core.c:2857
 usbhid_probe+0xd3b/0x1410 drivers/hid/usbhid/hid-core.c:1431
 usb_probe_interface+0x309/0x9d0 drivers/usb/core/driver.c:399
 call_driver_probe drivers/base/dd.c:578 [inline]
 really_probe+0x23e/0xa90 drivers/base/dd.c:657
 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:799
 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829
 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:957
 bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
 __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1029
 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
 device_add+0x114b/0x1a70 drivers/base/core.c:3679
 usb_set_configuration+0x10cb/0x1c50 drivers/usb/core/message.c:2210
 usb_generic_driver_probe+0xb1/0x110 drivers/usb/core/generic.c:254
 usb_probe_device+0xec/0x3e0 drivers/usb/core/driver.c:294
 call_driver_probe drivers/base/dd.c:578 [inline]
 really_probe+0x23e/0xa90 drivers/base/dd.c:657
 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:799
 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829
 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:957
 bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
 __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1029
 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
 device_add+0x114b/0x1a70 drivers/base/core.c:3679
 usb_new_device+0xd90/0x1a10 drivers/usb/core/hub.c:2651
 hub_port_connect drivers/usb/core/hub.c:5521 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
 port_event drivers/usb/core/hub.c:5821 [inline]
 hub_event+0x2e66/0x4f50 drivers/usb/core/hub.c:5903
 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231
 process_scheduled_works kernel/workqueue.c:3312 [inline]
 worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390
 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>
----------------
Code disassembly (best guess):
   0:	f5                   	cmc
   1:	53                   	push   %rbx
   2:	48 8b 74 24 10       	mov    0x10(%rsp),%rsi
   7:	48 89 fb             	mov    %rdi,%rbx
   a:	48 83 c7 18          	add    $0x18,%rdi
   e:	e8 16 8c 4d fa       	call   0xfa4d8c29
  13:	48 89 df             	mov    %rbx,%rdi
  16:	e8 2e 09 4e fa       	call   0xfa4e0949
  1b:	f7 c5 00 02 00 00    	test   $0x200,%ebp
  21:	75 23                	jne    0x46
  23:	9c                   	pushf
  24:	58                   	pop    %rax
  25:	f6 c4 02             	test   $0x2,%ah
  28:	75 37                	jne    0x61
* 2a:	bf 01 00 00 00       	mov    $0x1,%edi <-- trapping instruction
  2f:	e8 85 9f 42 fa       	call   0xfa429fb9
  34:	65 8b 05 76 d1 1f 79 	mov    %gs:0x791fd176(%rip),%eax        # 0x791fd1b1
  3b:	85 c0                	test   %eax,%eax
  3d:	74 16                	je     0x55
  3f:	5b                   	pop    %rbx

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/03 17:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d483f034f032 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in dev_watchdog
* Struck through repros no longer work on HEAD.