syzbot


INFO: task hung in tcf_ife_init

Status: upstream: reported C repro on 2020/09/03 06:16
Reported-by: syzbot+5683e1091e6383a0bb75@syzkaller.appspotmail.com
First crash: 1324d, last: 629d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in tcf_ife_init net C done 4 1319d 1323d 15/26 fixed on 2020/10/10 01:52
Fix bisection attempts (15)
Created Duration User Patch Repo Result
2021/10/20 00:10 11m bisect fix linux-4.19.y error job log (0)
2021/09/19 23:35 34m bisect fix linux-4.19.y job log (0) log
2021/08/20 22:53 41m bisect fix linux-4.19.y job log (0) log
2021/07/21 22:12 40m bisect fix linux-4.19.y job log (0) log
2021/06/20 03:45 38m bisect fix linux-4.19.y job log (0) log
2021/05/21 03:01 42m bisect fix linux-4.19.y job log (0) log
2021/04/21 01:43 30m bisect fix linux-4.19.y job log (0) log
2021/03/22 00:00 30m bisect fix linux-4.19.y job log (0) log
2021/02/19 20:16 30m bisect fix linux-4.19.y job log (0) log
2021/02/17 14:30 19m bisect fix linux-4.19.y error job log (0)
2021/01/31 09:21 1m bisect fix linux-4.19.y error job log (0)
2021/01/01 08:49 31m bisect fix linux-4.19.y job log (0) log
2020/12/02 08:15 34m bisect fix linux-4.19.y job log (0) log
2020/11/02 07:30 29m bisect fix linux-4.19.y job log (0) log
2020/10/03 06:59 31m bisect fix linux-4.19.y job log (0) log

Sample crash report:
INFO: task syz-executor285:20058 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-executor285 D25168 20058   8122 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_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
 __mutex_lock_common kernel/locking/mutex.c:1016 [inline]
 __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
 load_metaops_and_vet net/sched/act_ife.c:281 [inline]
 populate_metalist net/sched/act_ife.c:456 [inline]
 tcf_ife_init+0x105b/0x1730 net/sched/act_ife.c:580
 tcf_action_init_1+0xa06/0xcd0 net/sched/act_api.c:870
 tcf_action_init+0x26e/0x3b0 net/sched/act_api.c:936
 tcf_action_add+0xd9/0x360 net/sched/act_api.c:1317
 tc_ctl_action+0x327/0x410 net/sched/act_api.c:1372
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f8a6cae79f9
Code: Bad RIP value.
RSP: 002b:00007f8a6ca78318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f8a6cb6f418 RCX: 00007f8a6cae79f9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004
RBP: 00007f8a6cb6f410 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8a6cb3d074
R13: 00007ffd4c94f40f R14: 00007f8a6ca78400 R15: 0000000000022000

Showing all locks held in the system:
1 lock held by khungtaskd/1570:
 #0: 00000000c62bac95 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441
3 locks held by kworker/1:2/3557:
 #0: 00000000b6cfff02 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124
 #1: 00000000f5016026 ((addr_chk_work).work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128
 #2: 000000006d615d50 (rtnl_mutex){+.+.}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4476
1 lock held by in:imklog/7819:
 #0: 000000008b7d11e1 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767
1 lock held by syz-executor285/20057:
1 lock held by syz-executor285/20058:
 #0: 000000006d615d50 (rtnl_mutex){+.+.}, at: load_metaops_and_vet net/sched/act_ife.c:281 [inline]
 #0: 000000006d615d50 (rtnl_mutex){+.+.}, at: populate_metalist net/sched/act_ife.c:456 [inline]
 #0: 000000006d615d50 (rtnl_mutex){+.+.}, at: tcf_ife_init+0x105b/0x1730 net/sched/act_ife.c:580

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

