------------[ cut here ]------------ refcount_t: increment on 0; use-after-free. WARNING: CPU: 0 PID: 0 at lib/refcount.c:156 refcount_inc_checked lib/refcount.c:156 [inline] WARNING: CPU: 0 PID: 0 at lib/refcount.c:156 refcount_inc_checked+0x61/0x70 lib/refcount.c:154 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.3.0-rc1+ #86 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+0x172/0x1f0 lib/dump_stack.c:113 panic+0x2dc/0x755 kernel/panic.c:219 __warn.cold+0x20/0x4c kernel/panic.c:576 report_bug+0x263/0x2b0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:179 [inline] fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1026 RIP: 0010:refcount_inc_checked lib/refcount.c:156 [inline] RIP: 0010:refcount_inc_checked+0x61/0x70 lib/refcount.c:154 Code: 1d 48 87 64 06 31 ff 89 de e8 cb a3 35 fe 84 db 75 dd e8 82 a2 35 fe 48 c7 c7 c0 02 c6 87 c6 05 28 87 64 06 01 e8 67 05 07 fe <0f> 0b eb c1 90 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 41 57 41 RSP: 0018:ffff8880ae809bf0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff815c5bd6 RDI: ffffed1015d01370 RBP: ffff8880ae809c00 R08: ffffffff88c7a1c0 R09: fffffbfff11b4285 R10: fffffbfff11b4284 R11: ffffffff88da1423 R12: ffff88808d69d300 R13: ffff88808d69d2e8 R14: ffff88808a29f488 R15: ffff88808a29f460 sock_hold include/net/sock.h:649 [inline] sk_add_node include/net/sock.h:701 [inline] nr_insert_socket+0x2d/0xe0 net/netrom/af_netrom.c:137 nr_rx_frame+0x1605/0x1e73 net/netrom/af_netrom.c:1023 nr_loopback_timer+0x7b/0x170 net/netrom/nr_loopback.c:59 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1322 expire_timers kernel/time/timer.c:1366 [inline] __run_timers kernel/time/timer.c:1685 [inline] __run_timers kernel/time/timer.c:1653 [inline] run_timer_softirq+0x697/0x17a0 kernel/time/timer.c:1698 __do_softirq+0x262/0x98c kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x19b/0x1e0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:537 [inline] smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1095 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:828 RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61 Code: 48 d9 6e fa eb 8a 90 90 90 90 90 90 e9 07 00 00 00 0f 00 2d d4 40 4a 00 f4 c3 66 90 e9 07 00 00 00 0f 00 2d c4 40 4a 00 fb f4 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 e8 5e 91 22 fa e8 b9 RSP: 0018:ffffffff88c07ce8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff11a5e35 RBX: ffffffff88c7a1c0 RCX: 1ffffffff134b2be RDX: dffffc0000000000 RSI: ffffffff8178256e RDI: ffffffff873ddbfc RBP: ffffffff88c07d18 R08: ffffffff88c7a1c0 R09: fffffbfff118f439 R10: fffffbfff118f438 R11: ffffffff88c7a1c7 R12: dffffc0000000000 R13: ffffffff89a563f8 R14: 0000000000000000 R15: 0000000000000000 arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:571 default_idle_call+0x84/0xb0 kernel/sched/idle.c:94 cpuidle_idle_call kernel/sched/idle.c:154 [inline] do_idle+0x413/0x760 kernel/sched/idle.c:263 cpu_startup_entry+0x1b/0x20 kernel/sched/idle.c:354 rest_init+0x245/0x37b init/main.c:451 arch_call_rest_init+0xe/0x1b start_kernel+0x912/0x951 init/main.c:785 x86_64_start_reservations+0x29/0x2b arch/x86/kernel/head64.c:472 x86_64_start_kernel+0x77/0x7b arch/x86/kernel/head64.c:453 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:241 Kernel Offset: disabled Rebooting in 86400 seconds..