./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor705330875 <...> Warning: Permanently added '10.128.0.167' (ECDSA) to the list of known hosts. execve("./syz-executor705330875", ["./syz-executor705330875"], 0x7ffce045ec10 /* 10 vars */) = 0 brk(NULL) = 0x555555562000 brk(0x555555562c40) = 0x555555562c40 arch_prctl(ARCH_SET_FS, 0x555555562300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor705330875", 4096) = 27 brk(0x555555583c40) = 0x555555583c40 brk(0x555555584000) = 0x555555584000 mprotect(0x7f71910a9000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 3 socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC) = 4 sendto(4, [{nlmsg_len=32, nlmsg_type=0x10 /* NLMSG_??? */, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}, "\x03\x00\x00\x00\x09\x00\x02\x00\x6c\x32\x74\x70\x00\x00\x00\x00"], 32, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 32 recvfrom(4, [{nlmsg_len=276, nlmsg_type=nlctrl, nlmsg_flags=0, nlmsg_seq=0, nlmsg_pid=3634}, "\x01\x02\x00\x00\x09\x00\x02\x00\x6c\x32\x74\x70\x00\x00\x00\x00\x06\x00\x01\x00\x30\x00\x00\x00\x08\x00\x03\x00\x01\x00\x00\x00\x08\x00\x04\x00\x00\x00\x00\x00\x08\x00\x05\x00\x23\x00\x00\x00\xb8\x00\x06\x00\x14\x00\x01\x00\x08\x00\x01\x00\x00\x00\x00\x00\x08\x00\x02\x00\x0a\x00\x00\x00\x14\x00\x02\x00\x08\x00\x01\x00\x01\x00\x00\x00\x08\x00\x02\x00\x1a\x00\x00\x00\x14\x00\x03\x00\x08\x00\x01\x00"...], 4096, 0, NULL, NULL) = 276 recvfrom(4, [{nlmsg_len=36, nlmsg_type=NLMSG_ERROR, nlmsg_flags=NLM_F_CAPPED, nlmsg_seq=0, nlmsg_pid=3634}, {error=0, msg={nlmsg_len=32, nlmsg_type=nlctrl, nlmsg_flags=NLM_F_REQUEST|NLM_F_ACK, nlmsg_seq=0, nlmsg_pid=0}}], 4096, 0, NULL, NULL) = 36 close(4) = 0 syzkaller login: [ 76.305596][ T3634] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 76.315772][ T3634] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3634, name: syz-executor705 [ 76.325313][ T3634] preempt_count: 1, expected: 0 [ 76.330167][ T3634] RCU nest depth: 0, expected: 0 [ 76.335167][ T3634] 3 locks held by syz-executor705/3634: [ 76.340973][ T3634] #0: ffffffff8df6b4f0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 [ 76.349237][ T3634] #1: ffffffff8df6b5a8 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x50d/0x780 [ 76.358319][ T3634] #2: ffff88807ceb5378 (k-clock-AF_INET){+++.}-{2:2}, at: l2tp_tunnel_register+0x126/0x1210 [ 76.368647][ T3634] Preemption disabled at: [ 76.368659][ T3634] [<0000000000000000>] 0x0 [ 76.377680][ T3634] CPU: 1 PID: 3634 Comm: syz-executor705 Not tainted 6.1.0-rc5-syzkaller-00113-g2360f9b8c4e8 #0 [ 76.388169][ T3634] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 76.398888][ T3634] Call Trace: [ 76.402194][ T3634] [ 76.405141][ T3634] dump_stack_lvl+0xd1/0x138 [ 76.409861][ T3634] __might_resched.cold+0x222/0x26b [ 76.415114][ T3634] cpus_read_lock+0x1b/0x140 [ 76.419766][ T3634] static_key_slow_inc+0x12/0x20 [ 76.424742][ T3634] setup_udp_tunnel_sock+0x3e1/0x550 [ 76.430065][ T3634] l2tp_tunnel_register+0xc51/0x1210 [ 76.435438][ T3634] ? l2tp_tunnel_del_work+0x780/0x780 [ 76.440859][ T3634] ? debug_object_free+0x360/0x360 [ 76.446535][ T3634] ? l2tp_recv_common+0x3100/0x3100 [ 76.451770][ T3634] ? l2tp_tunnel_delete+0x50/0x50 [ 76.456844][ T3634] ? l2tp_tunnel_create+0x2bf/0x4b0 [ 76.462072][ T3634] ? l2tp_tunnel_create+0x3c6/0x4b0 [ 76.467310][ T3634] l2tp_nl_cmd_tunnel_create+0x3d6/0x8b0 [ 76.472990][ T3634] ? l2tp_tunnel_notify.constprop.0+0x160/0x160 [ 76.479295][ T3634] ? genl_family_rcv_msg_attrs_parse.constprop.0+0x1b7/0x290 [ 76.486700][ T3634] ? genl_family_rcv_msg_attrs_parse.constprop.0+0xaf/0x290 [ 76.494112][ T3634] genl_family_rcv_msg_doit+0x228/0x320 [ 76.499693][ T3634] ? genl_family_rcv_msg_attrs_parse.constprop.0+0x290/0x290 [ 76.507107][ T3634] ? ns_capable+0xdd/0x100 [ 76.511561][ T3634] genl_rcv_msg+0x445/0x780 [ 76.516100][ T3634] ? genl_start+0x670/0x670 [ 76.520719][ T3634] ? l2tp_tunnel_notify.constprop.0+0x160/0x160 [ 76.527119][ T3634] ? lock_release+0x810/0x810 [ 76.531868][ T3634] netlink_rcv_skb+0x157/0x430 [ 76.536672][ T3634] ? genl_start+0x670/0x670 [ 76.541217][ T3634] ? netlink_ack+0xd60/0xd60 [ 76.545845][ T3634] ? netlink_deliver_tap+0x1b1/0xc50 [ 76.551167][ T3634] genl_rcv+0x28/0x40 [ 76.555180][ T3634] netlink_unicast+0x547/0x7f0 [ 76.559980][ T3634] ? netlink_attachskb+0x890/0x890 [ 76.565117][ T3634] ? __virt_addr_valid+0x61/0x2e0 [ 76.570177][ T3634] ? __phys_addr_symbol+0x30/0x70 [ 76.575233][ T3634] ? __check_object_size+0x2e2/0x5a0 [ 76.580572][ T3634] netlink_sendmsg+0x91b/0xe10 [ 76.585376][ T3634] ? netlink_unicast+0x7f0/0x7f0 [ 76.590348][ T3634] ? bpf_lsm_socket_sendmsg+0x9/0x10 [ 76.595668][ T3634] ? netlink_unicast+0x7f0/0x7f0 [ 76.600632][ T3634] sock_sendmsg+0xd3/0x120 [ 76.605091][ T3634] ____sys_sendmsg+0x712/0x8c0 [ 76.609900][ T3634] ? copy_msghdr_from_user+0xfc/0x150 [ 76.615563][ T3634] ? kernel_sendmsg+0x50/0x50 [ 76.620333][ T3634] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 76.626377][ T3634] ___sys_sendmsg+0x110/0x1b0 [ 76.631186][ T3634] ? do_recvmmsg+0x6e0/0x6e0 [ 76.635829][ T3634] ? lock_release+0x810/0x810 [ 76.640550][ T3634] ? ptrace_stop.part.0+0x49a/0x8c0 [ 76.645800][ T3634] ? do_raw_spin_lock+0x124/0x2b0 [ 76.650852][ T3634] ? rwlock_bug.part.0+0x90/0x90 [ 76.655819][ T3634] ? _raw_spin_lock_irq+0x45/0x50 [ 76.660887][ T3634] ? __fget_light+0x20a/0x270 [ 76.665601][ T3634] __sys_sendmsg+0xf7/0x1c0 [ 76.670131][ T3634] ? __sys_sendmsg_sock+0x40/0x40 [ 76.675273][ T3634] ? lock_downgrade+0x6e0/0x6e0 [ 76.680176][ T3634] ? lockdep_hardirqs_on+0x7d/0x100 [ 76.685400][ T3634] ? _raw_spin_unlock_irq+0x2e/0x50 [ 76.690648][ T3634] ? ptrace_notify+0xfe/0x140 [ 76.695372][ T3634] do_syscall_64+0x39/0xb0 [ 76.699831][ T3634] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 76.705757][ T3634] RIP: 0033:0x7f719103cba9 [ 76.710209][ T3634] Code: 28 c3 e8 5a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 76.729841][ T3634] RSP: 002b:00007ffe071797f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 76.738295][ T3634] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f719103cba9 [ 76.746310][ T3634] RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000003 sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\x3c\x00\x00\x00\x30\x00\x23\x09\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x05\x00\x07\x00\x00\x00\x00\x00\x08\x00\x09\x00\x00\x00\x00\x00\x06\x00\x02\x00\x00\x00\x00\x00\x08\x00\x0a\x00\x00\x00\x00\x00\x08\x00\x17\x00\xff\xff\xff\xff", iov_len=60}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 60 exit_group(0) = ? +++ exited with 0 +++ [ 76.754317][ T3634] RBP: 00007f719