panic: memory chunk 0xfffff8004f0a407f is already allocated! cpuid = 0 Trace beginning at frame 0xfffff80117a7f678 chunk_mark_allocated() at chunk_mark_allocated+0x9e 0xffffffff80655e5e chunk_mark_allocated() at chunk_mark_allocated+0x9e 0xffffffff80655e5e _kmalloc() at _kmalloc+0x684 0xffffffff80657444 dup_sockaddr() at dup_sockaddr+0x20 0xffffffff806c9ca0 soreceive() at soreceive+0x2ca 0xffffffff806c5a2a kern_recvmsg() at kern_recvmsg+0xf7 0xffffffff806cba17 Debugger("panic") CPU0 stopping CPUs: 0x0000003e stopped Stopped at Debugger+0x7c: movb $0,0xbdaf09(%rip) db>