------------[ cut here ]------------ refcount_t: increment on 0; use-after-free. WARNING: CPU: 1 PID: 0 at lib/refcount.c:156 refcount_inc_checked+0x2b/0x30 /lib/refcount.c:156 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.2.0-rc6+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack /lib/dump_stack.c:77 [inline] dump_stack+0x113/0x167 /lib/dump_stack.c:113 panic+0x212/0x4cb /kernel/panic.c:219 __warn.cold.8+0x1b/0x38 /kernel/panic.c:576 report_bug+0x1a4/0x200 /lib/bug.c:186 fixup_bug /arch/x86/kernel/traps.c:179 [inline] do_error_trap+0x11b/0x200 /arch/x86/kernel/traps.c:272 do_invalid_op+0x36/0x40 /arch/x86/kernel/traps.c:291 invalid_op+0x14/0x20 /arch/x86/entry/entry_64.S:986 RIP: 0010:refcount_inc_checked+0x2b/0x30 /lib/refcount.c:156 Code: 48 89 e5 e8 97 fe ff ff 84 c0 74 02 5d c3 80 3d 93 69 f3 05 00 75 f5 48 c7 c7 00 52 41 87 c6 05 83 69 f3 05 01 e8 a8 d2 3d fe <0f> 0b 5d c3 90 55 48 89 e5 41 56 41 55 49 89 fd 48 c7 c7 60 52 41 RSP: 0018:ffff8880aeb09c10 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88808c4c5300 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffff8880a98d4be8 RDI: ffffffff89d60d40 RBP: ffff8880aeb09c10 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a63b8400 R13: ffff88808c4c5368 R14: 000000000000002f R15: ffff88808c4c579e sock_hold /./include/net/sock.h:649 [inline] sk_add_node /./include/net/sock.h:701 [inline] nr_insert_socket+0x28/0xd0 /net/netrom/af_netrom.c:137 nr_rx_frame+0x160f/0x1f00 /net/netrom/af_netrom.c:1023 nr_loopback_timer+0x64/0x120 /net/netrom/nr_loopback.c:59 call_timer_fn+0x14d/0x510 /kernel/time/timer.c:1322 expire_timers /kernel/time/timer.c:1366 [inline] __run_timers /kernel/time/timer.c:1685 [inline] run_timer_softirq+0xc6f/0x1330 /kernel/time/timer.c:1698 __do_softirq+0x260/0x958 /kernel/softirq.c:292 invoke_softirq /kernel/softirq.c:373 [inline] irq_exit+0x17f/0x1c0 /kernel/softirq.c:413 exiting_irq /./arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x13e/0x540 /arch/x86/kernel/apic/apic.c:1068 apic_timer_interrupt+0xf/0x20 /arch/x86/entry/entry_64.S:806 RIP: 0010:native_safe_halt+0x12/0x20 /./arch/x86/include/asm/irqflags.h:61 Code: 11 ff ff ff 4c 89 e7 e8 6c f2 f4 fa eb 97 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 e9 07 00 00 00 0f 00 2d f0 41 64 00 fb f4 <5d> c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e9 07 00 00 RSP: 0018:ffff8880a98e7d70 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffff8880a98d4340 RCX: 0000000000000000 RDX: 1ffffffff10643e1 RSI: 0000000000000006 RDI: ffffffff88321f08 RBP: ffff8880a98e7d70 R08: 0000000000000006 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff88321ef8 R14: 0000000000000001 R15: ffffffff88f68438 arch_safe_halt /./arch/x86/include/asm/paravirt.h:156 [inline] default_idle+0x51/0x310 /arch/x86/kernel/process.c:580 arch_cpu_idle+0xa/0x10 /arch/x86/kernel/process.c:571 default_idle_call+0x6d/0x90 /kernel/sched/idle.c:94 cpuidle_idle_call /kernel/sched/idle.c:154 [inline] do_idle+0x3e4/0x590 /kernel/sched/idle.c:263 cpu_startup_entry+0x18/0x20 /kernel/sched/idle.c:354 start_secondary+0x367/0x4b0 /arch/x86/kernel/smpboot.c:265 secondary_startup_64+0xa4/0xb0 /arch/x86/kernel/head_64.S:243 Kernel Offset: disabled Rebooting in 86400 seconds..