------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 1 PID: 12182 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Modules linked in: CPU: 1 PID: 12182 Comm: syz-executor.0 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Code: 1d be 63 a2 09 31 ff 89 de e8 0d ed 9c fd 84 db 75 e0 e8 24 e9 9c fd 48 c7 c7 20 de 04 8a c6 05 9e 63 a2 09 01 e8 9b e1 33 05 <0f> 0b eb c4 e8 08 e9 9c fd 0f b6 1d 8d 63 a2 09 31 ff 89 de e8 d8 RSP: 0018:ffffc90000dc0df0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88806bedba00 RSI: ffffffff815f0ad8 RDI: fffff520001b81b0 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815ea87e R11: 0000000000000000 R12: 0000000000000001 R13: ffff888079c345b0 R14: 0000000000000001 R15: ffff88802313b9e8 FS: 00007f8b4abb9700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f80301f0000 CR3: 0000000067274000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_dec include/linux/refcount.h:344 [inline] refcount_dec include/linux/refcount.h:359 [inline] dev_put include/linux/netdevice.h:3821 [inline] in_dev_finish_destroy+0x160/0x1b0 net/ipv4/devinet.c:246 in_dev_put include/linux/inetdevice.h:276 [inline] in_dev_rcu_put+0x83/0xb0 net/ipv4/devinet.c:303 rcu_do_batch kernel/rcu/tree.c:2506 [inline] rcu_core+0x7ab/0x1470 kernel/rcu/tree.c:2741 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: 48 89 ef 5d e9 d1 1c 46 00 5d be 03 00 00 00 e9 46 16 63 02 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 e9 d7 8a 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc900029fed90 EFLAGS: 00000216 RAX: 0000000000004067 RBX: 0000000000000000 RCX: ffffc90002f71000 RDX: 0000000000040000 RSI: ffffffff815ed49c RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8ff7ea07 R10: ffffffff815ed492 R11: 0000000000000000 R12: ffffffff84e16c10 R13: 0000000000000200 R14: ffffc900029fedf0 R15: dffffc0000000000 console_unlock+0x6c2/0xb70 kernel/printk/printk.c:2716 vprintk_emit+0x198/0x4f0 kernel/printk/printk.c:2245 vprintk+0x80/0x90 kernel/printk/printk_safe.c:50 _printk+0xba/0xed kernel/printk/printk.c:2266 __nla_validate_parse.cold+0x6d/0xaa lib/nlattr.c:600 __nla_parse+0x3d/0x50 lib/nlattr.c:685 nla_parse_nested_deprecated include/net/netlink.h:1231 [inline] __rtnl_newlink+0x39f/0x1750 net/core/rtnetlink.c:3307 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3506 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5571 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2487 netlink_unicast_kernel net/netlink/af_netlink.c:1315 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1341 netlink_sendmsg+0x86d/0xda0 net/netlink/af_netlink.c:1912 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8b4d664ae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8b4abb9188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f8b4d778020 RCX: 00007f8b4d664ae9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00007f8b4d6bef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7e27afdf R14: 00007f8b4abb9300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 48 89 ef mov %rbp,%rdi 3: 5d pop %rbp 4: e9 d1 1c 46 00 jmpq 0x461cda 9: 5d pop %rbp a: be 03 00 00 00 mov $0x3,%esi f: e9 46 16 63 02 jmpq 0x263165a 14: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 1a: 48 8b be b0 01 00 00 mov 0x1b0(%rsi),%rdi 21: e8 b4 ff ff ff callq 0xffffffda 26: 31 c0 xor %eax,%eax 28: c3 retq 29: 90 nop * 2a: 65 8b 05 e9 d7 8a 7e mov %gs:0x7e8ad7e9(%rip),%eax # 0x7e8ad81a <-- trapping instruction 31: 89 c1 mov %eax,%ecx 33: 48 8b 34 24 mov (%rsp),%rsi 37: 81 e1 00 01 00 00 and $0x100,%ecx 3d: 65 gs 3e: 48 rex.W 3f: 8b .byte 0x8b