INFO: task syz.1.5644:24016 blocked for more than 143 seconds. Not tainted 6.11.0-syzkaller-10669-g11a299a7933e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.5644 state:D stack:26992 pid:24016 tgid:24015 ppid:22389 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xed6/0x5920 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2591 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e1/0x600 kernel/sched/completion.c:116 wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion_state+0x1c/0x40 kernel/sched/completion.c:264 coredump_wait fs/coredump.c:418 [inline] do_coredump+0x833/0x46e0 fs/coredump.c:591 get_signal+0x2393/0x27a0 kernel/signal.c:2904 arch_do_signal_or_restart+0x90/0x7e0 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+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f103c57df39 RSP: 002b:00007f103d2f60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f103c735f88 RCX: 00007f103c57df39 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f103c735f8c RBP: 00007f103c735f80 R08: 00007f103d2f7080 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f103c735f8c R13: 0000000000000000 R14: 00007ffcc352c880 R15: 00007ffcc352c968 Showing all locks held in the system: 3 locks held by kworker/u8:0/11: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc90000107d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8fac1d28 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 1 lock held by khungtaskd/30: #0: ffffffff8ddb7580 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddb7580 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddb7580 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6701 3 locks held by kworker/u8:2/35: #0: ffff8881452ba948 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc90000ab7d80 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8fac1d28 (rtnl_mutex){+.+.}-{3:3}, at: cfg80211_dfs_channels_update_work+0xd0/0x640 net/wireless/mlme.c:1021 2 locks held by kworker/u8:7/2903: 1 lock held by dhcpcd/4895: #0: ffffffff8fac1d28 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x1c1/0x1e10 net/ipv4/devinet.c:1097 2 locks held by getty/4982: #0: ffff88802eb2f0a0 (&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+0xfba/0x1480 drivers/tty/n_tty.c:2211 3 locks held by kworker/u8:8/8281: #0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc900107cfd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffffffff8faac110 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xb40 net/core/net_namespace.c:580 1 lock held by syz.3.4989/21613: 3 locks held by syz-executor/21735: #0: ffff888061b8cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481 #1: ffff888061b8c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x2ef/0x11d0 net/bluetooth/hci_sync.c:5183 #2: ffffffff8fd27288 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffffffff8fd27288 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2589 1 lock held by syz.1.5644/24023: 4 locks held by syz-executor/25179: #0: ffffffff8dece410 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mmap kernel/fork.c:636 [inline] #0: ffffffff8dece410 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mm kernel/fork.c:1674 [inline] #0: ffffffff8dece410 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm+0x36c/0x2550 kernel/fork.c:1723 #1: ffff888061f83118 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #1: ffff888061f83118 (&mm->mmap_lock){++++}-{3:3}, at: dup_mmap kernel/fork.c:637 [inline] #1: ffff888061f83118 (&mm->mmap_lock){++++}-{3:3}, at: dup_mm kernel/fork.c:1674 [inline] #1: ffff888061f83118 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm+0x38a/0x2550 kernel/fork.c:1723 #2: ffff88807f8ba798 (&mm->mmap_lock/1){+.+.}-{3:3}, at: mmap_write_lock_nested include/linux/mmap_lock.h:113 [inline] #2: ffff88807f8ba798 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mmap kernel/fork.c:646 [inline] #2: ffff88807f8ba798 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mm kernel/fork.c:1674 [inline] #2: ffff88807f8ba798 (&mm->mmap_lock/1){+.+.}-{3:3}, at: copy_mm+0x3dd/0x2550 kernel/fork.c:1723 #3: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_compress mm/zswap.c:893 [inline] #3: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_store+0x737/0x1fe0 mm/zswap.c:1461 3 locks held by syz.1.6165/25762: #0: ffff8880656ec420 (sb_writers#5){.+.+}-{0:0}, at: get_signal+0x2393/0x27a0 kernel/signal.c:2904 #1: ffff88806a70bd90 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff88806a70bd90 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: shmem_file_write_iter+0x86/0x140 mm/shmem.c:3211 #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_compress mm/zswap.c:893 [inline] #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_store+0x737/0x1fe0 mm/zswap.c:1461 3 locks held by syz.1.6165/25764: #0: ffff8880656ec420 (sb_writers#5){.+.+}-{0:0}, at: get_signal+0x2393/0x27a0 kernel/signal.c:2904 #1: ffff8880682b4aa0 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff8880682b4aa0 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: shmem_file_write_iter+0x86/0x140 mm/shmem.c:3211 #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_compress mm/zswap.c:893 [inline] #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_store+0x737/0x1fe0 mm/zswap.c:1461 3 locks held by syz.1.6167/25784: #0: ffff8880656ec420 (sb_writers#5){.+.+}-{0:0}, at: get_signal+0x2393/0x27a0 kernel/signal.c:2904 #1: ffff88804e6529f8 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff88804e6529f8 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: shmem_file_write_iter+0x86/0x140 mm/shmem.c:3211 #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_compress mm/zswap.c:893 [inline] #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_store+0x737/0x1fe0 mm/zswap.c:1461 3 locks held by syz.1.6178/25804: 2 locks held by syz.1.6178/25806: 3 locks held by syz.1.6178/25807: #0: ffff8880656ec420 (sb_writers#5){.+.+}-{0:0}, at: get_signal+0x2393/0x27a0 kernel/signal.c:2904 #1: ffff8880383a9660 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff8880383a9660 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: shmem_file_write_iter+0x86/0x140 mm/shmem.c:3211 #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_compress mm/zswap.c:893 [inline] #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_store+0x737/0x1fe0 mm/zswap.c:1461 3 locks held by syz.1.6178/25809: #0: ffff8880656ec420 (sb_writers#5){.+.+}-{0:0}, at: get_signal+0x2393/0x27a0 kernel/signal.c:2904 #1: ffff88806576a370 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff88806576a370 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: shmem_file_write_iter+0x86/0x140 mm/shmem.c:3211 #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_compress mm/zswap.c:893 [inline] #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_store+0x737/0x1fe0 mm/zswap.c:1461 3 locks held by syz.1.6206/25890: #0: ffff8880656ec420 (sb_writers#5){.+.+}-{0:0}, at: get_signal+0x2393/0x27a0 kernel/signal.c:2904 #1: ffff88807cc09660 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff88807cc09660 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: shmem_file_write_iter+0x86/0x140 mm/shmem.c:3211 #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_compress mm/zswap.c:893 [inline] #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_store+0x737/0x1fe0 mm/zswap.c:1461 2 locks held by syz-executor/26035: #0: ffffffff8fac1d28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fac1d28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6643 #1: ffffffff8ddc2ef8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297 3 locks held by syz.3.6274/26065: #0: ffff88806641edf0 (&tsk->futex_exit_mutex){+.+.}-{3:3}, at: futex_cleanup_begin kernel/futex/core.c:1092 [inline] #0: ffff88806641edf0 (&tsk->futex_exit_mutex){+.+.}-{3:3}, at: futex_exit_release+0x2a/0x220 kernel/futex/core.c:1144 #1: ffff88807c9c3a98 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:153 [inline] #1: ffff88807c9c3a98 (&mm->mmap_lock){++++}-{3:3}, at: get_mmap_lock_carefully mm/memory.c:6108 [inline] #1: ffff88807c9c3a98 (&mm->mmap_lock){++++}-{3:3}, at: lock_mm_and_find_vma+0x3a9/0x6a0 mm/memory.c:6159 #2: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_decompress+0x14f/0x840 mm/zswap.c:959 2 locks held by syz.3.6274/26066: #0: ffff88807c9c3a98 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:144 [inline] #0: ffff88807c9c3a98 (&mm->mmap_lock){++++}-{3:3}, at: collapse_huge_page+0x4d6/0x30b0 mm/khugepaged.c:1120 #1: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_compress mm/zswap.c:893 [inline] #1: ffffe8ffffc17f38 (&acomp_ctx->mutex){+.+.}-{3:3}, at: zswap_store+0x737/0x1fe0 mm/zswap.c:1461 1 lock held by syz.0.6281/26110: #0: ffffffff8ddc2ef8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-syzkaller-10669-g11a299a7933e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 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: 21613 Comm: syz.3.4989 Not tainted 6.11.0-syzkaller-10669-g11a299a7933e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:sha256_transform_rorx+0x6cd/0x1120 arch/x86/crypto/sha256-avx2-asm.S:605 Code: 45 01 ef c5 fd 70 d0 50 44 09 e6 45 01 f1 44 01 fb 45 01 f9 41 01 f1 44 89 ce c4 63 7b f0 eb 19 c4 63 7b f0 f3 0b 03 54 3c 4c <44> 09 de c5 a5 72 d2 0a 41 89 cf c4 43 7b f0 e1 0d 45 31 f5 45 31 RSP: 0018:ffffc90002eaf200 EFLAGS: 00000203 RAX: 00000000fa7b593c RBX: 000000006f7f31fd RCX: 00000000729a0d89 RDX: 0000000025e0cd9d RSI: 0000000000edba92 RDI: 0000000000000100 RBP: ffffc90002eaf420 R08: 00000000e8ea7149 R09: 0000000000edba92 R10: 00000000dbf66d12 R11: 00000000253e9663 R12: 00000000da724910 R13: 00000000bf98feb7 R14: 000000003fadefe6 R15: 0000000046d17349 FS: 00007f1afaca06c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005627cc5e8058 CR3: 0000000067100000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lib_sha256_base_do_update include/crypto/sha256_base.h:63 [inline] sha256_base_do_update include/crypto/sha256_base.h:81 [inline] _sha256_update arch/x86/crypto/sha256_ssse3_glue.c:74 [inline] _sha256_update+0x17e/0x220 arch/x86/crypto/sha256_ssse3_glue.c:58 ima_calc_file_hash_tfm+0x302/0x3e0 security/integrity/ima/ima_crypto.c:491 ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0x1ba/0x490 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x8a7/0xa10 security/integrity/ima/ima_api.c:293 process_measurement+0x1271/0x2370 security/integrity/ima/ima_main.c:372 ima_file_mmap+0x1b1/0x1d0 security/integrity/ima/ima_main.c:462 security_mmap_file+0x8bd/0x990 security/security.c:2977 vm_mmap_pgoff+0xdb/0x360 mm/util.c:584 ksys_mmap_pgoff+0x1c8/0x5c0 mm/mmap.c:542 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79 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:0x7f1af9f7df39 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:00007f1afaca0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f1afa135f80 RCX: 00007f1af9f7df39 RDX: 00004000000000df RSI: 0080000000000005 RDI: 0000000000000000 RBP: 00007f1af9ff0216 R08: 0000000000000401 R09: 0000300000000000 R10: 0000000000040eb1 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1afa135f80 R15: 00007fffbe965c18