list_add corruption. next->prev should be prev (ffff88021fffa630), but was ffffea00045333e0. (next=ffffea0004532060). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:25! invalid opcode: 0000 [#1] SMP PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 11372 Comm: modprobe Not tainted 4.17.0+ #9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_add_valid+0x275/0x450 lib/list_debug.c:23 RSP: 0000:ffff8800852cef78 EFLAGS: 00010086 RAX: 0000000000000075 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88021fd36eec RBP: ffff8800852cefe0 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff86575950 R12: ffffea0004532060 R13: ffffea00045333e0 R14: 0000000000000000 R15: ffffffff8b58d000 FS: 0000000000000000(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe15139f360 CR3: 000000000ac30000 CR4: 00000000001406e0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: __list_add include/linux/list.h:60 [inline] list_add include/linux/list.h:79 [inline] __free_one_page+0x1483/0x1800 mm/page_alloc.c:876 free_pcppages_bulk+0x1039/0x12e0 mm/page_alloc.c:1160 free_unref_page_commit+0x358/0x4d0 mm/page_alloc.c:2778 free_unref_page mm/page_alloc.c:2794 [inline] __free_pages+0x1b9/0x240 mm/page_alloc.c:4440 kmsan_free_page+0x197/0x2e0 mm/kmsan/kmsan.c:959 free_pages_prepare mm/page_alloc.c:996 [inline] free_pcp_prepare mm/page_alloc.c:1060 [inline] free_unref_page_prepare+0x234/0x620 mm/page_alloc.c:2741 free_unref_page_list+0x278/0x8b0 mm/page_alloc.c:2810 release_pages+0x1637/0x1650 mm/swap.c:791 free_pages_and_swap_cache+0x55b/0x580 mm/swap_state.c:322 tlb_flush_mmu_free mm/memory.c:260 [inline] tlb_flush_mmu mm/memory.c:269 [inline] arch_tlb_finish_mmu mm/memory.c:284 [inline] tlb_finish_mmu+0x290/0x5c0 mm/memory.c:434 exit_mmap+0x539/0x980 mm/mmap.c:3107 __mmput+0x158/0x600 kernel/fork.c:962 mmput+0xab/0xf0 kernel/fork.c:983 exit_mm+0x6ed/0x7a0 kernel/exit.c:545 do_exit+0xc12/0x3930 kernel/exit.c:854 do_group_exit+0x1a0/0x360 kernel/exit.c:970 get_signal+0x1405/0x1ec0 kernel/signal.c:2482 do_signal+0xb8/0x1d20 arch/x86/kernel/signal.c:810 exit_to_usermode_loop arch/x86/entry/common.c:162 [inline] prepare_exit_to_usermode+0x271/0x3a0 arch/x86/entry/common.c:196 retint_user+0x8/0x8 RIP: 0033:0x7fe151835c70 RSP: 002b:00007ffce71a9950 EFLAGS: 00010206 RAX: 00007fe15139f360 RBX: 00007fe151a489a8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000fefa3223 RDI: 0000000000000006 RBP: 00007ffce71a9a30 R08: 000000000000003f R09: 0000000000000001 R10: 00007fe1512a5af0 R11: 00007ffce71a9780 R12: 00007fe151287000 R13: 00007fe15160e038 R14: 00007fe1512a5ac0 R15: 00007fe15160ed98 Code: 87 80 0c 00 00 00 00 00 00 41 c7 87 20 03 00 00 00 00 00 00 48 c7 c7 e4 b0 9c 8a 31 c0 48 89 d6 4c 89 ea 4c 89 e1 e8 1b a5 3e fd <0f> 0b 66 0f 1f 84 00 00 00 00 00 eb fe 48 8b 7d c8 e8 b5 9d be RIP: __list_add_valid+0x275/0x450 lib/list_debug.c:23 RSP: ffff8800852cef78 ---[ end trace e32c364d784b000b ]---