INFO: task syz.0.933:13438 blocked for more than 143 seconds.
Not tainted 6.11.0-rc5-syzkaller-00310-ge8784b0aef62 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.933 state:D stack:28320 pid:13438 tgid:13434 ppid:12906 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xe37/0x5490 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
blk_mq_freeze_queue_wait+0x146/0x190 block/blk-mq.c:139
nbd_set_size drivers/block/nbd.c:371 [inline]
__nbd_ioctl drivers/block/nbd.c:1510 [inline]
nbd_ioctl+0xf1d/0xfd0 drivers/block/nbd.c:1559
blkdev_ioctl+0x27c/0x6e0 block/ioctl.c:676
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl fs/ioctl.c:893 [inline]
__x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f60d6179eb9
RSP: 002b:00007f60d5bff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f60d6316058 RCX: 00007f60d6179eb9
RDX: 0000000000000000 RSI: 000000000000ab07 RDI: 000000000000000a
RBP: 00007f60d61e793e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f60d6316058 R15: 00007ffc972aab18
INFO: task syz.0.933:13443 blocked for more than 144 seconds.
Not tainted 6.11.0-rc5-syzkaller-00310-ge8784b0aef62 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.933 state:D stack:28352 pid:13443 tgid:13434 ppid:12906 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xe37/0x5490 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752
nbd_start_device_ioctl drivers/block/nbd.c:1459 [inline]
__nbd_ioctl drivers/block/nbd.c:1519 [inline]
nbd_ioctl+0x312/0xfd0 drivers/block/nbd.c:1559
blkdev_ioctl+0x27c/0x6e0 block/ioctl.c:676
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl fs/ioctl.c:893 [inline]
__x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f60d6179eb9
RSP: 002b:00007f60d5bde038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f60d6316130 RCX: 00007f60d6179eb9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000007
RBP: 00007f60d61e793e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f60d6316130 R15: 00007ffc972aab18
INFO: task syz.0.933:13445 blocked for more than 144 seconds.
Not tainted 6.11.0-rc5-syzkaller-00310-ge8784b0aef62 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.933 state:D stack:28784 pid:13445 tgid:13434 ppid:12906 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xe37/0x5490 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752
nbd_ioctl+0x151/0xfd0 drivers/block/nbd.c:1552
blkdev_ioctl+0x27c/0x6e0 block/ioctl.c:676
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl fs/ioctl.c:893 [inline]
__x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f60d6179eb9
RSP: 002b:00007f60d5bbd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f60d6316208 RCX: 00007f60d6179eb9
RDX: 0000000000000000 RSI: 000000000000ab04 RDI: 0000000000000006
RBP: 00007f60d61e793e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f60d6316208 R15: 00007ffc972aab18
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626
2 locks held by kworker/0:2/1183:
2 locks held by getty/4979:
#0: ffff8880301df0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211
3 locks held by kworker/0:6/5305:
2 locks held by kworker/u8:13/8859:
#0: ffff8880b883edd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:568 [inline]
#0: ffff8880b883edd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:553
#1: ffff8880b8828a48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:989
3 locks held by kworker/u9:1/10750:
#0: ffff88805ee7b948 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1: ffffc900094b7d80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffff888058010d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:327
3 locks held by kworker/0:4/13006:
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1: ffffc90004557d80 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffffffff8ddc5778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:296
1 lock held by udevd/13243:
#0: ffff888025dff4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe40 block/bdev.c:897
1 lock held by syz.0.933/13438:
#0: ffff888025eda998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xfd0 drivers/block/nbd.c:1552
1 lock held by syz.0.933/13443:
#0: ffff888025eda998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_start_device_ioctl drivers/block/nbd.c:1459 [inline]
#0: ffff888025eda998 (&nbd->config_lock){+.+.}-{3:3}, at: __nbd_ioctl drivers/block/nbd.c:1519 [inline]
#0: ffff888025eda998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x312/0xfd0 drivers/block/nbd.c:1559
1 lock held by syz.0.933/13445:
#0: ffff888025eda998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xfd0 drivers/block/nbd.c:1552
5 locks held by kworker/1:2/13617:
#0: ffff888022abfd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1: ffffc9000378fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffff888029199190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#2: ffff888029199190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e10 drivers/usb/core/hub.c:5849
#3: ffff88802918c518 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3206 [inline]
#3: ffff88802918c518 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5418 [inline]
#3: ffff88802918c518 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
#3: ffff88802918c518 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5821 [inline]
#3: ffff88802918c518 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x27ec/0x4e10 drivers/usb/core/hub.c:5903
#4: ffff888027b7d968 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5419 [inline]
#4: ffff888027b7d968 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
#4: ffff888027b7d968 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5821 [inline]
#4: ffff888027b7d968 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2815/0x4e10 drivers/usb/core/hub.c:5903
3 locks held by syz-executor/14349:
#0: ffff888067d4cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481
#1: ffff888067d4c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x346/0x1110 net/bluetooth/hci_sync.c:5145
#2: ffffffff8fc9c0e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline]
#2: ffffffff8fc9c0e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2592
1 lock held by syz.1.1248/14785:
#0: ffffffff8ddc5778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328
3 locks held by syz.0.1250/14795:
#0: ffff888045e10d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481
#1: ffff888045e10078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x346/0x1110 net/bluetooth/hci_sync.c:5145
#2: ffffffff8fc9c0e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline]
#2: ffffffff8fc9c0e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2592
3 locks held by syz.2.1251/14801:
#0: ffff88805bf54d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481
#1: ffff88805bf54078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x346/0x1110 net/bluetooth/hci_sync.c:5145
#2: ffffffff8fc9c0e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline]
#2: ffffffff8fc9c0e8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2592
1 lock held by sed/14823:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc5-syzkaller-00310-ge8784b0aef62 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf0c/0x1240 kernel/hung_task.c:379
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
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 14823 Comm: sed Not tainted 6.11.0-rc5-syzkaller-00310-ge8784b0aef62 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:__trace_hardirqs_on_caller kernel/locking/lockdep.c:4299 [inline]
RIP: 0010:lockdep_hardirqs_on_prepare+0x272/0x420 kernel/locking/lockdep.c:4358
Code: 03 0f b6 14 11 38 d0 7c 08 84 d2 0f 85 98 01 00 00 8b 15 75 09 ab 0e 85 d2 0f 84 0e 01 00 00 90 e9 26 ff ff ff be 06 00 00 00 <48> 89 df e8 96 fc ff ff e9 f2 fe ff ff 90 0f 0b 90 48 c7 c7 40 d7
RSP: 0018:ffffc9000f50f5e8 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffff888031603c00 RCX: 1ffffffff2d27211
RDX: 1ffff110062c08d8 RSI: 0000000000000006 RDI: ffff8880316046c0
RBP: 6bab2452450a1268 R08: 0000000000000000 R09: fffffbfff2d244e7
R10: ffffffff9692273f R11: 0000000000000000 R12: ffff88805636e000
R13: 0000000000000005 R14: 0000000000000005 R15: ffff88805636e000
FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6f7aa7d440 CR3: 000000000db7c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:61
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
_raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194
__debug_check_no_obj_freed lib/debugobjects.c:999 [inline]
debug_check_no_obj_freed+0x328/0x600 lib/debugobjects.c:1020
free_pages_prepare mm/page_alloc.c:1101 [inline]
free_unref_folios+0x386/0x1390 mm/page_alloc.c:2660
folios_put_refs+0x560/0x760 mm/swap.c:1039
free_pages_and_swap_cache+0x45f/0x510 mm/swap_state.c:335
__tlb_batch_free_encoded_pages+0xf9/0x290 mm/mmu_gather.c:136
tlb_batch_pages_flush mm/mmu_gather.c:149 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:366 [inline]
tlb_flush_mmu mm/mmu_gather.c:373 [inline]
tlb_finish_mmu+0x168/0x7b0 mm/mmu_gather.c:465
exit_mmap+0x3d1/0xb20 mm/mmap.c:3425
__mmput+0x12a/0x480 kernel/fork.c:1345
mmput+0x62/0x70 kernel/fork.c:1367
exit_mm kernel/exit.c:571 [inline]
do_exit+0x9bf/0x2bb0 kernel/exit.c:869
do_group_exit+0xd3/0x2a0 kernel/exit.c:1031
__do_sys_exit_group kernel/exit.c:1042 [inline]
__se_sys_exit_group kernel/exit.c:1040 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1040
x64_sys_call+0x14a9/0x16a0 arch/x86/include/generated/asm/syscalls_64.h:232
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6f7ab3ba90
Code: Unable to access opcode bytes at 0x7f6f7ab3ba66.
RSP: 002b:00007fff0d670208 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f6f7ac2c860 RCX: 00007f6f7ab3ba90
RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00007f6f7ac2c860 R08: 0000000000000002 R09: ef2225ae869e8ec5
R10: 00007fff0d6700c0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6f7ac30658 R15: 0000000000000001