syzbot


INFO: task hung in evict

Status: upstream: reported C repro on 2025/01/27 17:28
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+c6778d0597c63956b321@syzkaller.appspotmail.com
First crash: 325d, last: 6h53m
Fix commit to backport (bisect log) :
tree: upstream
commit 5641371fd0b3703d11809a0ae249aed270cb8add
Author: Matthew Wilcox (Oracle) <willy@infradead.org>
Date: Fri Dec 20 22:46:27 2024 +0000

  squashfs; convert squashfs_copy_cache() to take a folio

  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: INFO: task hung in evict (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2025/03/19 linux-5.15.y (ToT) 0c935c049b5c C [report] INFO: task hung in evict
2025/03/19 upstream (ToT) 81e4f8d68c66 C Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: task hung in evict origin:upstream 1 C 56 20d 164d 0/2 upstream: reported C repro on 2025/07/07 18:12
upstream INFO: task hung in evict (2) squashfs 1 C done 1962 1h43m 673d 0/29 upstream: reported C repro on 2024/02/14 14:00
linux-6.1 INFO: task hung in evict origin:lts-only 1 C inconclusive 1179 1d02h 325d 0/3 upstream: reported C repro on 2025/01/27 18:40
upstream INFO: task hung in evict ext4 1 1 1274d 1274d 0/29 auto-closed as invalid on 2022/09/22 02:36
Last patch testing requests (6)
Created Duration User Patch Repo Result
2025/10/17 03:25 17m retest repro linux-5.15.y report log
2025/10/17 03:25 12m retest repro linux-5.15.y report log
2025/09/16 15:49 16m retest repro linux-5.15.y report log
2025/08/07 17:51 18m retest repro linux-5.15.y report log
2025/08/07 17:51 20m retest repro linux-5.15.y report log
2025/07/04 01:52 29m retest repro linux-5.15.y report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2025/05/18 17:57 6h32m fix candidate upstream OK (1) job log
2025/04/24 08:43 1h56m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
INFO: task syz-executor:4388 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21824 pid: 4388 ppid:     1 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11bb/0x4390 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 io_schedule+0x7c/0xd0 kernel/sched/core.c:8503
 wait_on_page_bit_common+0x815/0xe00 mm/filemap.c:1356
 lock_page include/linux/pagemap.h:625 [inline]
 truncate_inode_pages_range+0x97f/0xef0 mm/truncate.c:394
 evict+0x498/0x870 fs/inode.c:649
 dispose_list fs/inode.c:680 [inline]
 evict_inodes+0x604/0x690 fs/inode.c:734
 generic_shutdown_super+0x93/0x300 fs/super.c:454
 kill_block_super+0x7c/0xe0 fs/super.c:1427
 deactivate_locked_super+0x93/0xf0 fs/super.c:335
 cleanup_mnt+0x418/0x4d0 fs/namespace.c:1148
 task_work_run+0x125/0x1a0 kernel/task_work.c:188
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f775e8a9a77
RSP: 002b:00007ffe1a1b5908 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f775e8a9a77
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe1a1b59c0
RBP: 00007ffe1a1b59c0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe1a1b6a50
R13: 00007f775e92cd7d R14: 0000000000025277 R15: 00007ffe1a1b6a90
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8c11c720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:1/144:
 #0: ffff8880b913a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
 #1: ffff8880b9127888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4d6/0x810 kernel/sched/psi.c:891
2 locks held by getty/3946:
 #0: ffff88802baf8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158
1 lock held by syz-executor/4388:
 #0: ffff88801e7020e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4593:
 #0: ffff88802611e0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4615:
 #0: ffff88807e1200e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4635:
 #0: ffff88807d5fa0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4658:
 #0: ffff88807e9240e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4689:
 #0: ffff888058c120e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4717:
 #0: ffff88807b78e0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4744:
 #0: ffff88805d14e0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
 watchdog+0xe0f/0xe50 kernel/hung_task.c:369
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: phy7 ieee80211_iface_work
RIP: 0010:unwind_next_frame+0x3/0x1d90 arch/x86/kernel/unwind_orc.c:423
Code: 5b 41 5e 41 5f c3 89 d9 80 e1 07 80 c1 03 38 c1 7c 97 48 89 df e8 0d bc 87 00 eb 8d 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 <41> 56 41 55 41 54 53 48 81 ec 88 00 00 00 48 89 fb 49 be 00 00 00
RSP: 0018:ffffc90000ce6f90 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffc90000ce7060 RCX: 0000000080000201
RDX: dffffc0000000000 RSI: ffffffff814f8606 RDI: ffffc90000ce6fa8
RBP: ffffc90000ce7030 R08: ffffc90000ce7070 R09: 000000000000000b
R10: fffff5200019ce01 R11: 1ffff9200019cdff R12: ffff88813fed0000
R13: ffff888022298108 R14: ffffffff81667ac0 R15: ffffc90000ce6fa8
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd377d7f4c0 CR3: 000000002b078000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
 kasan_save_stack+0x35/0x60 mm/kasan/common.c:38
 kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348
 kvfree_call_rcu+0x10a/0x7c0 kernel/rcu/tree.c:3600
 cfg80211_update_known_bss+0x178/0xa20 net/wireless/scan.c:-1
 cfg80211_bss_update+0x15f/0x2250 net/wireless/scan.c:1836
 cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2555 [inline]
 cfg80211_inform_bss_frame_data+0x873/0x1f30 net/wireless/scan.c:2588
 ieee80211_bss_info_update+0x6c2/0xaa0 net/mac80211/scan.c:190
 ieee80211_rx_bss_info net/mac80211/ibss.c:1123 [inline]
 ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline]
 ieee80211_ibss_rx_queued_mgmt+0x16d0/0x29c0 net/mac80211/ibss.c:1643
 ieee80211_iface_process_skb net/mac80211/iface.c:1459 [inline]
 ieee80211_iface_work+0x70e/0xc60 net/mac80211/iface.c:1513
 process_one_work+0x863/0x1000 kernel/workqueue.c:2310
 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (212):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/17 09:05 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in evict
