Date
July 12, 2025, 11:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 18.566884] ================================================================== [ 18.567447] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 18.567537] Free of addr fff00000c5942100 by task kunit_try_catch/235 [ 18.568041] [ 18.568079] CPU: 0 UID: 0 PID: 235 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 18.568474] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.568535] Hardware name: linux,dummy-virt (DT) [ 18.568663] Call trace: [ 18.568697] show_stack+0x20/0x38 (C) [ 18.568758] dump_stack_lvl+0x8c/0xd0 [ 18.568806] print_report+0x118/0x5d0 [ 18.568855] kasan_report_invalid_free+0xc0/0xe8 [ 18.569338] check_slab_allocation+0xd4/0x108 [ 18.569405] __kasan_mempool_poison_object+0x78/0x150 [ 18.569905] mempool_free+0x28c/0x328 [ 18.570098] mempool_double_free_helper+0x150/0x2e8 [ 18.570605] mempool_kmalloc_double_free+0xc0/0x118 [ 18.570713] kunit_try_run_case+0x170/0x3f0 [ 18.570955] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.571041] kthread+0x328/0x630 [ 18.571252] ret_from_fork+0x10/0x20 [ 18.571330] [ 18.571349] Allocated by task 235: [ 18.571381] kasan_save_stack+0x3c/0x68 [ 18.571546] kasan_save_track+0x20/0x40 [ 18.571624] kasan_save_alloc_info+0x40/0x58 [ 18.571847] __kasan_mempool_unpoison_object+0x11c/0x180 [ 18.571899] remove_element+0x130/0x1f8 [ 18.572131] mempool_alloc_preallocated+0x58/0xc0 [ 18.572372] mempool_double_free_helper+0x94/0x2e8 [ 18.572431] mempool_kmalloc_double_free+0xc0/0x118 [ 18.572472] kunit_try_run_case+0x170/0x3f0 [ 18.572512] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.572557] kthread+0x328/0x630 [ 18.572590] ret_from_fork+0x10/0x20 [ 18.572627] [ 18.572646] Freed by task 235: [ 18.572673] kasan_save_stack+0x3c/0x68 [ 18.573218] kasan_save_track+0x20/0x40 [ 18.573276] kasan_save_free_info+0x4c/0x78 [ 18.573334] __kasan_mempool_poison_object+0xc0/0x150 [ 18.573514] mempool_free+0x28c/0x328 [ 18.573641] mempool_double_free_helper+0x100/0x2e8 [ 18.573708] mempool_kmalloc_double_free+0xc0/0x118 [ 18.573962] kunit_try_run_case+0x170/0x3f0 [ 18.574372] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.574439] kthread+0x328/0x630 [ 18.574828] ret_from_fork+0x10/0x20 [ 18.575116] [ 18.575195] The buggy address belongs to the object at fff00000c5942100 [ 18.575195] which belongs to the cache kmalloc-128 of size 128 [ 18.575380] The buggy address is located 0 bytes inside of [ 18.575380] 128-byte region [fff00000c5942100, fff00000c5942180) [ 18.575443] [ 18.575464] The buggy address belongs to the physical page: [ 18.575697] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105942 [ 18.576033] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.576316] page_type: f5(slab) [ 18.576590] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 18.576830] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 18.577165] page dumped because: kasan: bad access detected [ 18.577417] [ 18.577436] Memory state around the buggy address: [ 18.577648] fff00000c5942000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 18.578021] fff00000c5942080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.578071] >fff00000c5942100: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 18.578428] ^ [ 18.578462] fff00000c5942180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.578952] fff00000c5942200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.578999] ================================================================== [ 18.587775] ================================================================== [ 18.587924] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 18.588050] Free of addr fff00000c7918000 by task kunit_try_catch/237 [ 18.588113] [ 18.588147] CPU: 0 UID: 0 PID: 237 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 18.588628] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.588705] Hardware name: linux,dummy-virt (DT) [ 18.588936] Call trace: [ 18.589162] show_stack+0x20/0x38 (C) [ 18.589337] dump_stack_lvl+0x8c/0xd0 [ 18.589420] print_report+0x118/0x5d0 [ 18.589467] kasan_report_invalid_free+0xc0/0xe8 [ 18.589728] __kasan_mempool_poison_object+0x14c/0x150 [ 18.589874] mempool_free+0x28c/0x328 [ 18.590038] mempool_double_free_helper+0x150/0x2e8 [ 18.590095] mempool_kmalloc_large_double_free+0xc0/0x118 [ 18.590157] kunit_try_run_case+0x170/0x3f0 [ 18.590218] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.590273] kthread+0x328/0x630 [ 18.590316] ret_from_fork+0x10/0x20 [ 18.590371] [ 18.590395] The buggy address belongs to the physical page: [ 18.590428] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107918 [ 18.590492] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 18.590553] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 18.590615] page_type: f8(unknown) [ 18.590656] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 18.590713] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 18.590765] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 18.590813] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 18.590863] head: 0bfffe0000000002 ffffc1ffc31e4601 00000000ffffffff 00000000ffffffff [ 18.590913] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 18.590954] page dumped because: kasan: bad access detected [ 18.590984] [ 18.591001] Memory state around the buggy address: [ 18.591043] fff00000c7917f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 18.591087] fff00000c7917f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 18.591146] >fff00000c7918000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 18.591212] ^ [ 18.591753] fff00000c7918080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 18.592082] fff00000c7918100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 18.592263] ================================================================== [ 18.602350] ================================================================== [ 18.602453] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 18.602645] Free of addr fff00000c7918000 by task kunit_try_catch/239 [ 18.602704] [ 18.602757] CPU: 0 UID: 0 PID: 239 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 18.602843] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.602883] Hardware name: linux,dummy-virt (DT) [ 18.602915] Call trace: [ 18.602941] show_stack+0x20/0x38 (C) [ 18.602991] dump_stack_lvl+0x8c/0xd0 [ 18.603039] print_report+0x118/0x5d0 [ 18.603085] kasan_report_invalid_free+0xc0/0xe8 [ 18.603136] __kasan_mempool_poison_pages+0xe0/0xe8 [ 18.603604] mempool_free+0x24c/0x328 [ 18.603675] mempool_double_free_helper+0x150/0x2e8 [ 18.603904] mempool_page_alloc_double_free+0xbc/0x118 [ 18.604048] kunit_try_run_case+0x170/0x3f0 [ 18.604507] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.604606] kthread+0x328/0x630 [ 18.604683] ret_from_fork+0x10/0x20 [ 18.605012] [ 18.605062] The buggy address belongs to the physical page: [ 18.605244] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107918 [ 18.605398] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.605472] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 18.605549] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 18.605950] page dumped because: kasan: bad access detected [ 18.606003] [ 18.606126] Memory state around the buggy address: [ 18.606206] fff00000c7917f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 18.606401] fff00000c7917f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 18.606480] >fff00000c7918000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 18.606619] ^ [ 18.606648] fff00000c7918080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 18.606699] fff00000c7918100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 18.607019] ==================================================================
[ 14.700801] ================================================================== [ 14.702274] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 14.702978] Free of addr ffff888102c04000 by task kunit_try_catch/256 [ 14.703380] [ 14.703471] CPU: 1 UID: 0 PID: 256 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.703515] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.703526] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.703549] Call Trace: [ 14.703560] <TASK> [ 14.703576] dump_stack_lvl+0x73/0xb0 [ 14.703606] print_report+0xd1/0x610 [ 14.703629] ? __virt_addr_valid+0x1db/0x2d0 [ 14.703655] ? kasan_addr_to_slab+0x11/0xa0 [ 14.703675] ? mempool_double_free_helper+0x184/0x370 [ 14.703701] kasan_report_invalid_free+0x10a/0x130 [ 14.703727] ? mempool_double_free_helper+0x184/0x370 [ 14.703754] ? mempool_double_free_helper+0x184/0x370 [ 14.703777] __kasan_mempool_poison_pages+0x115/0x130 [ 14.703804] mempool_free+0x290/0x380 [ 14.703831] mempool_double_free_helper+0x184/0x370 [ 14.703856] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 14.703881] ? update_curr+0x5c1/0x810 [ 14.703911] mempool_page_alloc_double_free+0xe8/0x140 [ 14.703938] ? __pfx_mempool_page_alloc_double_free+0x10/0x10 [ 14.703964] ? schedule+0x7c/0x2e0 [ 14.703987] ? __pfx_mempool_alloc_pages+0x10/0x10 [ 14.704012] ? __pfx_mempool_free_pages+0x10/0x10 [ 14.704039] ? __pfx_read_tsc+0x10/0x10 [ 14.704061] ? ktime_get_ts64+0x86/0x230 [ 14.704085] kunit_try_run_case+0x1a5/0x480 [ 14.704111] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.704135] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.704159] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.704183] ? __kthread_parkme+0x82/0x180 [ 14.704204] ? preempt_count_sub+0x50/0x80 [ 14.704228] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.704254] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.704305] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.704330] kthread+0x337/0x6f0 [ 14.704349] ? trace_preempt_on+0x20/0xc0 [ 14.704372] ? __pfx_kthread+0x10/0x10 [ 14.704392] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.704414] ? calculate_sigpending+0x7b/0xa0 [ 14.704439] ? __pfx_kthread+0x10/0x10 [ 14.704470] ret_from_fork+0x116/0x1d0 [ 14.704489] ? __pfx_kthread+0x10/0x10 [ 14.704509] ret_from_fork_asm+0x1a/0x30 [ 14.704551] </TASK> [ 14.704570] [ 14.716910] The buggy address belongs to the physical page: [ 14.717096] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102c04 [ 14.717353] flags: 0x200000000000000(node=0|zone=2) [ 14.717525] raw: 0200000000000000 0000000000000000 dead000000000122 0000000000000000 [ 14.717759] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 14.717987] page dumped because: kasan: bad access detected [ 14.718159] [ 14.718228] Memory state around the buggy address: [ 14.718638] ffff888102c03f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.719247] ffff888102c03f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.719862] >ffff888102c04000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.720473] ^ [ 14.720774] ffff888102c04080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.721382] ffff888102c04100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.721982] ================================================================== [ 14.666383] ================================================================== [ 14.666789] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 14.667402] Free of addr ffff888102c04000 by task kunit_try_catch/254 [ 14.668168] [ 14.668451] CPU: 1 UID: 0 PID: 254 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.668500] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.668512] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.668534] Call Trace: [ 14.668546] <TASK> [ 14.668562] dump_stack_lvl+0x73/0xb0 [ 14.668593] print_report+0xd1/0x610 [ 14.668616] ? __virt_addr_valid+0x1db/0x2d0 [ 14.668641] ? kasan_addr_to_slab+0x11/0xa0 [ 14.668663] ? mempool_double_free_helper+0x184/0x370 [ 14.668689] kasan_report_invalid_free+0x10a/0x130 [ 14.668714] ? mempool_double_free_helper+0x184/0x370 [ 14.668742] ? mempool_double_free_helper+0x184/0x370 [ 14.668766] __kasan_mempool_poison_object+0x1b3/0x1d0 [ 14.668793] mempool_free+0x2ec/0x380 [ 14.668820] mempool_double_free_helper+0x184/0x370 [ 14.668845] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 14.668872] ? __pfx_sched_clock_cpu+0x10/0x10 [ 14.668895] ? finish_task_switch.isra.0+0x153/0x700 [ 14.668922] mempool_kmalloc_large_double_free+0xed/0x140 [ 14.668948] ? __pfx_mempool_kmalloc_large_double_free+0x10/0x10 [ 14.668978] ? __pfx_mempool_kmalloc+0x10/0x10 [ 14.669001] ? __pfx_mempool_kfree+0x10/0x10 [ 14.669026] ? __pfx_read_tsc+0x10/0x10 [ 14.669047] ? ktime_get_ts64+0x86/0x230 [ 14.669071] kunit_try_run_case+0x1a5/0x480 [ 14.669097] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.669120] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.669147] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.669174] ? __kthread_parkme+0x82/0x180 [ 14.669195] ? preempt_count_sub+0x50/0x80 [ 14.669218] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.669243] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.669279] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.669305] kthread+0x337/0x6f0 [ 14.669323] ? trace_preempt_on+0x20/0xc0 [ 14.669347] ? __pfx_kthread+0x10/0x10 [ 14.669368] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.669431] ? calculate_sigpending+0x7b/0xa0 [ 14.669455] ? __pfx_kthread+0x10/0x10 [ 14.669488] ret_from_fork+0x116/0x1d0 [ 14.669508] ? __pfx_kthread+0x10/0x10 [ 14.669529] ret_from_fork_asm+0x1a/0x30 [ 14.669559] </TASK> [ 14.669570] [ 14.683191] The buggy address belongs to the physical page: [ 14.683720] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102c04 [ 14.684432] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 14.684897] flags: 0x200000000000040(head|node=0|zone=2) [ 14.685080] page_type: f8(unknown) [ 14.685211] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 14.685457] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 14.685690] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 14.685924] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 14.686158] head: 0200000000000002 ffffea00040b0101 00000000ffffffff 00000000ffffffff [ 14.686666] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 14.687346] page dumped because: kasan: bad access detected [ 14.687819] [ 14.687978] Memory state around the buggy address: [ 14.688419] ffff888102c03f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.689031] ffff888102c03f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.689636] >ffff888102c04000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.690238] ^ [ 14.690554] ffff888102c04080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.691319] ffff888102c04100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 14.691900] ================================================================== [ 14.624884] ================================================================== [ 14.625473] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 14.625715] Free of addr ffff8881029efc00 by task kunit_try_catch/252 [ 14.625914] [ 14.626326] CPU: 1 UID: 0 PID: 252 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.626374] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.626387] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.626409] Call Trace: [ 14.626422] <TASK> [ 14.626622] dump_stack_lvl+0x73/0xb0 [ 14.626659] print_report+0xd1/0x610 [ 14.626683] ? __virt_addr_valid+0x1db/0x2d0 [ 14.626717] ? kasan_complete_mode_report_info+0x64/0x200 [ 14.626741] ? mempool_double_free_helper+0x184/0x370 [ 14.626767] kasan_report_invalid_free+0x10a/0x130 [ 14.626792] ? mempool_double_free_helper+0x184/0x370 [ 14.626819] ? mempool_double_free_helper+0x184/0x370 [ 14.626843] ? mempool_double_free_helper+0x184/0x370 [ 14.626867] check_slab_allocation+0x101/0x130 [ 14.626890] __kasan_mempool_poison_object+0x91/0x1d0 [ 14.626916] mempool_free+0x2ec/0x380 [ 14.626942] mempool_double_free_helper+0x184/0x370 [ 14.626967] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 14.627079] ? __pfx_sched_clock_cpu+0x10/0x10 [ 14.627103] ? finish_task_switch.isra.0+0x153/0x700 [ 14.627130] mempool_kmalloc_double_free+0xed/0x140 [ 14.627155] ? __pfx_mempool_kmalloc_double_free+0x10/0x10 [ 14.627184] ? __pfx_mempool_kmalloc+0x10/0x10 [ 14.627207] ? __pfx_mempool_kfree+0x10/0x10 [ 14.627232] ? __pfx_read_tsc+0x10/0x10 [ 14.627253] ? ktime_get_ts64+0x86/0x230 [ 14.627290] kunit_try_run_case+0x1a5/0x480 [ 14.627315] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.627340] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.627364] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.627388] ? __kthread_parkme+0x82/0x180 [ 14.627410] ? preempt_count_sub+0x50/0x80 [ 14.627436] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.627464] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.627489] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.627516] kthread+0x337/0x6f0 [ 14.627535] ? trace_preempt_on+0x20/0xc0 [ 14.627560] ? __pfx_kthread+0x10/0x10 [ 14.627581] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.627603] ? calculate_sigpending+0x7b/0xa0 [ 14.627628] ? __pfx_kthread+0x10/0x10 [ 14.627650] ret_from_fork+0x116/0x1d0 [ 14.627669] ? __pfx_kthread+0x10/0x10 [ 14.627690] ret_from_fork_asm+0x1a/0x30 [ 14.627721] </TASK> [ 14.627732] [ 14.644822] Allocated by task 252: [ 14.645243] kasan_save_stack+0x45/0x70 [ 14.645478] kasan_save_track+0x18/0x40 [ 14.645812] kasan_save_alloc_info+0x3b/0x50 [ 14.646273] __kasan_mempool_unpoison_object+0x1a9/0x200 [ 14.646521] remove_element+0x11e/0x190 [ 14.646701] mempool_alloc_preallocated+0x4d/0x90 [ 14.646912] mempool_double_free_helper+0x8a/0x370 [ 14.647623] mempool_kmalloc_double_free+0xed/0x140 [ 14.648247] kunit_try_run_case+0x1a5/0x480 [ 14.648533] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.648954] kthread+0x337/0x6f0 [ 14.649378] ret_from_fork+0x116/0x1d0 [ 14.649694] ret_from_fork_asm+0x1a/0x30 [ 14.649899] [ 14.650250] Freed by task 252: [ 14.650409] kasan_save_stack+0x45/0x70 [ 14.650592] kasan_save_track+0x18/0x40 [ 14.650770] kasan_save_free_info+0x3f/0x60 [ 14.650962] __kasan_mempool_poison_object+0x131/0x1d0 [ 14.651710] mempool_free+0x2ec/0x380 [ 14.651968] mempool_double_free_helper+0x109/0x370 [ 14.652409] mempool_kmalloc_double_free+0xed/0x140 [ 14.652637] kunit_try_run_case+0x1a5/0x480 [ 14.652829] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.653435] kthread+0x337/0x6f0 [ 14.653673] ret_from_fork+0x116/0x1d0 [ 14.653978] ret_from_fork_asm+0x1a/0x30 [ 14.654492] [ 14.654596] The buggy address belongs to the object at ffff8881029efc00 [ 14.654596] which belongs to the cache kmalloc-128 of size 128 [ 14.655537] The buggy address is located 0 bytes inside of [ 14.655537] 128-byte region [ffff8881029efc00, ffff8881029efc80) [ 14.656249] [ 14.656358] The buggy address belongs to the physical page: [ 14.656582] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1029ef [ 14.656906] flags: 0x200000000000000(node=0|zone=2) [ 14.657588] page_type: f5(slab) [ 14.657836] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 14.658521] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 14.658847] page dumped because: kasan: bad access detected [ 14.659483] [ 14.659655] Memory state around the buggy address: [ 14.660011] ffff8881029efb00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 14.660399] ffff8881029efb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 14.660696] >ffff8881029efc00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 14.661312] ^ [ 14.661570] ffff8881029efc80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 14.662118] ffff8881029efd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.662434] ==================================================================