Date
July 5, 2025, 11:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 21.730961] ================================================================== [ 21.731083] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 21.731196] Free of addr fff00000c797c000 by task kunit_try_catch/238 [ 21.731293] [ 21.731379] CPU: 0 UID: 0 PID: 238 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 21.731567] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.731628] Hardware name: linux,dummy-virt (DT) [ 21.731697] Call trace: [ 21.731746] show_stack+0x20/0x38 (C) [ 21.731850] dump_stack_lvl+0x8c/0xd0 [ 21.731950] print_report+0x118/0x608 [ 21.732053] kasan_report_invalid_free+0xc0/0xe8 [ 21.732164] __kasan_mempool_poison_object+0x14c/0x150 [ 21.732279] mempool_free+0x28c/0x328 [ 21.732397] mempool_double_free_helper+0x150/0x2e8 [ 21.732496] mempool_kmalloc_large_double_free+0xc0/0x118 [ 21.732980] kunit_try_run_case+0x170/0x3f0 [ 21.733282] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.733632] kthread+0x328/0x630 [ 21.733763] ret_from_fork+0x10/0x20 [ 21.733906] [ 21.733971] The buggy address belongs to the physical page: [ 21.734052] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10797c [ 21.734194] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 21.734290] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 21.734406] page_type: f8(unknown) [ 21.734487] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 21.734588] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 21.734926] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 21.735046] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 21.735160] head: 0bfffe0000000002 ffffc1ffc31e5f01 00000000ffffffff 00000000ffffffff [ 21.735271] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 21.735376] page dumped because: kasan: bad access detected [ 21.735434] [ 21.735471] Memory state around the buggy address: [ 21.735542] fff00000c797bf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.735646] fff00000c797bf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.735783] >fff00000c797c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.735890] ^ [ 21.735961] fff00000c797c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.736046] fff00000c797c100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.736130] ================================================================== [ 21.751291] ================================================================== [ 21.751442] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 21.751563] Free of addr fff00000c797c000 by task kunit_try_catch/240 [ 21.751657] [ 21.751721] CPU: 0 UID: 0 PID: 240 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 21.751894] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.751956] Hardware name: linux,dummy-virt (DT) [ 21.752024] Call trace: [ 21.752074] show_stack+0x20/0x38 (C) [ 21.752177] dump_stack_lvl+0x8c/0xd0 [ 21.752283] print_report+0x118/0x608 [ 21.752397] kasan_report_invalid_free+0xc0/0xe8 [ 21.752534] __kasan_mempool_poison_pages+0xe0/0xe8 [ 21.752651] mempool_free+0x24c/0x328 [ 21.753856] mempool_double_free_helper+0x150/0x2e8 [ 21.753997] mempool_page_alloc_double_free+0xbc/0x118 [ 21.754528] kunit_try_run_case+0x170/0x3f0 [ 21.754796] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.754983] kthread+0x328/0x630 [ 21.755295] ret_from_fork+0x10/0x20 [ 21.755431] [ 21.755567] The buggy address belongs to the physical page: [ 21.755814] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10797c [ 21.755938] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.756103] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 21.756233] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 21.757104] page dumped because: kasan: bad access detected [ 21.757195] [ 21.757246] Memory state around the buggy address: [ 21.757320] fff00000c797bf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.757639] fff00000c797bf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.757808] >fff00000c797c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.758046] ^ [ 21.758149] fff00000c797c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.758276] fff00000c797c100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 21.758476] ================================================================== [ 21.704903] ================================================================== [ 21.705093] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 21.705249] Free of addr fff00000c7938a00 by task kunit_try_catch/236 [ 21.705396] [ 21.705494] CPU: 0 UID: 0 PID: 236 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 21.705734] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.705789] Hardware name: linux,dummy-virt (DT) [ 21.705863] Call trace: [ 21.705932] show_stack+0x20/0x38 (C) [ 21.706523] dump_stack_lvl+0x8c/0xd0 [ 21.706816] print_report+0x118/0x608 [ 21.706957] kasan_report_invalid_free+0xc0/0xe8 [ 21.707076] check_slab_allocation+0xd4/0x108 [ 21.707182] __kasan_mempool_poison_object+0x78/0x150 [ 21.707279] mempool_free+0x28c/0x328 [ 21.707374] mempool_double_free_helper+0x150/0x2e8 [ 21.707470] mempool_kmalloc_double_free+0xc0/0x118 [ 21.707579] kunit_try_run_case+0x170/0x3f0 [ 21.707683] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.707797] kthread+0x328/0x630 [ 21.707889] ret_from_fork+0x10/0x20 [ 21.707992] [ 21.708504] Allocated by task 236: [ 21.708772] kasan_save_stack+0x3c/0x68 [ 21.709856] kasan_save_track+0x20/0x40 [ 21.710099] kasan_save_alloc_info+0x40/0x58 [ 21.710208] __kasan_mempool_unpoison_object+0x11c/0x180 [ 21.710315] remove_element+0x130/0x1f8 [ 21.710415] mempool_alloc_preallocated+0x58/0xc0 [ 21.710520] mempool_double_free_helper+0x94/0x2e8 [ 21.710623] mempool_kmalloc_double_free+0xc0/0x118 [ 21.710786] kunit_try_run_case+0x170/0x3f0 [ 21.710896] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.711056] kthread+0x328/0x630 [ 21.711351] ret_from_fork+0x10/0x20 [ 21.711528] [ 21.711570] Freed by task 236: [ 21.711633] kasan_save_stack+0x3c/0x68 [ 21.711785] kasan_save_track+0x20/0x40 [ 21.711981] kasan_save_free_info+0x4c/0x78 [ 21.712163] __kasan_mempool_poison_object+0xc0/0x150 [ 21.712808] mempool_free+0x28c/0x328 [ 21.713127] mempool_double_free_helper+0x100/0x2e8 [ 21.713251] mempool_kmalloc_double_free+0xc0/0x118 [ 21.713421] kunit_try_run_case+0x170/0x3f0 [ 21.713646] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.714073] kthread+0x328/0x630 [ 21.714171] ret_from_fork+0x10/0x20 [ 21.714258] [ 21.714304] The buggy address belongs to the object at fff00000c7938a00 [ 21.714304] which belongs to the cache kmalloc-128 of size 128 [ 21.714475] The buggy address is located 0 bytes inside of [ 21.714475] 128-byte region [fff00000c7938a00, fff00000c7938a80) [ 21.714731] [ 21.714859] The buggy address belongs to the physical page: [ 21.714932] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107938 [ 21.715207] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.715444] page_type: f5(slab) [ 21.715589] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 21.715959] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 21.716121] page dumped because: kasan: bad access detected [ 21.716188] [ 21.716225] Memory state around the buggy address: [ 21.716326] fff00000c7938900: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 21.716447] fff00000c7938980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.716646] >fff00000c7938a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 21.716814] ^ [ 21.716884] fff00000c7938a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.717236] fff00000c7938b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.717541] ==================================================================
[ 15.504599] ================================================================== [ 15.505387] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 15.505731] Free of addr ffff888102abc000 by task kunit_try_catch/257 [ 15.506541] [ 15.506697] CPU: 0 UID: 0 PID: 257 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 15.506769] Tainted: [B]=BAD_PAGE, [N]=TEST [ 15.506786] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 15.506826] Call Trace: [ 15.506843] <TASK> [ 15.506881] dump_stack_lvl+0x73/0xb0 [ 15.506920] print_report+0xd1/0x650 [ 15.506950] ? __virt_addr_valid+0x1db/0x2d0 [ 15.506980] ? kasan_addr_to_slab+0x11/0xa0 [ 15.507004] ? mempool_double_free_helper+0x184/0x370 [ 15.507033] kasan_report_invalid_free+0x10a/0x130 [ 15.507063] ? mempool_double_free_helper+0x184/0x370 [ 15.507106] ? mempool_double_free_helper+0x184/0x370 [ 15.507133] __kasan_mempool_poison_pages+0x115/0x130 [ 15.507176] mempool_free+0x290/0x380 [ 15.507204] mempool_double_free_helper+0x184/0x370 [ 15.507233] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 15.507266] ? finish_task_switch.isra.0+0x153/0x700 [ 15.507298] mempool_page_alloc_double_free+0xe8/0x140 [ 15.507338] ? __pfx_mempool_page_alloc_double_free+0x10/0x10 [ 15.507370] ? __pfx_mempool_alloc_pages+0x10/0x10 [ 15.507394] ? __pfx_mempool_free_pages+0x10/0x10 [ 15.507428] ? __pfx_read_tsc+0x10/0x10 [ 15.507453] ? ktime_get_ts64+0x86/0x230 [ 15.507482] kunit_try_run_case+0x1a5/0x480 [ 15.507511] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.507538] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 15.507565] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 15.507592] ? __kthread_parkme+0x82/0x180 [ 15.507617] ? preempt_count_sub+0x50/0x80 [ 15.507643] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.507684] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 15.507712] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 15.507740] kthread+0x337/0x6f0 [ 15.507762] ? trace_preempt_on+0x20/0xc0 [ 15.507789] ? __pfx_kthread+0x10/0x10 [ 15.507813] ? _raw_spin_unlock_irq+0x47/0x80 [ 15.507838] ? calculate_sigpending+0x7b/0xa0 [ 15.507865] ? __pfx_kthread+0x10/0x10 [ 15.507891] ret_from_fork+0x116/0x1d0 [ 15.507913] ? __pfx_kthread+0x10/0x10 [ 15.507937] ret_from_fork_asm+0x1a/0x30 [ 15.507973] </TASK> [ 15.507986] [ 15.523669] The buggy address belongs to the physical page: [ 15.524784] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102abc [ 15.525425] flags: 0x200000000000000(node=0|zone=2) [ 15.525931] raw: 0200000000000000 0000000000000000 dead000000000122 0000000000000000 [ 15.526426] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 15.526819] page dumped because: kasan: bad access detected [ 15.527315] [ 15.527407] Memory state around the buggy address: [ 15.527699] ffff888102abbf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.528497] ffff888102abbf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.528931] >ffff888102abc000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.529502] ^ [ 15.529853] ffff888102abc080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.530228] ffff888102abc100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.530614] ================================================================== [ 15.472720] ================================================================== [ 15.473431] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 15.473860] Free of addr ffff8881039f8000 by task kunit_try_catch/255 [ 15.474217] [ 15.474365] CPU: 1 UID: 0 PID: 255 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 15.474431] Tainted: [B]=BAD_PAGE, [N]=TEST [ 15.474446] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 15.474475] Call Trace: [ 15.474491] <TASK> [ 15.474515] dump_stack_lvl+0x73/0xb0 [ 15.474552] print_report+0xd1/0x650 [ 15.474579] ? __virt_addr_valid+0x1db/0x2d0 [ 15.474609] ? kasan_addr_to_slab+0x11/0xa0 [ 15.474633] ? mempool_double_free_helper+0x184/0x370 [ 15.474678] kasan_report_invalid_free+0x10a/0x130 [ 15.474707] ? mempool_double_free_helper+0x184/0x370 [ 15.474741] ? mempool_double_free_helper+0x184/0x370 [ 15.474770] __kasan_mempool_poison_object+0x1b3/0x1d0 [ 15.474854] mempool_free+0x2ec/0x380 [ 15.474898] mempool_double_free_helper+0x184/0x370 [ 15.474927] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 15.474957] ? __kasan_check_write+0x18/0x20 [ 15.475100] ? __pfx_sched_clock_cpu+0x10/0x10 [ 15.475131] ? finish_task_switch.isra.0+0x153/0x700 [ 15.475162] mempool_kmalloc_large_double_free+0xed/0x140 [ 15.475192] ? __pfx_mempool_kmalloc_large_double_free+0x10/0x10 [ 15.475225] ? __pfx_mempool_kmalloc+0x10/0x10 [ 15.475252] ? __pfx_mempool_kfree+0x10/0x10 [ 15.475327] ? __pfx_read_tsc+0x10/0x10 [ 15.475353] ? ktime_get_ts64+0x86/0x230 [ 15.475397] kunit_try_run_case+0x1a5/0x480 [ 15.475427] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.475454] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 15.475522] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 15.475552] ? __kthread_parkme+0x82/0x180 [ 15.475577] ? preempt_count_sub+0x50/0x80 [ 15.475616] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.475645] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 15.475683] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 15.475709] kthread+0x337/0x6f0 [ 15.475732] ? trace_preempt_on+0x20/0xc0 [ 15.475760] ? __pfx_kthread+0x10/0x10 [ 15.475797] ? _raw_spin_unlock_irq+0x47/0x80 [ 15.475836] ? calculate_sigpending+0x7b/0xa0 [ 15.475866] ? __pfx_kthread+0x10/0x10 [ 15.475892] ret_from_fork+0x116/0x1d0 [ 15.475914] ? __pfx_kthread+0x10/0x10 [ 15.475940] ret_from_fork_asm+0x1a/0x30 [ 15.475978] </TASK> [ 15.475993] [ 15.489338] The buggy address belongs to the physical page: [ 15.489948] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1039f8 [ 15.490782] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 15.491667] flags: 0x200000000000040(head|node=0|zone=2) [ 15.492315] page_type: f8(unknown) [ 15.492695] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 15.493802] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 15.494303] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 15.494592] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 15.494885] head: 0200000000000002 ffffea00040e7e01 00000000ffffffff 00000000ffffffff [ 15.495157] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 15.495427] page dumped because: kasan: bad access detected [ 15.495627] [ 15.495934] Memory state around the buggy address: [ 15.496441] ffff8881039f7f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.497218] ffff8881039f7f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.497957] >ffff8881039f8000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.498889] ^ [ 15.499244] ffff8881039f8080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.499952] ffff8881039f8100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 15.500694] ================================================================== [ 15.425106] ================================================================== [ 15.425701] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 15.426552] Free of addr ffff8881029dfc00 by task kunit_try_catch/253 [ 15.427136] [ 15.427623] CPU: 0 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 15.427700] Tainted: [B]=BAD_PAGE, [N]=TEST [ 15.427715] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 15.427743] Call Trace: [ 15.427762] <TASK> [ 15.427978] dump_stack_lvl+0x73/0xb0 [ 15.428027] print_report+0xd1/0x650 [ 15.428056] ? __virt_addr_valid+0x1db/0x2d0 [ 15.428085] ? kasan_complete_mode_report_info+0x64/0x200 [ 15.428111] ? mempool_double_free_helper+0x184/0x370 [ 15.428140] kasan_report_invalid_free+0x10a/0x130 [ 15.428169] ? mempool_double_free_helper+0x184/0x370 [ 15.428200] ? mempool_double_free_helper+0x184/0x370 [ 15.428228] ? mempool_double_free_helper+0x184/0x370 [ 15.428256] check_slab_allocation+0x101/0x130 [ 15.428281] __kasan_mempool_poison_object+0x91/0x1d0 [ 15.428309] mempool_free+0x2ec/0x380 [ 15.428336] mempool_double_free_helper+0x184/0x370 [ 15.428363] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 15.428394] ? __pfx_sched_clock_cpu+0x10/0x10 [ 15.428421] ? finish_task_switch.isra.0+0x153/0x700 [ 15.428451] mempool_kmalloc_double_free+0xed/0x140 [ 15.428478] ? __pfx_mempool_kmalloc_double_free+0x10/0x10 [ 15.428508] ? __pfx_mempool_kmalloc+0x10/0x10 [ 15.428534] ? __pfx_mempool_kfree+0x10/0x10 [ 15.428563] ? __pfx_read_tsc+0x10/0x10 [ 15.428587] ? ktime_get_ts64+0x86/0x230 [ 15.428615] kunit_try_run_case+0x1a5/0x480 [ 15.428657] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.428683] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 15.428710] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 15.428737] ? __kthread_parkme+0x82/0x180 [ 15.428761] ? preempt_count_sub+0x50/0x80 [ 15.428788] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.428816] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 15.428842] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 15.428868] kthread+0x337/0x6f0 [ 15.428892] ? trace_preempt_on+0x20/0xc0 [ 15.428920] ? __pfx_kthread+0x10/0x10 [ 15.428943] ? _raw_spin_unlock_irq+0x47/0x80 [ 15.428967] ? calculate_sigpending+0x7b/0xa0 [ 15.428995] ? __pfx_kthread+0x10/0x10 [ 15.429020] ret_from_fork+0x116/0x1d0 [ 15.429040] ? __pfx_kthread+0x10/0x10 [ 15.429064] ret_from_fork_asm+0x1a/0x30 [ 15.429101] </TASK> [ 15.429115] [ 15.448363] Allocated by task 253: [ 15.448575] kasan_save_stack+0x45/0x70 [ 15.449225] kasan_save_track+0x18/0x40 [ 15.449451] kasan_save_alloc_info+0x3b/0x50 [ 15.449774] __kasan_mempool_unpoison_object+0x1a9/0x200 [ 15.450225] remove_element+0x11e/0x190 [ 15.450458] mempool_alloc_preallocated+0x4d/0x90 [ 15.450751] mempool_double_free_helper+0x8a/0x370 [ 15.451362] mempool_kmalloc_double_free+0xed/0x140 [ 15.451751] kunit_try_run_case+0x1a5/0x480 [ 15.452180] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 15.452453] kthread+0x337/0x6f0 [ 15.452675] ret_from_fork+0x116/0x1d0 [ 15.453248] ret_from_fork_asm+0x1a/0x30 [ 15.453492] [ 15.453802] Freed by task 253: [ 15.454328] kasan_save_stack+0x45/0x70 [ 15.454710] kasan_save_track+0x18/0x40 [ 15.455173] kasan_save_free_info+0x3f/0x60 [ 15.455674] __kasan_mempool_poison_object+0x131/0x1d0 [ 15.456339] mempool_free+0x2ec/0x380 [ 15.456566] mempool_double_free_helper+0x109/0x370 [ 15.457103] mempool_kmalloc_double_free+0xed/0x140 [ 15.457528] kunit_try_run_case+0x1a5/0x480 [ 15.457769] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 15.458507] kthread+0x337/0x6f0 [ 15.458721] ret_from_fork+0x116/0x1d0 [ 15.459245] ret_from_fork_asm+0x1a/0x30 [ 15.459596] [ 15.459739] The buggy address belongs to the object at ffff8881029dfc00 [ 15.459739] which belongs to the cache kmalloc-128 of size 128 [ 15.460501] The buggy address is located 0 bytes inside of [ 15.460501] 128-byte region [ffff8881029dfc00, ffff8881029dfc80) [ 15.461481] [ 15.461614] The buggy address belongs to the physical page: [ 15.462448] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1029df [ 15.463162] flags: 0x200000000000000(node=0|zone=2) [ 15.463433] page_type: f5(slab) [ 15.463640] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 15.464379] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 15.464760] page dumped because: kasan: bad access detected [ 15.465103] [ 15.465380] Memory state around the buggy address: [ 15.465633] ffff8881029dfb00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 15.466503] ffff8881029dfb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.466874] >ffff8881029dfc00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 15.467316] ^ [ 15.467566] ffff8881029dfc80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 15.467885] ffff8881029dfd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.468336] ==================================================================