INFO: task hung in tipc_sk_rht_destroy

5 views
Skip to first unread message

syzbot

unread,
Sep 23, 2018, 1:24:04 PM9/23/18
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 328c6333ba3d Merge branch 'x86-urgent-for-linus' of git://..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=155aa61a400000
kernel config: https://syzkaller.appspot.com/x/.config?x=5fa12be50bca08d8
dashboard link: https://syzkaller.appspot.com/bug?extid=328ddb9335f7c3149aec
compiler: gcc (GCC) 8.0.1 20180413 (experimental)
userspace arch: i386
CC: [da...@davemloft.net jon....@ericsson.com
linux-...@vger.kernel.org net...@vger.kernel.org
tipc-di...@lists.sourceforge.net ying...@windriver.com]

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+328ddb...@syzkaller.appspotmail.com

binder: undelivered TRANSACTION_ERROR: 29189
binder: 30487:30522 got reply transaction with no transaction stack
binder: undelivered TRANSACTION_ERROR: 29201
binder: 30487:30522 transaction failed 29201/-71, size 0-0 line 2762
binder: undelivered TRANSACTION_ERROR: 29201
INFO: task syz-executor2:30469 blocked for more than 140 seconds.
Not tainted 4.19.0-rc4+ #153
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor2 D21416 30469 5326 0xa0020004
Call Trace:
context_switch kernel/sched/core.c:2825 [inline]
__schedule+0x86c/0x1ed0 kernel/sched/core.c:3473
schedule+0xfe/0x460 kernel/sched/core.c:3517
exp_funnel_lock kernel/rcu/tree_exp.h:320 [inline]
_synchronize_rcu_expedited+0xc68/0xfd0 kernel/rcu/tree_exp.h:667
synchronize_rcu_expedited+0x35/0xb0 kernel/rcu/tree_exp.h:795
synchronize_net+0x3b/0x60 net/core/dev.c:9012
tipc_sk_rht_destroy+0x219/0x360 net/tipc/socket.c:2750
tipc_exit_net+0x35/0x40 net/tipc/core.c:104
ops_exit_list.isra.7+0xb0/0x160 net/core/net_namespace.c:153
setup_net+0x56e/0x950 net/core/net_namespace.c:331
copy_net_ns+0x2b1/0x4a0 net/core/net_namespace.c:437
create_new_namespaces+0x6ad/0x900 kernel/nsproxy.c:107
unshare_nsproxy_namespaces+0xc3/0x1f0 kernel/nsproxy.c:206
ksys_unshare+0x79c/0x10b0 kernel/fork.c:2489
__do_sys_unshare kernel/fork.c:2557 [inline]
__se_sys_unshare kernel/fork.c:2555 [inline]
__ia32_sys_unshare+0x30/0x40 kernel/fork.c:2555
do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline]
do_fast_syscall_32+0x34d/0xfb2 arch/x86/entry/common.c:397
entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139
RIP: 0023:0xf7fd8ca9
Code: Bad RIP value.
RSP: 002b:00000000f5fb30cc EFLAGS: 00000296 ORIG_RAX: 0000000000000136
RAX: ffffffffffffffda RBX: 0000000040000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

Showing all locks held in the system:
1 lock held by khungtaskd/984:
#0: 000000005ec1f6c3 (rcu_read_lock){....}, at:
debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4435
1 lock held by rsyslogd/5190:
#0: 00000000ef3e3c96 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200
fs/file.c:766
2 locks held by getty/5281:
#0: 000000005a3ef608 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
#1: 000000007697fc42 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5282:
#0: 0000000002dc06d4 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
#1: 000000004663c9b1 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5283:
#0: 000000001ef2006f (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
#1: 000000009b31b448 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5284:
#0: 00000000bce38e39 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
#1: 00000000b89458d7 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5285:
#0: 00000000868a25da (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
#1: 000000003386e6d3 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5286:
#0: 00000000fe118ecb (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
#1: 00000000d6494a8a (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/5287:
#0: 00000000b04e3c49 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
#1: 00000000b9f7d49a (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
1 lock held by syz-executor2/30469:
#0: 00000000c7f9d44f (pernet_ops_rwsem){++++}, at: copy_net_ns+0x28c/0x4a0
net/core/net_namespace.c:433

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