NMI backtrace for cpu 0
CPU: 0 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 20057 Comm: syz-executor285 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__radix_tree_lookup+0x14/0x370 lib/radix-tree.c:1032
Code: 6d a9 f9 e9 c8 fd ff ff e8 d9 6d a9 f9 e9 0a fe ff ff 0f 1f 40 00 41 57 48 8d 47 40 41 56 49 be 00 00 00 00 00 fc ff df 41 55 <41> 54 55 53 48 83 ec 40 48 89 44 24 38 48 89 44 24 30 48 c1 e8 03
RSP: 0018:ffff888094306f10 EFLAGS: 00000246
RAX: ffff88823585ce78 RBX: 00000000ffffe300 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 00000000ffffe300 RDI: ffff88823585ce38
RBP: ffff888094306ff0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 00000000ee11417d R12: ffff888094307168
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88823585ce38
FS:  00007f8a6ca99700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000100 CR3: 00000000b14c5000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tcf_idr_check_alloc+0xab/0x320 net/sched/act_api.c:446
 tcf_ife_init+0x38e/0x1730 net/sched/act_ife.c:514
 tcf_action_init_1+0xa06/0xcd0 net/sched/act_api.c:870
 tcf_action_init+0x26e/0x3b0 net/sched/act_api.c:936
 tcf_action_add+0xd9/0x360 net/sched/act_api.c:1317
 tc_ctl_action+0x327/0x410 net/sched/act_api.c:1372
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f8a6cae79f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a6ca99318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f8a6cb6f408 RCX: 00007f8a6cae79f9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003
RBP: 00007f8a6cb6f400 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8a6cb3d074
R13: 00007ffd4c94f40f R14: 00007f8a6ca99400 R15: 0000000000022000
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	f9                   	stc
   1:	e9 c8 fd ff ff       	jmpq   0xfffffdce
   6:	e8 d9 6d a9 f9       	callq  0xf9a96de4
   b:	e9 0a fe ff ff       	jmpq   0xfffffe1a
  10:	0f 1f 40 00          	nopl   0x0(%rax)
  14:	41 57                	push   %r15
  16:	48 8d 47 40          	lea    0x40(%rdi),%rax
  1a:	41 56                	push   %r14
  1c:	49 be 00 00 00 00 00 	movabs $0xdffffc0000000000,%r14
  23:	fc ff df
  26:	41 55                	push   %r13
* 28:	41 54                	push   %r12 <-- trapping instruction
  2a:	55                   	push   %rbp
  2b:	53                   	push   %rbx
  2c:	48 83 ec 40          	sub    $0x40,%rsp
  30:	48 89 44 24 38       	mov    %rax,0x38(%rsp)
  35:	48 89 44 24 30       	mov    %rax,0x30(%rsp)
  3a:	48 c1 e8 03          	shr    $0x3,%rax

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/13 05:11 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config console log report syz C ci2-linux-4-19 INFO: task hung in tcf_ife_init
2020/09/03 06:15 linux-4.19.y f6d5cb9e2c06 abf9ba4f .config console log report syz C ci2-linux-4-19
2022/07/29 09:26 linux-4.19.y 3f8a27f9e27b fb95c74d .config console log report info ci2-linux-4-19 INFO: task hung in tcf_ife_init
2022/06/04 20:37 linux-4.19.y 3f8a27f9e27b c8857892 .config console log report info ci2-linux-4-19 INFO: task hung in tcf_ife_init
2022/05/05 19:39 linux-4.19.y 3f8a27f9e27b b3f09415 .config console log report info ci2-linux-4-19 INFO: task hung in tcf_ife_init
2022/03/27 03:14 linux-4.19.y 3f8a27f9e27b 89bc8608 .config console log report info ci2-linux-4-19 INFO: task hung in tcf_ife_init
2022/02/17 06:02 linux-4.19.y 3f8a27f9e27b 50221962 .config console log report info ci2-linux-4-19 INFO: task hung in tcf_ife_init
2022/01/26 13:01 linux-4.19.y 3f8a27f9e27b 2cbffd88 .config console log report info ci2-linux-4-19 INFO: task hung in tcf_ife_init
2021/11/07 12:14 linux-4.19.y 3f8a27f9e27b 4c1be0be .config console log report info ci2-linux-4-19 INFO: task hung in tcf_ife_init
2021/06/21 22:12 linux-4.19.y eb575cd5d7f6 aba2b2fb .config console log report info ci2-linux-4-19 INFO: task hung in tcf_ife_init
* Struck through repros no longer work on HEAD.