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: 297d, last: 4h05m
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 24d 136d 0/2 upstream: reported C repro on 2025/07/07 18:12
upstream INFO: task hung in evict (2) squashfs 1 C done 1732 41m 645d 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 1136 7h47m 297d 0/3 upstream: reported C repro on 2025/01/27 18:40
upstream INFO: task hung in evict ext4 1 1 1245d 1245d 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:4298 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: 4298 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:0x7ff29b47f2f7
RSP: 002b:00007ffdc7c02908 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007ff29b47f2f7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdc7c029c0
RBP: 00007ffdc7c029c0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffdc7c03a50
R13: 00007ff29b500d7d R14: 0000000000014829 R15: 00007ffdc7c03a90
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8c11c760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:3/589:
 #0: ffff8880b903a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
 #1: ffff8880b9027888 (&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/3953:
 #0: ffff88802b195098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc900025ce2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158
1 lock held by syz-executor/4298:
 #0: ffff88807bfc60e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4356:
 #0: ffff88801ea2a0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4385:
 #0: ffff88807d2680e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4405:
 #0: ffff8880244200e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4426:
 #0: ffff88805bbc60e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4459:
 #0: ffff88805796e0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4487:
 #0: ffff888058e040e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
1 lock held by syz-executor/4514:
 #0: ffff888058e3c0e0 (&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/02/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: 1236 Comm: kworker/u4:4 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline]
RIP: 0010:lock_release+0x13c/0x870 kernel/locking/lockdep.c:5639
Code: c0 0f 85 28 05 00 00 41 83 3e 00 0f 85 58 04 00 00 48 89 5c 24 18 48 c7 84 24 a0 00 00 00 00 00 00 00 9c 8f 84 24 a0 00 00 00 <48> 8b 84 24 a0 00 00 00 48 89 44 24 50 fa 48 c7 c7 60 2a 0b 8a e8
RSP: 0018:ffffc90004d7fa00 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88802135bb80 RCX: 2612be134418c100
RDX: 0000000000000000 RSI: ffffffff8a59e560 RDI: ffffffff8a59e520
RBP: ffffc90004d7fb20 R08: dffffc0000000000 R09: fffffbfff1ad33a6
R10: fffffbfff1ad33a6 R11: 1ffffffff1ad33a5 R12: ffff88805997f0d8
R13: dffffc0000000000 R14: ffff88802135c66c R15: 1ffff920009aff4c
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557a079e1660 CR3: 000000007e18e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:174 [inline]
 _raw_spin_unlock_bh+0x17/0x30 kernel/locking/spinlock.c:210
 spin_unlock_bh include/linux/spinlock.h:409 [inline]
 batadv_nc_purge_paths+0x316/0x3b0 net/batman-adv/network-coding.c:475
 batadv_nc_worker+0x2e7/0x5c0 net/batman-adv/network-coding.c:724
 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 (191):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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/07/17 12:56 linux-5.15.y 89950c454265 0d1223f1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/16 07:21 linux-5.15.y 89950c454265 124ec9cc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/15 03:47 linux-5.15.y 89950c454265 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/14 11:14 linux-5.15.y 2f693b607545 d8fc7335 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/14 06:56 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/10 21:30 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/10 02:45 linux-5.15.y 3dea0e7f549e 956bd956 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/09 08:35 linux-5.15.y 3dea0e7f549e f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/08 15:16 linux-5.15.y 3dea0e7f549e 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/07 10:30 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/07/07 10:25 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/03/20 08:39 linux-5.15.y 0c935c049b5c 9209bc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/03/19 16:11 linux-5.15.y 0c935c049b5c e20d7b13 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/03/19 03:28 linux-5.15.y 0c935c049b5c 8d0a2921 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/03/18 14:56 linux-5.15.y 0c935c049b5c 22a6c2b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/03/17 06:20 linux-5.15.y 0c935c049b5c 948c34e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/03/17 04:39 linux-5.15.y 0c935c049b5c e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/03/16 23:28 linux-5.15.y 0c935c049b5c e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in evict
2025/03/16 18:17 linux-5.15.y 0c935c049b5c e2826670 .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.