syzbot


INFO: task can't die in reclaim_throttle
Status: upstream: reported C repro on 2021/12/09 00:52
Reported-by: syzbot+dcea9eda277e1090b35f@syzkaller.appspotmail.com
First crash: 204d, last: 163d

Cause bisection: failed (bisect log)
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in blk_trace_remove 1 68d 68d 0/1 upstream: reported on 2022/03/20 01:50

Sample crash report:
INFO: task syz-executor786:3696 can't die for more than 143 seconds.
task:syz-executor786 state:D stack:28344 pid: 3696 ppid:  3669 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4986 [inline]
 __schedule+0xab2/0x4d90 kernel/sched/core.c:6296
 schedule+0xd2/0x260 kernel/sched/core.c:6369
 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881
 reclaim_throttle+0x1ce/0x5e0 mm/vmscan.c:1072
 consider_reclaim_throttle mm/vmscan.c:3399 [inline]
 shrink_zones mm/vmscan.c:3486 [inline]
 do_try_to_free_pages+0x7cd/0x1620 mm/vmscan.c:3541
 try_to_free_mem_cgroup_pages+0x2cd/0x840 mm/vmscan.c:3855
 reclaim_high.constprop.0+0x190/0x250 mm/memcontrol.c:2299
 mem_cgroup_handle_over_high+0x18c/0x540 mm/memcontrol.c:2483
 tracehook_notify_resume include/linux/tracehook.h:198 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
 exit_to_user_mode_prepare+0x1ab/0x290 kernel/entry/common.c:207
 irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:313
 exc_page_fault+0xc6/0x180 arch/x86/mm/fault.c:1543
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0033:0x7fd40489c3ee
RSP: 002b:00007ffe50e3a520 EFLAGS: 00010202
RAX: 00007fd4049253d0 RBX: 00007fd40491e508 RCX: 00007fd40489c3cb
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 00005555571d1300
R10: 00005555571d15d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffe50e3a5a0
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8bb818a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460
6 locks held by kworker/u4:2/50:
 #0: ffff8880b9d39c98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489
 #1: ffff8880b9d27988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x176/0x4e0 kernel/sched/psi.c:882
 #2: ffff8880b9d284d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:946
 #3: ffffffff90799400 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661
 #4: ffffffff8ba4a548 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0xe/0x20 arch/x86/kernel/jump_label.c:145
 #5: ffff888010dbb138 (ptlock_ptr(page)#2){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:354 [inline]
 #5: ffff888010dbb138 (ptlock_ptr(page)#2){+.+.}-{2:2}, at: __get_locked_pte+0x2b6/0x4d0 mm/memory.c:1722
1 lock held by syslogd/2955:
 #0: ffff8880b9d39c98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489
2 locks held by getty/3289:
 #0: ffff88814a873098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077
3 locks held by syz-executor786/3925:
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline]
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296
 #1: ffff88801dc3c888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x287/0x500 fs/kernfs/file.c:287
 #2: ffff888070e3c3a8 (kn->active#167){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ab/0x500 fs/kernfs/file.c:288
3 locks held by syz-executor786/3928:
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline]
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296
 #1: ffff88801dc3cc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x287/0x500 fs/kernfs/file.c:287
 #2: ffff888070e3c3a8 (kn->active#167){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ab/0x500 fs/kernfs/file.c:288
3 locks held by syz-executor786/3931:
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline]
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296
 #1: ffff888077934488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x287/0x500 fs/kernfs/file.c:287
 #2: ffff888070e3c3a8 (kn->active#167){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ab/0x500 fs/kernfs/file.c:288
3 locks held by syz-executor786/3933:
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline]
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296
 #1: ffff88801dc3d488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x287/0x500 fs/kernfs/file.c:287
 #2: ffff888070e3c3a8 (kn->active#167){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ab/0x500 fs/kernfs/file.c:288
3 locks held by syz-executor786/3935:
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __do_sys_sendfile64 fs/read_write.c:1310 [inline]
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 #0: ffff88807fb82460 (sb_writers#10){.+.+}-{0:0}, at: __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296
 #1: ffff88801dc3d888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x287/0x500 fs/kernfs/file.c:287
 #2: ffff888070e3c3a8 (kn->active#167){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ab/0x500 fs/kernfs/file.c:288

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


Crashes (76):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/12/12 08:39 linux-next ea922272cbe5 49ca1f59 .config log report syz C INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 00:21 linux-next ea922272cbe5 49ca1f59 .config log report syz INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/11 21:10 linux-next ea922272cbe5 49ca1f59 .config log report syz INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/15 21:11 linux-next ea922272cbe5 572bcb40 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/15 12:04 linux-next ea922272cbe5 f752fb53 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/15 09:00 linux-next ea922272cbe5 f752fb53 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/15 07:41 linux-next ea922272cbe5 f752fb53 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/14 22:07 linux-next ea922272cbe5 d018dd31 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/14 20:52 linux-next ea922272cbe5 d018dd31 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/14 20:06 linux-next ea922272cbe5 d018dd31 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/14 18:58 linux-next ea922272cbe5 d018dd31 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/14 17:54 linux-next ea922272cbe5 d018dd31 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/14 11:09 linux-next ea922272cbe5 5d14b1ea .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/13 21:54 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/13 17:05 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/13 14:34 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/13 10:34 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/13 08:14 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/13 04:38 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/13 04:28 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/13 03:26 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/13 00:51 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 23:06 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 21:51 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 17:51 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 17:51 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 17:43 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 17:41 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 17:41 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 13:52 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 13:51 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 11:31 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 11:08 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 10:36 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 09:53 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 09:41 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 09:32 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 09:32 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 09:31 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 05:35 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/12 03:47 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/11 21:17 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/11 13:32 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/11 12:25 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/11 11:29 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/11 11:23 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/11 11:08 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/11 08:34 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/11 07:09 linux-next ea922272cbe5 49ca1f59 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/12/09 00:51 linux-next 4eee8d0b64ec a4a2a501 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/11/26 21:25 linux-next f81e94e91878 63eeac02 .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/11/08 02:34 linux-next 6a37ebbe07bf 4c1be0be .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/11/07 16:25 linux-next 6a37ebbe07bf 4c1be0be .config log report info INFO: task can't die in reclaim_throttle
ci-upstream-linux-next-kasan-gce-root 2021/11/04 17:19 linux-next 8a796a1dfca2 4c1be0be .config log report info INFO: task can't die in reclaim_throttle