serialport: Connected to syzkaller.us-central1-c.ci-upstream-kasan-gce-3 port 1 (session ID: 93d67d153682c3b46a2ca7c18b5c80283dd79ccc00c415c3d0ce97396db662b7, active connections: 1). INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added 'ci-upstream-kasan-gce-3,10.128.0.35' (ECDSA) to the list of known hosts. 2017/08/08 10:42:10 parsed 1 programs 2017/08/08 10:42:10 executed programs: 0 syzkaller login: [ 41.403474] BUG: sleeping function called from invalid context at mm/slab.h:416 [ 41.404605] in_atomic(): 1, irqs_disabled(): 0, pid: 2936, name: syz-executor0 [ 41.405797] 3 locks held by syz-executor0/2936: [ 41.406437] #0: (&net->xfrm.xfrm_cfg_mutex){+.+.+.}, at: [] pfkey_sendmsg+0x4c8/0x9f0 [ 41.407827] #1: (&pfk->dump_lock){+.+.+.}, at: [] pfkey_do_dump+0x76/0x3f0 [ 41.409049] #2: (&(&net->xfrm.xfrm_policy_lock)->rlock){+...+.}, at: [] xfrm_policy_walk+0x192/0xa30 [ 41.410558] CPU: 0 PID: 2936 Comm: syz-executor0 Not tainted 4.13.0-rc4+ #24 [ 41.411583] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.412802] Call Trace: [ 41.413162] dump_stack+0x194/0x257 [ 41.413651] ? arch_local_irq_restore+0x53/0x53 [ 41.414310] ? print_lock+0x9f/0xa2 [ 41.414816] ? lockdep_print_held_locks+0xc4/0x130 [ 41.415490] ___might_sleep+0x2b2/0x470 [ 41.416026] ? check_same_owner+0x320/0x320 [ 41.416611] ? mark_held_locks+0xaf/0x100 [ 41.417181] __might_sleep+0x95/0x190 [ 41.417720] kmem_cache_alloc+0x24b/0x6e0 [ 41.418279] ? sock_def_readable+0x26f/0x5e0 [ 41.418883] skb_clone+0x1a0/0x400 [ 41.419362] ? skb_copy_ubufs+0xe90/0xe90 [ 41.419918] ? refcount_sub_and_test+0x115/0x1b0 [ 41.420551] ? refcount_inc_not_zero+0xfe/0x180 [ 41.421173] ? refcount_add+0x60/0x60 [ 41.421713] ? find_held_lock+0x35/0x1d0 [ 41.422280] pfkey_broadcast_one+0x4b2/0x6f0 [ 41.422871] ? pfkey_terminate_dump+0x180/0x180 [ 41.423507] ? __lock_is_held+0xb6/0x140 [ 41.427046] pfkey_broadcast+0x4ba/0x770 [ 41.431077] ? pfkey_acquire+0x220/0x220 [ 41.435106] ? memset+0x31/0x40 [ 41.438354] ? pfkey_xfrm_policy2msg+0x183d/0x22b0 [ 41.443257] ? pfkey_sockaddr_fill+0x340/0x340 [ 41.447891] ? check_noncircular+0x20/0x20 [ 41.452092] ? pfkey_xfrm_policy2msg_size+0x1d3/0x230 [ 41.457252] dump_sp+0x3d6/0x500 [ 41.460589] ? pfkey_flush+0x3c0/0x3c0 [ 41.464450] ? xfrm_policy_walk+0x192/0xa30 [ 41.468744] xfrm_policy_walk+0x2f1/0xa30 [ 41.472863] ? pfkey_flush+0x3c0/0x3c0 [ 41.476721] ? xfrm_audit_policy_add+0x1f0/0x1f0 [ 41.481444] ? __kfree_skb+0x20/0x20 [ 41.485128] ? pfkey_terminate_dump+0x180/0x180 [ 41.489765] ? __lock_is_held+0xb6/0x140 [ 41.493798] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 41.498614] ? wait_for_completion+0x730/0x730 [ 41.503167] ? pfkey_acquire+0x220/0x220 [ 41.507196] ? pfkey_broadcast_one+0x6f0/0x6f0 [ 41.511744] pfkey_dump_sp+0x42/0x50 [ 41.515424] pfkey_do_dump+0xaa/0x3f0 [ 41.519200] ? xfrm_policy_walk_init+0x69/0x1c0 [ 41.523840] ? dump_sa+0x5d0/0x5d0 [ 41.527347] ? iov_iter_advance+0x2a1/0x13f0 [ 41.531729] pfkey_spddump+0x1a0/0x210 [ 41.535582] ? pfkey_recvmsg+0x710/0x710 [ 41.539622] pfkey_process+0x606/0x710 [ 41.543482] ? pfkey_send_new_mapping+0x11b0/0x11b0 [ 41.548464] ? kasan_check_write+0x14/0x20 [ 41.552689] ? dup_iter+0x260/0x260 [ 41.556289] pfkey_sendmsg+0x4d6/0x9f0 [ 41.560148] ? pfkey_spdget+0xb30/0xb30 [ 41.564093] ? selinux_socket_sendmsg+0x36/0x40 [ 41.568736] ? security_socket_sendmsg+0x89/0xb0 [ 41.573468] ? pfkey_spdget+0xb30/0xb30 [ 41.577412] sock_sendmsg+0xca/0x110 [ 41.581093] ___sys_sendmsg+0x755/0x890 [ 41.585039] ? copy_msghdr_from_user+0x590/0x590 [ 41.589783] ? fget_raw+0x20/0x20 [ 41.593211] ? sock_has_perm+0x29c/0x400 [ 41.597236] ? __fget_light+0x297/0x380 [ 41.601176] ? selinux_tun_dev_create+0xc0/0xc0 [ 41.605813] ? selinux_netlbl_socket_setsockopt+0x10c/0x460 [ 41.611496] ? __fdget+0x18/0x20 [ 41.614835] __sys_sendmsg+0xe5/0x210 [ 41.618604] ? __sys_sendmsg+0xe5/0x210 [ 41.622548] ? SyS_shutdown+0x290/0x290 [ 41.626503] ? SyS_futex+0x285/0x380 [ 41.630181] ? SyS_futex+0x28e/0x380 [ 41.633859] ? SyS_setsockopt+0x215/0x360 [ 41.637991] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 41.642979] SyS_sendmsg+0x2d/0x50 [ 41.646494] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 41.651214] RIP: 0033:0x4512c9 [ 41.654372] RSP: 002b:00007f55d1010c08 EFLAGS: 00000216 ORIG_RAX: 000000000000002e [ 41.662051] RAX: ffffffffffffffda RBX: 0000000000718000 RCX: 00000000004512c9 [ 41.669286] RDX: 0000000000000000 RSI: 000000002023dfc8 RDI: 0000000000000008 [ 41.676521] RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 [ 41.683757] R10: 0000000000000000 R11: 0000000000000216 R12: 0000000000000000 [ 41.691006] R13: 00007ffc87189e2f R14: 00007f55d10119c0 R15: 0000000000000000