syzbot


INFO: task hung in p9_fd_close

Status: upstream: reported C repro on 2019/08/19 15:52
Reported-by: syzbot+cb1a7299534706f76d88@syzkaller.appspotmail.com
First crash: 1920d, last: 630d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in p9_fd_close v9fs C error error 484 745d 1909d 22/28 fixed on 2023/02/24 13:50
linux-4.14 INFO: task hung in p9_fd_close C inconclusive 78 730d 1928d 0/1 upstream: reported C repro on 2019/08/11 15:06
upstream INFO: task can't die in p9_fd_close C done 58 941d 1548d 0/28 closed as dup on 2022/08/26 12:44
Fix bisection attempts (9)
Created Duration User Patch Repo Result
2022/07/04 17:07 15m (2) bisect fix linux-4.19.y error job log
2021/02/25 02:16 29m bisect fix linux-4.19.y OK (0) job log log
2021/02/14 14:40 0m bisect fix linux-4.19.y error job log
2020/09/25 22:03 33m bisect fix linux-4.19.y OK (0) job log log
2020/07/11 04:58 34m bisect fix linux-4.19.y OK (0) job log log
2020/06/01 07:01 34m bisect fix linux-4.19.y OK (0) job log log
2020/04/14 18:33 36m bisect fix linux-4.19.y OK (0) job log log
2020/02/26 03:40 32m bisect fix linux-4.19.y OK (0) job log log
2020/01/02 16:41 35m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
INFO: task syz-executor158:8221 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor158 D27400  8221   8138 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_timeout+0x92d/0xfe0 kernel/time/timer.c:1794
 do_wait_for_common kernel/sched/completion.c:83 [inline]
 __wait_for_common kernel/sched/completion.c:104 [inline]
 wait_for_common+0x29c/0x470 kernel/sched/completion.c:115
 __flush_work+0x4bb/0x8b0 kernel/workqueue.c:2926
 __cancel_work_timer+0x412/0x590 kernel/workqueue.c:3013
 p9_conn_destroy net/9p/trans_fd.c:899 [inline]
 p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:934
 p9_client_create+0x901/0x12e0 net/9p/client.c:1084
 v9fs_session_init+0x1dd/0x1770 fs/9p/v9fs.c:421
 v9fs_mount+0x73/0x910 fs/9p/vfs_super.c:135
 mount_fs+0xa3/0x310 fs/super.c:1261
 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
 vfs_kern_mount fs/namespace.c:951 [inline]
 do_new_mount fs/namespace.c:2492 [inline]
 do_mount+0x115c/0x2f50 fs/namespace.c:2822
 ksys_mount+0xcf/0x130 fs/namespace.c:3038
 __do_sys_mount fs/namespace.c:3052 [inline]
 __se_sys_mount fs/namespace.c:3049 [inline]
 __x64_sys_mount+0xba/0x150 fs/namespace.c:3049
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f3351de8359
Code: Bad RIP value.
RSP: 002b:00007f3351d74278 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f3351e6d4f0 RCX: 00007f3351de8359
RDX: 0000000020000080 RSI: 0000000020000300 RDI: 0000000000000000
RBP: 00007f3351e3a0bc R08: 0000000020000740 R09: 65732f636f72702f
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3351d74280
R13: 7277732f7665642f R14: 64663d736e617274 R15: 00007f3351e6d4f8

Showing all locks held in the system:
2 locks held by kworker/0:1/14:
 #0: 00000000e305f09a ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124
 #1: 000000003e9ac0c2 ((work_completion)(&m->rq)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128
1 lock held by khungtaskd/1570:
 #0: 00000000eca63a1d (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441
1 lock held by in:imklog/7824:
 #0: 0000000040d68714 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767

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

NMI backtrace for cpu 1
CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0x991/0xe60 kernel/hung_task.c:287
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4690 Comm: systemd-journal Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x14/0x50 kernel/kcov.c:101
Code: 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e <81> e2 00 01 1f 00 75 2b 8b 90 60 13 00 00 83 fa 02 75 20 48 8b 88
RSP: 0018:ffff8880a139fa28 EFLAGS: 00000246
RAX: ffff8880a1394500 RBX: dffffc0000000000 RCX: ffffffff816c5cc8
RDX: 0000000080000000 RSI: ffffffff816c36e5 RDI: ffffc90001b12072
RBP: ffff8880a139fb00 R08: 0000000000000000 R09: 0000000000000015
R10: 0000000000000006 R11: 0000000000000000 R12: ffffffff886fb460
R13: ffffed1014273f62 R14: ffffc90001b121e0 R15: 0000000040000000
FS:  00007f293b3f08c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f29387c9000 CR3: 00000000a1186000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ___bpf_prog_run+0x45/0x4e80 kernel/bpf/core.c:1065
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	e9 23 fe ff ff       	jmpq   0xfffffe28
   5:	90                   	nop
   6:	90                   	nop
   7:	90                   	nop
   8:	90                   	nop
   9:	90                   	nop
   a:	90                   	nop
   b:	90                   	nop
   c:	90                   	nop
   d:	90                   	nop
   e:	90                   	nop
   f:	90                   	nop
  10:	90                   	nop
  11:	90                   	nop
  12:	90                   	nop
  13:	90                   	nop
  14:	48 8b 34 24          	mov    (%rsp),%rsi
  18:	65 48 8b 04 25 c0 df 	mov    %gs:0x1dfc0,%rax
  1f:	01 00
  21:	65 8b 15 cc 59 9f 7e 	mov    %gs:0x7e9f59cc(%rip),%edx        # 0x7e9f59f4
