INFO: task hung in dput

6 views
Skip to first unread message

syzbot

unread,
Jul 6, 2018, 6:39:05 PM7/6/18
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 410da1e12ffe net/smc: fix up merge error with poll changes
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16de3b92400000
kernel config: https://syzkaller.appspot.com/x/.config?x=f62553dc846b0692
dashboard link: https://syzkaller.appspot.com/bug?extid=25e48b5ebbefd519541a
compiler: gcc (GCC) 8.0.1 20180413 (experimental)
CC: [linux-...@vger.kernel.org linux-...@vger.kernel.org
vi...@zeniv.linux.org.uk]

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+25e48b...@syzkaller.appspotmail.com

A link change request failed with some changes committed already. Interface
team_slave_1 may have been left with an inconsistent configuration, please
check.
netlink: 'syz-executor0': attribute type 40 has an invalid length.
A link change request failed with some changes committed already. Interface
team_slave_1 may have been left with an inconsistent configuration, please
check.
INFO: task syz-executor2:24847 blocked for more than 120 seconds.
Not tainted 4.18.0-rc3+ #129
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor2 R running task 19064 24847 13014 0x80000006
Call Trace:
context_switch kernel/sched/core.c:2862 [inline]
__schedule+0x87c/0x1ed0 kernel/sched/core.c:3504
preempt_schedule_common+0x22/0x60 kernel/sched/core.c:3628
_cond_resched+0x1d/0x30 kernel/sched/core.c:4994
dput.part.26+0xa0/0x7a0 fs/dcache.c:832

Showing all locks held in the system:
1 lock held by khungtaskd/901:
#0: 0000000061b5fdc9 (rcu_read_lock){....}, at:
debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461
1 lock held by rsyslogd/4400:
2 locks held by getty/4490:
#0: 00000000a9eb34c9 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 0000000034399649 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4491:
#0: 000000000f499019 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 00000000cbc797a6 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4492:
#0: 00000000ec7c4f93 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 00000000eced1486 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4493:
#0: 00000000b1eb4b42 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 00000000b98b4dc7 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4494:
#0: 000000008541aac2 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 000000009d821f94 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4495:
#0: 0000000046bfb9c3 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 00000000a28958f3 (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4496:
#0: 00000000ae510042 (&tty->ldisc_sem){++++}, at:
ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: 00000000cb8b889d (&ldata->atomic_read_lock){+.+.}, at:
n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
3 locks held by kworker/u4:6/6831:
#0: 0000000091e09f6b ((wq_completion)"%s""netns"){+.+.}, at:
__write_once_size include/linux/compiler.h:215 [inline]
#0: 0000000091e09f6b ((wq_completion)"%s""netns"){+.+.}, at:
arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: 0000000091e09f6b ((wq_completion)"%s""netns"){+.+.}, at: atomic64_set
include/asm-generic/atomic-instrumented.h:40 [inline]
#0: 0000000091e09f6b ((wq_completion)"%s""netns"){+.+.}, at:
atomic_long_set include/asm-generic/atomic-long.h:59 [inline]
#0: 0000000091e09f6b ((wq_completion)"%s""netns"){+.+.}, at: set_work_data
kernel/workqueue.c:617 [inline]
#0: 0000000091e09f6b ((wq_completion)"%s""netns"){+.+.}, at:
set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline]
#0: 0000000091e09f6b ((wq_completion)"%s""netns"){+.+.}, at:
process_one_work+0xb44/0x1ba0 kernel/workqueue.c:2124
#1: 0000000044da2956 (net_cleanup_work){+.+.}, at:
process_one_work+0xb9b/0x1ba0 kernel/workqueue.c:2128
#2: 0000000019c48ee4 (pernet_ops_rwsem){++++}, at: cleanup_net+0x12e/0xb50
net/core/net_namespace.c:490
2 locks held by kworker/1:0/22959:
#0: 0000000079f27cc0 ((wq_completion)"events"){+.+.}, at:
__write_once_size include/linux/compiler.h:215 [inline]
#0: 0000000079f27cc0 ((wq_completion)"events"){+.+.}, at:
arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: 0000000079f27cc0 ((wq_completion)"events"){+.+.}, at: atomic64_set
include/asm-generic/atomic-instrumented.h:40 [inline]
#0: 0000000079f27cc0 ((wq_completion)"events"){+.+.}, at: atomic_long_set
include/asm-generic/atomic-long.h:59 [inline]
#0: 0000000079f27cc0 ((wq_completion)"events"){+.+.}, at: set_work_data
kernel/workqueue.c:617 [inline]
#0: 0000000079f27cc0 ((wq_completion)"events"){+.+.}, at:
set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline]
#0: 0000000079f27cc0 ((wq_completion)"events"){+.+.}, at:
process_one_work+0xb44/0x1ba0 kernel/workqueue.c:2124
#1: 000000007f5250f0 ((work_completion)(&ns->proc_work)){+.+.}, at:
process_one_work+0xb9b/0x1ba0 kernel/workqueue.c:2128
3 locks held by udevd/23843:
#0: 00000000164bed6e (&rq->lock){-.-.}, at: rq_lock
kernel/sched/sched.h:1805 [inline]
#0: 00000000164bed6e (&rq->lock){-.-.}, at: __schedule+0x24d/0x1ed0
kernel/sched/core.c:3442
#1: 0000000061b5fdc9 (rcu_read_lock){....}, at: trace_sched_stat_runtime
include/trace/events/sched.h:413 [inline]
#1: 0000000061b5fdc9 (rcu_read_lock){....}, at: update_curr+0x37a/0xc00
kernel/sched/fair.c:831
#2: 000000009571d40f (&(&ep->lock)->rlock){..-.}, at:
ep_poll_callback+0x15a/0x10f0 fs/eventpoll.c:1125
2 locks held by syz-executor6/24963:
#0: 0000000061f18dab (&sig->cred_guard_mutex){+.+.}, at:
__do_sys_perf_event_open+0x1319/0x30f0 kernel/events/core.c:10474
#1: 000000001b243792 (perf_sched_mutex){+.+.}, at: account_event
kernel/events/core.c:9876 [inline]
#1: 000000001b243792 (perf_sched_mutex){+.+.}, at:
perf_event_alloc.part.93+0x25e9/0x30b0 kernel/events/core.c:10069
2 locks held by syz-executor3/24966:
#0: 0000000037eabd86 (&sig->cred_guard_mutex){+.+.}, at:
__do_sys_perf_event_open+0x1319/0x30f0 kernel/events/core.c:10474
#1: 000000001b243792 (perf_sched_mutex){+.+.}, at: account_event
kernel/events/core.c:9876 [inline]
#1: 000000001b243792 (perf_sched_mutex){+.+.}, at:
perf_event_alloc.part.93+0x25e9/0x30b0 kernel/events/core.c:10069
2 locks held by syz-executor0/24959:
#0: 000000007b19594c (&sig->cred_guard_mutex){+.+.}, at:
__do_sys_perf_event_open+0x1319/0x30f0 kernel/events/core.c:10474
#1: 000000001b243792 (perf_sched_mutex){+.+.}, at: account_event
kernel/events/core.c:9876 [inline]
#1: 000000001b243792 (perf_sched_mutex){+.+.}, at:
perf_event_alloc.part.93+0x25e9/0x30b0 kernel/events/core.c:10069
1 lock held by syz-executor4/24969:
#0: 00000000dd9ddbde (&type->s_umount_key#29){++++}, at:
iterate_supers+0xe2/0x290 fs/super.c:628
1 lock held by syz-executor7/24986:

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

