Pseudo-terminal will not be allocated because stdin is not a terminal. Warning: Permanently added '[ssh-serialport.googleapis.com]:9600,[216.239.38.127]:9600' (RSA) to the list of known hosts. Warning: Permanently added 'ci-android-49-kasan-gce-4,10.128.0.50' (ECDSA) to the list of known hosts. net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program serialport: Connected to syzkaller.us-central1-c.ci-android-49-kasan-gce-4 port 1 (session ID: b59d76c3df0640b8755377157f4bee12ff362f7ff5aef625587f12612edb69cb, active connections: 1). executing program 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 executing program executing program syzkaller login: [ 42.904167] BUG: sleeping function called from invalid context at mm/slab.h:393 [ 42.905292] in_atomic(): 1, irqs_disabled(): 0, pid: 3511, name: syzkaller699387 [ 42.906316] 2 locks held by syzkaller699387/3511: [ 42.906972] #0: (&net->xfrm.xfrm_cfg_mutex){+.+.+.}, at: [] pfkey_sendmsg+0x3a1/0x750 [ 42.908395] #1: (&(&net->xfrm.xfrm_policy_lock)->rlock){+...+.}, at: [] xfrm_policy_walk+0xb0/0x4d0 [ 42.909963] Preemption disabled at:[ 42.910428] [] xfrm_policy_walk+0xb0/0x4d0 [ 42.911209] CPU: 0 PID: 3511 Comm: syzkaller699387 Not tainted 4.9.39-g72a0c9f #6 [ 42.912217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.913487] ffff8801cb13f6c0 ffffffff81eacd59 ffffffff833df510 0000000000000000 [ 42.914624] 0000000000000201 ffff8801cb12af00 ffff8801cb12af00 ffff8801cb13f6f8 [ 42.915775] ffffffff811babe4 ffff8801cb12af00 ffffffff84175d81 0000000000000189 [ 42.916904] Call Trace: [ 42.917261] [] dump_stack+0xc1/0x128 [ 42.918027] [] ? xfrm_policy_walk+0xb0/0x4d0 [ 42.918923] [] ___might_sleep+0x2f4/0x470 [ 42.919687] [] __might_sleep+0x95/0x1a0 [ 42.920432] [] ? skb_clone+0x142/0x2c0 [ 42.921162] [] kmem_cache_alloc+0x151/0x2a0 [ 42.921948] [] skb_clone+0x142/0x2c0 [ 42.922658] [] pfkey_broadcast_one+0x367/0x480 [ 42.923478] [] pfkey_broadcast+0x3ba/0x5f0 [ 42.924252] [] ? pfkey_broadcast+0x192/0x5f0 [ 42.930225] [] ? pfkey_seq_stop+0x80/0x80 [ 42.935989] [] dump_sp+0x354/0x450 [ 42.941145] [] xfrm_policy_walk+0x1b1/0x4d0 [ 42.947079] [] ? pfkey_flush+0x2d0/0x2d0 executing program [ 42.952757] [] pfkey_dump_sp+0x42/0x50 [ 42.958257] [] pfkey_do_dump+0x40/0x2b0 [ 42.963847] [] pfkey_spddump+0x187/0x1e0 [ 42.969522] [] ? pfkey_do_dump+0x2b0/0x2b0 [ 42.975368] [] pfkey_process+0x606/0x710 [ 42.981043] [] ? mark_held_locks+0xaf/0x100 [ 42.986979] [] ? pfkey_dump+0x660/0x660 [ 42.992568] [] pfkey_sendmsg+0x3af/0x750 [ 42.998244] [] ? pfkey_spdget+0x820/0x820 [ 43.004009] [] sock_sendmsg+0xca/0x110 [ 43.009514] [] sock_write_iter+0x21d/0x3a0 [ 43.015363] [] ? sock_sendmsg+0x110/0x110 [ 43.021127] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 43.028110] [] ? iov_iter_init+0xaf/0x1d0 [ 43.033874] [] __vfs_write+0x4ac/0x660 [ 43.039376] [] ? do_huge_pmd_anonymous_page+0x2ed/0xfd0 [ 43.046359] [] ? default_llseek+0x290/0x290 [ 43.052299] [] ? apparmor_file_permission+0x22/0x30 [ 43.058930] [] ? rw_verify_area+0xe5/0x2b0 [ 43.064779] [] vfs_write+0x170/0x4e0 [ 43.070108] [] SyS_write+0xd4/0x1a0 [ 43.075347] [] ? SyS_read+0x1a0/0x1a0 [ 43.080764] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 43.087572] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 43.094213] [] entry_SYSCALL_64_fastpath+0x23/0xc6 executing program executing program executing program executing program executing program executing program executing program executing program executing program