* 28:	81 e2 00 01 1f 00    	and    $0x1f0100,%edx <-- trapping instruction
  2e:	75 2b                	jne    0x5b
  30:	8b 90 60 13 00 00    	mov    0x1360(%rax),%edx
  36:	83 fa 02             	cmp    $0x2,%edx
  39:	75 20                	jne    0x5b
  3b:	48                   	rex.W
  3c:	8b                   	.byte 0x8b
  3d:	88                   	.byte 0x88

Crashes (219):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/04 17:07 linux-4.19.y 3f8a27f9e27b c8857892 .config console log report syz C ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/03/04 00:04 linux-4.19.y 3f8a27f9e27b 45a13a73 .config console log report syz C ci2-linux-4-19 INFO: task hung in p9_fd_close
2021/12/27 00:36 linux-4.19.y 3f8a27f9e27b e4f103c4 .config console log report syz C ci2-linux-4-19 INFO: task hung in p9_fd_close
2021/03/08 12:56 linux-4.19.y 2cae3e25b706 09fbf400 .config console log report syz C ci2-linux-4-19 INFO: task hung in p9_fd_close
2021/05/22 01:43 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report syz ci2-linux-4-19 INFO: task hung in p9_fd_close
2021/01/15 14:40 linux-4.19.y 675cc038067f 65a7a854 .config console log report syz ci2-linux-4-19
2021/01/01 07:19 linux-4.19.y 3207316b3bee 79264ae3 .config console log report syz ci2-linux-4-19
2020/12/30 21:16 linux-4.19.y 3207316b3bee ecb8c012 .config console log report syz ci2-linux-4-19
2020/12/28 09:36 linux-4.19.y 13d2ce42de8c 2242f77f .config console log report syz ci2-linux-4-19
2020/12/28 01:58 linux-4.19.y 13d2ce42de8c 2242f77f .config console log report syz ci2-linux-4-19
2020/12/24 14:01 linux-4.19.y 13d2ce42de8c c2c1d1dd .config console log report syz ci2-linux-4-19
2020/12/16 18:00 linux-4.19.y 13d2ce42de8c 649595c6 .config console log report syz ci2-linux-4-19
2020/11/28 18:23 linux-4.19.y 0c88e405c97e 3c7136c0 .config console log report syz ci2-linux-4-19
2019/09/09 18:06 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report syz ci2-linux-4-19
2019/08/29 13:30 linux-4.19.y 97ab07e11fbf cd626f3b .config console log report syz ci2-linux-4-19
2023/03/01 19:39 linux-4.19.y 3f8a27f9e27b ef65e6cb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2023/02/27 16:54 linux-4.19.y 3f8a27f9e27b 9189cb53 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2023/02/05 04:38 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2023/01/22 15:56 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2023/01/13 06:24 linux-4.19.y 3f8a27f9e27b 96166539 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/28 13:49 linux-4.19.y 3f8a27f9e27b 44712fbc .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/26 16:07 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/23 13:24 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/19 23:12 linux-4.19.y 3f8a27f9e27b c52b2efb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/18 10:54 linux-4.19.y 3f8a27f9e27b 05494336 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/17 13:54 linux-4.19.y 3f8a27f9e27b 05494336 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/14 00:36 linux-4.19.y 3f8a27f9e27b f6511626 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/13 03:22 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/10 06:15 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/05 06:47 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/03 10:22 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/12/02 12:06 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/27 16:27 linux-4.19.y 3f8a27f9e27b f4470a7b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/27 13:27 linux-4.19.y 3f8a27f9e27b f4470a7b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/26 12:44 linux-4.19.y 3f8a27f9e27b f4470a7b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/21 08:44 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/21 02:09 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/20 13:02 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/20 04:31 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/20 03:15 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/19 23:25 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/19 20:07 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/19 03:57 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/18 20:58 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/18 00:46 linux-4.19.y 3f8a27f9e27b 4ba8ab94 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/15 19:12 linux-4.19.y 3f8a27f9e27b 97de9cfc .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/15 14:01 linux-4.19.y 3f8a27f9e27b 97de9cfc .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/14 06:10 linux-4.19.y 3f8a27f9e27b 7ba4d859 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/13 14:03 linux-4.19.y 3f8a27f9e27b f42ee5d8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/13 02:38 linux-4.19.y 3f8a27f9e27b f42ee5d8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/08 02:51 linux-4.19.y 3f8a27f9e27b 6feb842b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/07 05:38 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/07 00:53 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/06 20:45 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/06 14:25 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/06 10:20 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/05 00:03 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/04 03:37 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/02 19:52 linux-4.19.y 3f8a27f9e27b 08977f5d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/02 12:37 linux-4.19.y 3f8a27f9e27b 08977f5d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/01 08:50 linux-4.19.y 3f8a27f9e27b a1d8560a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/11/01 00:26 linux-4.19.y 3f8a27f9e27b 2a71366b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/10/31 16:52 linux-4.19.y 3f8a27f9e27b 2a71366b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/10/31 11:46 linux-4.19.y 3f8a27f9e27b 2a71366b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2022/10/31 05:01 linux-4.19.y 3f8a27f9e27b 2a71366b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in p9_fd_close
2021/01/03 06:42 linux-4.19.y 3207316b3bee 79264ae3 .config console log report info ci2-linux-4-19
2019/08/19 14:51 linux-4.19.y a5aa80588fcd b8ceabfc .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.