NMI backtrace for cpu 0
CPU: 0 PID: 984 Comm: khungtaskd Not tainted 4.19.0-rc4+ #153
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+0x1c4/0x2b4 lib/dump_stack.c:113
nmi_cpu_backtrace.cold.3+0x63/0xa2 lib/nmi_backtrace.c:101
nmi_trigger_cpumask_backtrace+0x1b3/0x1ed lib/nmi_backtrace.c:62
arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
trigger_all_cpu_backtrace include/linux/nmi.h:144 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline]
watchdog+0xb3e/0x1050 kernel/hung_task.c:265
kthread+0x35a/0x420 kernel/kthread.c:246
ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.19.0-rc4+ #153
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:23 [inline]
RIP: 0010:check_preemption_disabled+0x25/0x200 lib/smp_processor_id.c:15
Code: ff ff 90 90 90 55 48 89 e5 41 57 41 56 49 89 f6 41 55 49 89 fd 41 54
53 48 83 ec 08 e8 d4 5c ee fd 31 ff 65 8b 1d 7b 66 71 7c <81> e3 ff ff ff
7f 89 de 65 44 8b 25 cb f9 70 7c e8 c6 5d ee fd 85
RSP: 0018:ffff8801dad07c58 EFLAGS: 00000046
RAX: ffff8801d9b1a3c0 RBX: 0000000080010001 RCX: 0000000000000000
RDX: 0000000000010000 RSI: ffffffff8390874c RDI: 0000000000000000
RBP: ffff8801dad07c88 R08: ffff8801d9b1a3c0 R09: 1ffffffff12b45ed
R10: ffffed003b5a4732 R11: ffff8801dad23993 R12: ffff8801d9b1a3c0
R13: ffffffff8844a100 R14: ffffffff8844a0c0 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8801dad00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600400 CR3: 00000001d7b24000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
debug_smp_processor_id+0x1c/0x20 lib/smp_processor_id.c:56
irqtime_account_irq+0x1c/0x290 kernel/sched/cputime.c:51
account_irq_exit_time include/linux/vtime.h:114 [inline]
irq_exit+0x4f/0x1c0 kernel/softirq.c:409
scheduler_ipi+0x55a/0xad0 kernel/sched/core.c:1780
smp_reschedule_interrupt+0x109/0x650 arch/x86/kernel/smp.c:278
reschedule_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:888
</IRQ>
RIP: 0010:native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57
Code: e9 2c ff ff ff 48 89 c7 48 89 45 d8 e8 53 8d 02 fa 48 8b 45 d8 e9 ca
fe ff ff 48 89 df e8 42 8d 02 fa eb 82 55 48 89 e5 fb f4 <5d> c3 0f 1f 84
00 00 00 00 00 55 48 89 e5 f4 5d c3 90 90 90 90 90
RSP: 0018:ffff8801d9b2fbf0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff02
RAX: dffffc0000000000 RBX: 1ffff1003b365f82 RCX: 0000000000000000
RDX: 1ffffffff12a475c RSI: 0000000000000001 RDI: ffffffff89523ae0
RBP: ffff8801d9b2fbf0 R08: ffff8801d9b1a3c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d9b2fcb0
R13: ffffffff8a315ee0 R14: 0000000000000000 R15: 0000000000000001
arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline]
default_idle+0xbf/0x490 arch/x86/kernel/process.c:498
arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:489
default_idle_call+0x6d/0x90 kernel/sched/idle.c:93
cpuidle_idle_call kernel/sched/idle.c:153 [inline]
do_idle+0x3db/0x5b0 kernel/sched/idle.c:262
cpu_startup_entry+0x10c/0x120 kernel/sched/idle.c:368
start_secondary+0x523/0x750 arch/x86/kernel/smpboot.c:271
secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.

syzbot

unread,
Jun 5, 2019, 5:10:02 PM6/5/19
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages