INFO: task syz-executor.4:9398 blocked for more than 143 seconds.
Not tainted 6.9.0-rc1-next-20240328-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27256 pid:9398 tgid:9397 ppid:8108 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nbd_start_device_ioctl drivers/block/nbd.c:1464 [inline]
__nbd_ioctl drivers/block/nbd.c:1524 [inline]
nbd_ioctl+0xbdb/0xf40 drivers/block/nbd.c:1564
blkdev_ioctl+0x5e5/0x740 block/ioctl.c:640
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
do_syscall_64+0xfb/0x240
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f72f8a7dda9
RSP: 002b:00007f72f98470c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f72f8babf80 RCX: 00007f72f8a7dda9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007f72f8aca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f72f8babf80 R15: 00007ffe2d821068
INFO: task syz-executor.4:9399 blocked for more than 143 seconds.
Not tainted 6.9.0-rc1-next-20240328-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:26136 pid:9399 tgid:9397 ppid:8108 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1557
blkdev_ioctl+0x5e5/0x740 block/ioctl.c:640
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
do_syscall_64+0xfb/0x240
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f72f8a7dda9
RSP: 002b:00007f72f98260c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f72f8bac050 RCX: 00007f72f8a7dda9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007f72f8aca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f72f8bac050 R15: 00007ffe2d821068
INFO: task syz-executor.4:9409 blocked for more than 143 seconds.
Not tainted 6.9.0-rc1-next-20240328-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:28568 pid:9409 tgid:9397 ppid:8108 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
blk_mq_freeze_queue_wait+0xff/0x190 block/blk-mq.c:139
nbd_set_size+0xce/0x650 drivers/block/nbd.c:363
nbd_ioctl+0x702/0xf40 drivers/block/nbd.c:1564
blkdev_ioctl+0x5e5/0x740 block/ioctl.c:640
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
do_syscall_64+0xfb/0x240
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f72f8a7dda9
RSP: 002b:00007f72f98050c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f72f8bac120 RCX: 00007f72f8a7dda9
RDX: ffffffffffffffff RSI: 000000000000ab02 RDI: 0000000000000003
RBP: 00007f72f8aca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f72f8bac120 R15: 00007ffe2d821068
INFO: task syz-executor.4:9417 blocked for more than 144 seconds.
Not tainted 6.9.0-rc1-next-20240328-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:28920 pid:9417 tgid:9397 ppid:8108 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1557
blkdev_ioctl+0x5e5/0x740 block/ioctl.c:640
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
do_syscall_64+0xfb/0x240
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f72f8a7dda9
RSP: 002b:00007f72f97e40c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f72f8bac1f0 RCX: 00007f72f8a7dda9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007f72f8aca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f72f8bac1f0 R15: 00007ffe2d821068
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
3 locks held by kworker/u9:0/52:
#0: ffff88801e184148 ((wq_completion)hci5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3193 [inline]
#0: ffff88801e184148 ((wq_completion)hci5){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3299
#1: ffffc90000bc7d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3194 [inline]
#1: ffffc90000bc7d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3299
#2: ffff888077731060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:309
3 locks held by kworker/u8:6/1041:
2 locks held by kworker/u8:8/2815:
#0: ffff8880b953e698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
#1: ffff8880b9528948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
2 locks held by getty/4833:
#0: ffff888075d900a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031432f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
1 lock held by udevd/9357:
#0: ffff8880203ca4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:869
1 lock held by syz-executor.4/9398:
#0: ffff8880203c5198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_start_device_ioctl drivers/block/nbd.c:1464 [inline]
#0: ffff8880203c5198 (&nbd->config_lock){+.+.}-{3:3}, at: __nbd_ioctl drivers/block/nbd.c:1524 [inline]
#0: ffff8880203c5198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0xbdb/0xf40 drivers/block/nbd.c:1564
1 lock held by syz-executor.4/9399:
#0: ffff8880203c5198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1557
1 lock held by syz-executor.4/9409:
#0: ffff8880203c5198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1557
1 lock held by syz-executor.4/9417:
#0: ffff8880203c5198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1557
1 lock held by syz-executor.4/10497:
#0: ffff8880203ca4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:869
1 lock held by syz-executor.4/11803:
#0: ffff8880203ca4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xdc/0xc90 block/bdev.c:869
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc1-next-20240328-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfde/0x1020 kernel/hung_task.c:380
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 1041 Comm: kworker/u8:6 Not tainted 6.9.0-rc1-next-20240328-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
RIP: 0010:__lock_acquire+0x6a/0x1fd0 kernel/locking/lockdep.c:5005
Code: df 0f b6 04 30 84 c0 0f 85 4b 16 00 00 83 3d b8 55 37 0e 00 0f 84 1c 11 00 00 83 3d af 2b ae 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 78 3b 88 00 48 be 00 00 00 00 00 fc
RSP: 0018:ffffc90004797770 EFLAGS: 00000806
RAX: 1ffffffff1c669ac RBX: 0000000000000000 RCX: 0000000000000002
RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffffffff8e334d60
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1f521ae R12: ffffffff8e334d60
R13: 0000000000000000 R14: ffff888021cebc00 R15: 0000000000000002
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000c65fc0 CR3: 000000000e134000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
rcu_read_lock include/linux/rcupdate.h:781 [inline]
batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:754 [inline]
batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:825 [inline]
batadv_iv_ogm_schedule+0x43f/0x1090 net/batman-adv/bat_iv_ogm.c:868
batadv_iv_send_outstanding_bat_ogm_packet+0x6fe/0x810 net/batman-adv/bat_iv_ogm.c:1712
process_one_work kernel/workqueue.c:3218 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3299
worker_thread+0x86d/0xd70 kernel/workqueue.c:3380
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243