INFO: task syz.1.588:7286 blocked for more than 144 seconds. Not tainted 6.11.0-syzkaller-05319-g4a39ac5b7d62 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.588 state:D stack:23104 pid:7286 tgid:7281 ppid:6986 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 io_schedule+0x8d/0x110 kernel/sched/core.c:7401 folio_wait_bit_common+0x882/0x12b0 mm/filemap.c:1307 __filemap_get_folio+0xb7/0xc10 mm/filemap.c:1898 truncate_inode_pages_range+0x57e/0xfc0 mm/truncate.c:351 kill_bdev block/bdev.c:91 [inline] blkdev_flush_mapping+0x108/0x270 block/bdev.c:671 blkdev_put_whole block/bdev.c:678 [inline] bdev_release+0x460/0x700 block/bdev.c:1103 blkdev_release+0x15/0x20 block/fops.c:639 __fput+0x23f/0x880 fs/file_table.c:431 task_work_run+0x24f/0x310 kernel/task_work.c:228 get_signal+0x16ad/0x1810 kernel/signal.c:2690 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa94f77def9 RSP: 002b:00007fa950631038 EFLAGS: 00000246 ORIG_RAX: 0000000000000011 RAX: fffffffffffffffc RBX: 00007fa94f936058 RCX: 00007fa94f77def9 RDX: 0000000000000046 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 00007fa94f7f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000052c R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa94f936058 R15: 00007ffd26eb6c18 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e938b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e938b60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e938b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6701 3 locks held by kworker/u8:9/2970: 2 locks held by getty/4980: #0: ffff88814c8980a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz.1.588/7286: #0: ffff888142f504c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x17e/0x700 block/bdev.c:1087 1 lock held by syz.1.778/7939: #0: ffff888142f504c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xf0/0xc50 block/bdev.c:904 1 lock held by syz.1.778/7940: #0: ffff888142f504c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xf0/0xc50 block/bdev.c:904 2 locks held by syz.4.998/8759: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-syzkaller-05319-g4a39ac5b7d62 #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+0x241/0x360 lib/dump_stack.c:119 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 8759 Comm: syz.4.998 Not tainted 6.11.0-syzkaller-05319-g4a39ac5b7d62 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__lock_acquire+0x14c/0x2050 kernel/locking/lockdep.c:5100 Code: f5 15 00 00 8b 55 00 48 c7 c0 00 8a 36 9a 48 c1 e8 03 0f b6 04 30 84 c0 48 89 54 24 28 0f 85 fd 15 00 00 83 3d e4 9c c6 18 00 <75> 09 83 fa 30 0f 83 07 14 00 00 44 89 6c 24 60 48 89 6c 24 48 4c RSP: 0018:ffffc9001509f5d0 EFLAGS: 00000046 RAX: 0000000000000004 RBX: ffffffff93c42ca8 RCX: ffffffff9a368a03 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffff88805dacd258 RBP: ffff888063c428d8 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff20359b6 R12: ffff888063c41e00 R13: 0000000000000001 R14: 0000000000000000 R15: ffff88805dacd258 FS: 00007fac96d6b6c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020608030 CR3: 000000004f208000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5822 lock_sock_nested+0x48/0x100 net/core/sock.c:3611 lock_sock include/net/sock.h:1609 [inline] skcipher_check_key+0x43/0x1d0 crypto/algif_skcipher.c:274 skcipher_recvmsg_nokey+0x20/0x60 crypto/algif_skcipher.c:317 sock_recvmsg_nosec+0x18e/0x1d0 net/socket.c:1052 ____sys_recvmsg+0x3cd/0x480 net/socket.c:2820 ___sys_recvmsg net/socket.c:2864 [inline] do_recvmmsg+0x46e/0xad0 net/socket.c:2958 __sys_recvmmsg net/socket.c:3037 [inline] __do_sys_recvmmsg net/socket.c:3060 [inline] __se_sys_recvmmsg net/socket.c:3053 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3053 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fac95f7def9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fac96d6b038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fac96135f80 RCX: 00007fac95f7def9 RDX: 03ffffffffffff67 RSI: 0000000020002440 RDI: 0000000000000007 RBP: 00007fac95ff0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fac96135f80 R15: 00007ffd900136b8