./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2143431911 <...> DUID 00:04:ce:8e:a7:1a:d5:92:ad:c3:fd:35:80:c9:2b:13:ab:38 forked to background, child pid 3206 [ 31.289653][ T3207] 8021q: adding VLAN 0 to HW filter on device bond0 [ 31.303688][ T3207] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.91' (ECDSA) to the list of known hosts. execve("./syz-executor2143431911", ["./syz-executor2143431911"], 0x7ffebcf6e8b0 /* 10 vars */) = 0 brk(NULL) = 0x55555745b000 brk(0x55555745bc40) = 0x55555745bc40 arch_prctl(ARCH_SET_FS, 0x55555745b300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor2143431911", 4096) = 28 brk(0x55555747cc40) = 0x55555747cc40 brk(0x55555747d000) = 0x55555747d000 mprotect(0x7fabcd091000, 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=3635}, "\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=3635}, {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: [ 51.197763][ T3635] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 51.207641][ T3635] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3635, name: syz-executor214 [ 51.217162][ T3635] preempt_count: 1, expected: 0 [ 51.222053][ T3635] RCU nest depth: 0, expected: 0 [ 51.226982][ T3635] 3 locks held by syz-executor214/3635: [ 51.232575][ T3635] #0: ffffffff8df6e4b0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 [ 51.240839][ T3635] #1: ffffffff8df6e568 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x51a/0x7e0 [ 51.249866][ T3635] #2: ffff88807d63af38 (k-clock-AF_INET){+++.}-{2:2}, at: l2tp_tunnel_register+0x126/0x1210 [ 51.260118][ T3635] Preemption disabled at: [ 51.260125][ T3635] [<0000000000000000>] 0x0 [ 51.268919][ T3635] CPU: 0 PID: 3635 Comm: syz-executor214 Not tainted 6.1.0-rc5-syzkaller-01223-gab0377803daf #0 [ 51.279336][ T3635] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 51.289394][ T3635] Call Trace: [ 51.292676][ T3635] [ 51.295609][ T3635] dump_stack_lvl+0xd1/0x138 [ 51.300210][ T3635] __might_resched.cold+0x222/0x26b [ 51.305428][ T3635] cpus_read_lock+0x1b/0x140 [ 51.310026][ T3635] static_key_slow_inc+0x12/0x20 [ 51.314972][ T3635] setup_udp_tunnel_sock+0x3e1/0x550 [ 51.320274][ T3635] l2tp_tunnel_register+0xc51/0x1210 [ 51.325577][ T3635] ? l2tp_tunnel_del_work+0x780/0x780 [ 51.330984][ T3635] ? debug_object_free+0x360/0x360 [ 51.336111][ T3635] ? l2tp_recv_common+0x3100/0x3100 [ 51.341317][ T3635] ? l2tp_tunnel_delete+0x50/0x50 [ 51.346349][ T3635] ? l2tp_tunnel_create+0x2bf/0x4b0 [ 51.351550][ T3635] ? l2tp_tunnel_create+0x3c6/0x4b0 [ 51.356756][ T3635] l2tp_nl_cmd_tunnel_create+0x3d6/0x8b0 [ 51.362407][ T3635] ? l2tp_tunnel_notify.constprop.0+0x160/0x160 [ 51.368666][ T3635] ? genl_family_rcv_msg_attrs_parse.constprop.0+0x1b7/0x290 [ 51.376048][ T3635] ? genl_family_rcv_msg_attrs_parse.constprop.0+0xaf/0x290 [ 51.383348][ T3635] genl_family_rcv_msg_doit.isra.0+0x1e6/0x2d0 [ 51.389513][ T3635] ? genl_start+0x660/0x660 [ 51.394022][ T3635] ? apparmor_capable+0x1dc/0x460 [ 51.399066][ T3635] ? ns_capable+0xdd/0x100 [ 51.403498][ T3635] genl_rcv_msg+0x4ff/0x7e0 [ 51.408011][ T3635] ? genl_family_rcv_msg_doit.isra.0+0x2d0/0x2d0 [ 51.414351][ T3635] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 51.420437][ T3635] ? l2tp_tunnel_notify.constprop.0+0x160/0x160 [ 51.426709][ T3635] netlink_rcv_skb+0x165/0x440 [ 51.431482][ T3635] ? genl_family_rcv_msg_doit.isra.0+0x2d0/0x2d0 [ 51.437851][ T3635] ? netlink_ack+0x12f0/0x12f0 [ 51.442675][ T3635] ? rwsem_down_read_slowpath+0xb20/0xb20 [ 51.448419][ T3635] ? netlink_deliver_tap+0x1b1/0xc50 [ 51.453723][ T3635] genl_rcv+0x28/0x40 [ 51.457727][ T3635] netlink_unicast+0x547/0x7f0 [ 51.462506][ T3635] ? netlink_attachskb+0x890/0x890 [ 51.467636][ T3635] ? __virt_addr_valid+0x61/0x2e0 [ 51.472679][ T3635] ? __phys_addr_symbol+0x30/0x70 [ 51.477714][ T3635] ? __check_object_size+0x2e2/0x5a0 [ 51.483018][ T3635] netlink_sendmsg+0x91b/0xe10 [ 51.487802][ T3635] ? netlink_unicast+0x7f0/0x7f0 [ 51.492749][ T3635] ? bpf_lsm_socket_sendmsg+0x9/0x10 [ 51.498044][ T3635] ? netlink_unicast+0x7f0/0x7f0 [ 51.503008][ T3635] sock_sendmsg+0xd3/0x120 [ 51.507442][ T3635] ____sys_sendmsg+0x712/0x8c0 [ 51.512217][ T3635] ? copy_msghdr_from_user+0xfc/0x150 [ 51.517620][ T3635] ? kernel_sendmsg+0x50/0x50 [ 51.522317][ T3635] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 51.528319][ T3635] ___sys_sendmsg+0x110/0x1b0 [ 51.533008][ T3635] ? do_recvmmsg+0x6e0/0x6e0 [ 51.537633][ T3635] ? lock_release+0x810/0x810 [ 51.542325][ T3635] ? ptrace_stop.part.0+0x49a/0x8c0 [ 51.547536][ T3635] ? do_raw_spin_lock+0x124/0x2b0 [ 51.552566][ T3635] ? rwlock_bug.part.0+0x90/0x90 [ 51.557504][ T3635] ? _raw_spin_lock_irq+0x45/0x50 [ 51.562550][ T3635] ? __fget_light+0x20a/0x270 [ 51.567259][ T3635] __sys_sendmsg+0xf7/0x1c0 [ 51.571787][ T3635] ? __sys_sendmsg_sock+0x40/0x40 [ 51.576837][ T3635] ? lock_downgrade+0x6e0/0x6e0 [ 51.581723][ T3635] ? lockdep_hardirqs_on+0x7d/0x100 [ 51.586935][ T3635] ? _raw_spin_unlock_irq+0x2e/0x50 [ 51.592144][ T3635] ? ptrace_notify+0xfe/0x140 [ 51.596833][ T3635] do_syscall_64+0x39/0xb0 [ 51.601258][ T3635] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.607157][ T3635] RIP: 0033:0x7fabcd024ba9 [ 51.611577][ T3635] 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 [ 51.631186][ T3635] RSP: 002b:00007fff47870be8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 51.639604][ T3635] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fabcd024ba9 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 +++ [ 51.647585][ T3635] RDX: