syzbot


INFO: task hung in xfrm_netlink_rcv

Status: auto-closed as invalid on 2019/03/06 12:11
First crash: 2114d, last: 2114d

Sample crash report:
loop3: p251 start 1 is beyond EOD, truncated
loop3: p252 start 1 is beyond EOD, truncated
loop3: p253 start 1 is beyond EOD, truncated
loop3: p254 start 1 is beyond EOD, truncated
loop3: p255 start 1 is beyond EOD, truncated
INFO: task syz-executor2:12136 blocked for more than 140 seconds.
      Not tainted 4.14.68+ #4
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor2   D29448 12136  15382 0x00000004
Call Trace:
 schedule+0x7f/0x1b0 kernel/sched/core.c:3490
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3548
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x521/0x1480 kernel/locking/mutex.c:893
 xfrm_netlink_rcv+0x59/0x80 net/xfrm/xfrm_user.c:2649
 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline]
 netlink_unicast+0x46d/0x620 net/netlink/af_netlink.c:1312
 netlink_sendmsg+0x664/0xbe0 net/netlink/af_netlink.c:1877
 sock_sendmsg_nosec net/socket.c:645 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:655
 ___sys_sendmsg+0x741/0x890 net/socket.c:2061
 __sys_sendmsg+0xca/0x170 net/socket.c:2095
 SYSC_sendmsg net/socket.c:2106 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2102
 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x457099
RSP: 002b:00007f32bb3ecc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f32bb3ed6d4 RCX: 0000000000457099
RDX: 0000000000000000 RSI: 000000002000b000 RDI: 0000000000000006
RBP: 00000000009301e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004d4c20 R14: 00000000004c915b R15: 0000000000000002

Showing all locks held in the system:
1 lock held by khungtaskd/23:
 #0:  (tasklist_lock){.+.+}, at: [<ffffffffb68019d7>] debug_show_all_locks+0x74/0x20f kernel/locking/lockdep.c:4541
1 lock held by rsyslogd/1867:
 #0:  (&f->f_pos_lock){+.+.}, at: [<ffffffffb6bbcd02>] __fdget_pos+0xa2/0xc0 fs/file.c:768
2 locks held by getty/1995:
 #0:  (&tty->ldisc_sem){++++}, at: [<ffffffffb731c980>] tty_ldisc_ref_wait+0x20/0x80 drivers/tty/tty_ldisc.c:275
 #1:  (&ldata->atomic_read_lock){+.+.}, at: [<ffffffffb7317eff>] n_tty_read+0x1ff/0x15e0 drivers/tty/n_tty.c:2142
1 lock held by syz-executor2/12136:
 #0:  (&net->xfrm.xfrm_cfg_mutex){+.+.}, at: [<ffffffffb7c59b89>] xfrm_netlink_rcv+0x59/0x80 net/xfrm/xfrm_user.c:2649

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

NMI backtrace for cpu 1
CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.68+ #4
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xb9/0x11b lib/dump_stack.c:53
 nmi_cpu_backtrace.cold.0+0x47/0x85 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x121/0x146 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline]
 watchdog+0x574/0xa70 kernel/hung_task.c:252
 kthread+0x348/0x420 kernel/kthread.c:232
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 26620 Comm: syz-executor3 Not tainted 4.14.68+ #4
task: ffff880197fd8000 task.stack: ffff8801b7270000
RIP: 0033:0x4023c4
RSP: 002b:00007f3fbe8a0690 EFLAGS: 00000206
RAX: 000000004ef50f8b RBX: 0000000000000007 RCX: 0000000000457099
RDX: 0000000000000000 RSI: 00007f3fbe8a06c0 RDI: 0000000000000007
RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004d7008 R14: 00000000004ca112 R15: 0000000000000000
FS:  00007f3fbe8a1700(0000) GS:ffff8801d7800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd47ee7a330 CR3: 000000017eda0002 CR4: 00000000001606b0
DR0: 00000000200001c0 DR1: 00000000200001c0 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/09/07 12:07 android-4.14 b859aa7d7a0c e30d3b52 .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.