NMI backtrace for cpu 0
CPU: 0 PID: 901 Comm: khungtaskd Not tainted 4.18.0-rc3+ #129
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+0x1c9/0x2b4 lib/dump_stack.c:113
nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103
nmi_trigger_cpumask_backtrace+0x151/0x192 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:138 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline]
watchdog+0x9c4/0xf80 kernel/hung_task.c:252
kthread+0x345/0x410 kernel/kthread.c:240
ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7621 Comm: syz-executor6 Not tainted 4.18.0-rc3+ #129
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:lock_is_held_type+0x0/0x210 kernel/locking/lockdep.c:3745
Code: 8b 7d c8 e8 02 c2 5b 00 e9 2b ff ff ff 48 8b 7d c8 e8 f4 c1 5b 00 e9
63 ff ff ff e8 ea c1 5b 00 eb ad 0f 1f 84 00 00 00 00 00 <48> b8 00 00 00
00 00 fc ff df 55 48 89 e5 41 55 49 89 fd 41 54 53
RSP: 0018:ffff8801aff67810 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffff8801d6622440 RCX: 0000000000000004
RDX: 0000000000000009 RSI: 00000000ffffffff RDI: ffff8801daf2c9d8
RBP: ffff8801aff67840 R08: ffff88021fff8058 R09: ffff88021fff805b
R10: ffffed0043fff009 R11: 0000000000000000 R12: ffff8801daf2c9c0
R13: ffff8801d6622450 R14: 000000000002c9c0 R15: ffff8801daf2c9c0
FS: 000000000291a940(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004e9038 CR3: 00000001c3d75000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__schedule+0x9c9/0x1ed0 kernel/sched/core.c:3454
schedule+0xfb/0x450 kernel/sched/core.c:3548
freezable_schedule include/linux/freezer.h:172 [inline]
do_nanosleep+0x20e/0x750 kernel/time/hrtimer.c:1689
hrtimer_nanosleep+0x2d4/0x620 kernel/time/hrtimer.c:1743
__do_sys_nanosleep kernel/time/hrtimer.c:1777 [inline]
__se_sys_nanosleep kernel/time/hrtimer.c:1764 [inline]
__x64_sys_nanosleep+0x1e7/0x280 kernel/time/hrtimer.c:1764
do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4811c0
Code: 05 48 3d 01 f0 ff ff 0f 83 0d 03 f9 ff c3 66 2e 0f 1f 84 00 00 00 00
00 66 90 83 3d 91 52 5c 00 00 75 14 b8 23 00 00 00 0f 05 <48> 3d 01 f0 ff
ff 0f 83 e4 02 f9 ff c3 48 83 ec 08 e8 6a 74 fd ff
RSP: 002b:0000000000a3ea98 EFLAGS: 00000246 ORIG_RAX: 0000000000000023
RAX: ffffffffffffffda RBX: 00000000000b4471 RCX: 00000000004811c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000a3eaa0
RBP: 0000000000000000 R08: 0000000000000001 R09: 000000000291a940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00000000000005b8 R14: 0000000000a3f160 R15: 00000000000b4471


---
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,
Feb 22, 2019, 5:09:05 AM2/22/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