2025/10/30 09:05 linux-5.15.y cc5ec8769306 fd2207e7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/17 10:54 linux-5.15.y 89950c454265 44f8051e .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/07 14:07 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in evict
2025/02/02 18:04 linux-5.15.y c16c81c81336 568559e4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan INFO: task hung in evict
2025/12/19 05:51 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/12/16 20:39 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/12/08 07:28 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/12/06 21:35 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/12/04 14:37 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/12/02 08:18 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/30 05:11 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/29 15:24 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/26 18:21 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/25 05:53 linux-5.15.y cc5ec8769306 64219f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/25 05:52 linux-5.15.y cc5ec8769306 64219f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/24 18:31 linux-5.15.y cc5ec8769306 bf6fe8fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/22 00:20 linux-5.15.y cc5ec8769306 4fb8ef37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/21 11:55 linux-5.15.y cc5ec8769306 280ea308 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/20 15:02 linux-5.15.y cc5ec8769306 2cc4c24a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/19 21:26 linux-5.15.y cc5ec8769306 26ee5237 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/19 00:24 linux-5.15.y cc5ec8769306 ef766cd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/18 05:21 linux-5.15.y cc5ec8769306 ef766cd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/17 17:08 linux-5.15.y cc5ec8769306 ef766cd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/16 12:55 linux-5.15.y cc5ec8769306 f7988ea4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/16 12:55 linux-5.15.y cc5ec8769306 f7988ea4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/15 17:26 linux-5.15.y cc5ec8769306 f7988ea4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/12 19:54 linux-5.15.y cc5ec8769306 07e030de .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/03 17:07 linux-5.15.y cc5ec8769306 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/11/02 10:52 linux-5.15.y cc5ec8769306 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/10/29 21:46 linux-5.15.y cc5ec8769306 fd2207e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/09/01 17:55 linux-5.15.y 01879f56bdde 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/08/21 13:51 linux-5.15.y c79648372d02 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/08/20 15:06 linux-5.15.y c79648372d02 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/08/20 02:32 linux-5.15.y c79648372d02 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/08/19 13:45 linux-5.15.y c79648372d02 254a27c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/08/19 01:39 linux-5.15.y c79648372d02 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/08/15 02:40 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/23 04:02 linux-5.15.y c79648372d02 e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/22 14:40 linux-5.15.y c79648372d02 8e9d1dc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/21 10:50 linux-5.15.y c79648372d02 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/21 03:32 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/20 21:01 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/20 15:51 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/19 22:53 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/18 20:18 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/18 02:15 linux-5.15.y c79648372d02 88248e14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/01/27 17:27 linux-5.15.y 003148680b79 d99a33ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
* Struck through repros no longer work on HEAD.