INFO: task syz-executor.3:5139 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-next-20221226-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:24352 pid:5139 ppid:1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x2544/0x53f0 kernel/sched/core.c:6555
schedule+0xde/0x1b0 kernel/sched/core.c:6631
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6690
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747
blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:813
blkdev_get_by_dev+0x6f/0x90 block/bdev.c:856
blkdev_open+0x140/0x2c0 block/fops.c:478
do_dentry_open+0x6cc/0x13f0 fs/open.c:882
do_open fs/namei.c:3557 [inline]
path_openat+0x1bbc/0x2a50 fs/namei.c:3714
do_filp_open+0x1ba/0x410 fs/namei.c:3741
do_sys_openat2+0x16d/0x4c0 fs/open.c:1310
do_sys_open fs/open.c:1326 [inline]
__do_sys_openat fs/open.c:1342 [inline]
__se_sys_openat fs/open.c:1337 [inline]
__x64_sys_openat+0x143/0x1f0 fs/open.c:1337
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fcd8943e234
RSP: 002b:00007ffc775c39e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007ffc775c3ae0 RCX: 00007fcd8943e234
RDX: 0000000000000002 RSI: 00007ffc775c3b20 RDI: 00000000ffffff9c
RBP: 00007ffc775c3b20 R08: 0000000000000000 R09: 00007ffc775c38f0
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 00000000001699c7 R14: 000000000000000f R15: 00007ffc775c3b20
INFO: task udevd:18147 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-next-20221226-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:27112 pid:18147 ppid:4435 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x2544/0x53f0 kernel/sched/core.c:6555
schedule+0xde/0x1b0 kernel/sched/core.c:6631
io_schedule+0xbe/0x130 kernel/sched/core.c:8811
folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1297
folio_lock include/linux/pagemap.h:938 [inline]
truncate_inode_pages_range+0xb2e/0xec0 mm/truncate.c:421
kill_bdev block/bdev.c:76 [inline]
blkdev_flush_mapping+0x140/0x2f0 block/bdev.c:662
blkdev_put_part block/bdev.c:731 [inline]
blkdev_put+0x236/0x770 block/bdev.c:951
blkdev_close+0x68/0x80 block/fops.c:492
__fput+0x27c/0xa90 fs/file_table.c:320
task_work_run+0x16f/0x270 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xb17/0x2a70 kernel/exit.c:867
do_group_exit+0xd4/0x2a0 kernel/exit.c:1012
get_signal+0x21c3/0x2450 kernel/signal.c:2859
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fca779258fe
RSP: 002b:00007ffd7dd37748 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffffc RBX: 0000000000001000 RCX: 00007fca779258fe
RDX: 0000000000000400 RSI: 000055652a9efb38 RDI: 0000000000000009
RBP: 0000000000000400 R08: 000055652a9efb10 R09: 00007fca779f5a60
R10: 0000000000000008 R11: 0000000000000246 R12: 000055652a9efb10
R13: 000055652a9efb28 R14: 000055652a9d2ba0 R15: 000055652a9d2b50
INFO: task udevd:18821 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-next-20221226-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:27312 pid:18821 ppid:4435 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x2544/0x53f0 kernel/sched/core.c:6555
schedule+0xde/0x1b0 kernel/sched/core.c:6631
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6690
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747
blkdev_put+0xc0/0x770 block/bdev.c:911
blkdev_close+0x68/0x80 block/fops.c:492
__fput+0x27c/0xa90 fs/file_table.c:320
task_work_run+0x16f/0x270 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xb17/0x2a70 kernel/exit.c:867
do_group_exit+0xd4/0x2a0 kernel/exit.c:1012
get_signal+0x21c3/0x2450 kernel/signal.c:2859
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fca779258fe
RSP: 002b:00007ffd7dd37748 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffffc RBX: 0000000000001000 RCX: 00007fca779258fe
RDX: 0000000000000400 RSI: 000055652a9efb38 RDI: 0000000000000009
RBP: 0000000000000400 R08: 000055652a9efb10 R09: 00007fca779f5a60
R10: 0000000000000008 R11: 0000000000000246 R12: 000055652a9efb10
R13: 000055652a9efb28 R14: 000055652a9dd210 R15: 000055652a9dd1c0
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c791c30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c791930 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8c792780 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x2c2 kernel/locking/lockdep.c:6494
1 lock held by klogd/4424:
#0: ffff8880b983b598 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:545 [inline]
#0: ffff8880b983b598 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:530
2 locks held by getty/4752:
#0: ffff88802c04a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.3/5139:
#0: ffff88801e2a04c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb80 block/bdev.c:813
2 locks held by kworker/u4:24/13618:
#0: ffff88807bdfb938 ((wq_completion)loop3){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff88807bdfb938 ((wq_completion)loop3){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff88807bdfb938 ((wq_completion)loop3){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff88807bdfb938 ((wq_completion)loop3){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff88807bdfb938 ((wq_completion)loop3){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff88807bdfb938 ((wq_completion)loop3){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc900053bfda8 ((work_completion)(&lo->rootcg_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
1 lock held by udevd/18147:
#0: ffff88801e2a04c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xc0/0x770 block/bdev.c:911
1 lock held by udevd/18821:
#0: ffff88801e2a04c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xc0/0x770 block/bdev.c:911
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc1-next-20221226-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x32f/0x3c0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xc75/0xfc0 kernel/hung_task.c:377
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 31747 Comm: kworker/u4:18 Not tainted 6.2.0-rc1-next-20221226-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: phy9 ieee80211_iface_work
RIP: 0010:__kernel_text_address+0x4/0x30 kernel/extable.c:78
Code: 00 00 89 44 24 04 e8 cb 1d b1 08 8b 44 24 04 48 83 c4 08 5d c3 48 89 ef e8 59 4b 3b 00 0f b6 c0 eb e0 0f 1f 40 00 66 0f 1f 00 <53> 48 89 fb e8 73 ff ff ff 85 c0 75 17 48 81 fb 00 e0 c8 8f 72 0c
RSP: 0018:ffffc900038ff7f8 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffc900038ff818 RCX: 0000000000000000
RDX: 1ffff9200071ff0c RSI: ffffc900038ffbc0 RDI: ffffffff81cea5fe
RBP: ffffc900038ff860 R08: ffffffff8f035342 R09: ffffc900038ff84c
R10: fffff5200071ff0e R11: ffffc900038ffbe8 R12: ffffc900038ff8d0
R13: 0000000000000000 R14: ffff88801ebc9d40 R15: ffffea0000a55ec0
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f936aca600 CR3: 000000002be21000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unwind_get_return_address arch/x86/kernel/unwind_orc.c:342 [inline]
unwind_get_return_address+0x55/0xa0 arch/x86/kernel/unwind_orc.c:337
arch_stack_walk+0x97/0xf0 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x22/0x40 mm/kasan/common.c:45
kasan_set_track+0x25/0x30 mm/kasan/common.c:52
kasan_save_free_info+0x2e/0x40 mm/kasan/generic.c:518
____kasan_slab_free mm/kasan/common.c:241 [inline]
____kasan_slab_free+0x160/0x1c0 mm/kasan/common.c:205
kasan_slab_free include/linux/kasan.h:178 [inline]
slab_free_hook mm/slub.c:1781 [inline]
slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1807
slab_free mm/slub.c:3787 [inline]
kmem_cache_free+0xee/0x5c0 mm/slub.c:3809
kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:874
__kfree_skb net/core/skbuff.c:931 [inline]
kfree_skb_reason+0x1b8/0x4f0 net/core/skbuff.c:956
kfree_skb include/linux/skbuff.h:1218 [inline]
ieee80211_iface_work+0x357/0xd70 net/mac80211/iface.c:1637
process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
worker_thread+0x669/0x1090 kernel/workqueue.c:2436
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308