INFO: task syz-executor.3:20460 can't die for more than 143 seconds.
task:syz-executor.3 state:D stack:27944 pid:20460 ppid: 3694 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5107 [inline]
__schedule+0xa9a/0x4cc0 kernel/sched/core.c:6422
schedule+0xd2/0x1f0 kernel/sched/core.c:6494
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6553
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
misc_open+0x55/0x4a0 drivers/char/misc.c:107
chrdev_open+0x266/0x770 fs/char_dev.c:414
do_dentry_open+0x4a1/0x11f0 fs/open.c:824
do_open fs/namei.c:3469 [inline]
path_openat+0x1c71/0x2910 fs/namei.c:3602
do_filp_open+0x1aa/0x400 fs/namei.c:3629
do_sys_openat2+0x16d/0x4c0 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_openat fs/open.c:1244 [inline]
__se_sys_openat fs/open.c:1239 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1239
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fb65b63c004
RSP: 002b:00007fb65c7a3020 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fb65b79bf60 RCX: 00007fb65b63c004
RDX: 0000000000000002 RSI: 00007fb65b6e1ee8 RDI: 00000000ffffff9c
RBP: 00007fb65b6e1ee8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 0000000000000000 R14: 00000000200005c0 R15: 0000000000022000
INFO: task syz-executor.3:20460 blocked for more than 143 seconds.
Not tainted 5.18.0-rc2-next-20220414-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:27944 pid:20460 ppid: 3694 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5107 [inline]
__schedule+0xa9a/0x4cc0 kernel/sched/core.c:6422
schedule+0xd2/0x1f0 kernel/sched/core.c:6494
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6553
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
misc_open+0x55/0x4a0 drivers/char/misc.c:107
chrdev_open+0x266/0x770 fs/char_dev.c:414
do_dentry_open+0x4a1/0x11f0 fs/open.c:824
do_open fs/namei.c:3469 [inline]
path_openat+0x1c71/0x2910 fs/namei.c:3602
do_filp_open+0x1aa/0x400 fs/namei.c:3629
do_sys_openat2+0x16d/0x4c0 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_openat fs/open.c:1244 [inline]
__se_sys_openat fs/open.c:1239 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1239
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fb65b63c004
RSP: 002b:00007fb65c7a3020 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fb65b79bf60 RCX: 00007fb65b63c004
RDX: 0000000000000002 RSI: 00007fb65b6e1ee8 RDI: 00000000ffffff9c
RBP: 00007fb65b6e1ee8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 0000000000000000 R14: 00000000200005c0 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8bd83d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3267:
#0: ffff888015c62098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002e732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075
7 locks held by kworker/1:0/32642:
#0: ffff888145cacd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888145cacd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888145cacd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888145cacd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888145cacd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888145cacd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc900027afda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff888149122220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#2: ffff888149122220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4680 drivers/usb/core/hub.c:5693
#3: ffff888080e4f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#3: ffff888080e4f220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:945
#4: ffff88803d5521a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#4: ffff88803d5521a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:945
#5: ffff88807df70b18 (&go->hw_lock){+.+.}-{3:3}, at: go7007_boot_encoder+0x22/0xe0 drivers/media/usb/go7007/go7007-driver.c:130
#6: ffffffff8bc45370 (umhelper_sem){++++}-{3:3}, at: usermodehelper_read_trylock+0xba/0x2e0 kernel/umh.c:217
3 locks held by kworker/u4:33/4995:
3 locks held by udevd/18882:
#0: ffff888027959088 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:198 [inline]
#0: ffff888027959088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x189/0x6f0 fs/kernfs/file.c:237
#1: ffff888024849830 (kn->active#55){++++}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:199 [inline]
#1: ffff888024849830 (kn->active#55){++++}-{0:0}, at: kernfs_fop_read_iter+0x1ac/0x6f0 fs/kernfs/file.c:237
#2: ffff888080e4f220 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:772 [inline]
#2: ffff888080e4f220 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x3c/0x2c0 drivers/usb/core/sysfs.c:873
2 locks held by syz-executor.4/20446:
#0: ffffffff8c8032a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x55/0x4a0 drivers/char/misc.c:107
#1: ffffffff8bc51b68 (system_transition_mutex){+.+.}-{3:3}, at: snapshot_open+0x3b/0x2a0 kernel/power/user.c:54
1 lock held by syz-executor.3/20460:
#0: ffffffff8c8032a8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x55/0x4a0 drivers/char/misc.c:107
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc2-next-20220414-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline]
watchdog+0xcb7/0xed0 kernel/hung_task.c:413
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3583 Comm: syz-fuzzer Not tainted 5.18.0-rc2-next-20220414-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__mod_lruvec_page_state+0x0/0x3e0 mm/memcontrol.c:761
Code: e9 65 d2 ff ff 48 83 c4 08 5d 41 5c 41 5d c3 48 89 14 24 e8 52 07 f9 ff 48 8b 14 24 eb bf 66 66 2e 0f 1f 84 00 00 00 00 00 90 <41> 57 41 56 41 55 41 89 f5 41 54 41 89 d4 55 48 89 fd 53 e8 08 ee
RSP: 0018:ffffc900038df878 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 00000000ffffffff RSI: 0000000000000011 RDI: ffffea000154d100
RBP: ffffea000154d100 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff81b85bab R11: 0000000000000000 R12: ffff88801ea9b948
R13: ffffea000154d108 R14: 0000000000000001 R15: 0000000000000000
FS: 0000000001829750(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3558561f00 CR3: 0000000023975000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__dec_lruvec_page_state include/linux/vmstat.h:609 [inline]
page_remove_rmap+0x10a/0x1510 mm/rmap.c:1448
zap_pte_range mm/memory.c:1435 [inline]
zap_pmd_range mm/memory.c:1555 [inline]
zap_pud_range mm/memory.c:1584 [inline]
zap_p4d_range mm/memory.c:1605 [inline]
unmap_page_range+0x13df/0x3e30 mm/memory.c:1626
unmap_single_vma+0x196/0x360 mm/memory.c:1674
zap_page_range+0x2ce/0x4a0 mm/memory.c:1736
madvise_dontneed_single_vma mm/madvise.c:782 [inline]
madvise_dontneed_free mm/madvise.c:865 [inline]
madvise_vma_behavior+0xfd2/0x1d20 mm/madvise.c:1004
madvise_walk_vmas+0x1d5/0x2d0 mm/madvise.c:1226
do_madvise mm/madvise.c:1404 [inline]
do_madvise+0x2d4/0x3c0 mm/madvise.c:1362
__do_sys_madvise mm/madvise.c:1417 [inline]
__se_sys_madvise mm/madvise.c:1415 [inline]
__x64_sys_madvise+0xa6/0x110 mm/madvise.c:1415
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x466897
Code: 8b 24 24 48 8b 6c 24 10 48 83 c4 18 c3 cc cc cc cc cc cc 48 8b 7c 24 08 48 8b 74 24 10 8b 54 24 18 48 c7 c0 1c 00 00 00 0f 05 <89> 44 24 20 c3 cc cc cc cc 48 8b 7c 24 08 8b 74 24 10 8b 54 24 14
RSP: 002b:00007ffd8296a9e0 EFLAGS: 00000202 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 0000000000002000 RCX: 0000000000466897
RDX: 0000000000000004 RSI: 0000000000002000 RDI: 000000c01bfd0000
RBP: 00007ffd8296aa20 R08: 0000000000200000 R09: 0000000000000200
R10: 00000000000001e9 R11: 0000000000000202 R12: 00007f355a86d000
R13: 0000000000003780 R14: 00000000018292e0 R15: 0000000000001018
----------------
Code disassembly (best guess):
0: e9 65 d2 ff ff jmpq 0xffffd26a
5: 48 83 c4 08 add $0x8,%rsp
9: 5d pop %rbp
a: 41 5c pop %r12
c: 41 5d pop %r13
e: c3 retq
f: 48 89 14 24 mov %rdx,(%rsp)
13: e8 52 07 f9 ff callq 0xfff9076a
18: 48 8b 14 24 mov (%rsp),%rdx
1c: eb bf jmp 0xffffffdd
1e: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1)
25: 00 00 00 00
29: 90 nop
* 2a: 41 57 push %r15 <-- trapping instruction
2c: 41 56 push %r14
2e: 41 55 push %r13
30: 41 89 f5 mov %esi,%r13d
33: 41 54 push %r12
35: 41 89 d4 mov %edx,%r12d
38: 55 push %rbp
39: 48 89 fd mov %rdi,%rbp
3c: 53 push %rbx
3d: e8 .byte 0xe8
3e: 08 ee or %ch,%dh