Date
May 26, 2025, 9:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.012924] ================================================================== [ 20.013055] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 20.013172] Free of addr fff00000c79cc000 by task kunit_try_catch/237 [ 20.013272] [ 20.013688] CPU: 0 UID: 0 PID: 237 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7-next-20250526 #1 PREEMPT [ 20.013927] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.013998] Hardware name: linux,dummy-virt (DT) [ 20.014068] Call trace: [ 20.014173] show_stack+0x20/0x38 (C) [ 20.014301] dump_stack_lvl+0x8c/0xd0 [ 20.014422] print_report+0x118/0x608 [ 20.014784] kasan_report_invalid_free+0xc0/0xe8 [ 20.014902] __kasan_mempool_poison_object+0x14c/0x150 [ 20.015197] mempool_free+0x28c/0x328 [ 20.015305] mempool_double_free_helper+0x150/0x2e8 [ 20.015430] mempool_kmalloc_large_double_free+0xc0/0x118 [ 20.015544] kunit_try_run_case+0x170/0x3f0 [ 20.015647] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.015763] kthread+0x328/0x630 [ 20.015865] ret_from_fork+0x10/0x20 [ 20.015959] [ 20.016000] The buggy address belongs to the physical page: [ 20.016059] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1079cc [ 20.016188] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 20.016341] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 20.016469] page_type: f8(unknown) [ 20.016557] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 20.016662] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 20.016932] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 20.017049] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 20.017164] head: 0bfffe0000000002 ffffc1ffc31e7301 00000000ffffffff 00000000ffffffff [ 20.017274] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 20.017371] page dumped because: kasan: bad access detected [ 20.017446] [ 20.017495] Memory state around the buggy address: [ 20.017646] fff00000c79cbf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.017758] fff00000c79cbf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.018129] >fff00000c79cc000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.018243] ^ [ 20.018634] fff00000c79cc080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.018781] fff00000c79cc100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.018838] ================================================================== [ 20.044421] ================================================================== [ 20.044692] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 20.045081] Free of addr fff00000c79cc000 by task kunit_try_catch/239 [ 20.045270] [ 20.045379] CPU: 0 UID: 0 PID: 239 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7-next-20250526 #1 PREEMPT [ 20.045894] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.045967] Hardware name: linux,dummy-virt (DT) [ 20.046042] Call trace: [ 20.046095] show_stack+0x20/0x38 (C) [ 20.046211] dump_stack_lvl+0x8c/0xd0 [ 20.046327] print_report+0x118/0x608 [ 20.046436] kasan_report_invalid_free+0xc0/0xe8 [ 20.046552] __kasan_mempool_poison_pages+0xe0/0xe8 [ 20.046669] mempool_free+0x24c/0x328 [ 20.046810] mempool_double_free_helper+0x150/0x2e8 [ 20.046920] mempool_page_alloc_double_free+0xbc/0x118 [ 20.047276] kunit_try_run_case+0x170/0x3f0 [ 20.047612] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.047782] kthread+0x328/0x630 [ 20.048026] ret_from_fork+0x10/0x20 [ 20.048148] [ 20.048226] The buggy address belongs to the physical page: [ 20.048333] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1079cc [ 20.048497] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 20.048652] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 20.048915] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.049242] page dumped because: kasan: bad access detected [ 20.049351] [ 20.049420] Memory state around the buggy address: [ 20.049543] fff00000c79cbf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.049693] fff00000c79cbf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.049828] >fff00000c79cc000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.049918] ^ [ 20.050007] fff00000c79cc080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.050108] fff00000c79cc100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.050200] ================================================================== [ 19.984983] ================================================================== [ 19.985653] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 19.986329] Free of addr fff00000c78c2a00 by task kunit_try_catch/235 [ 19.986502] [ 19.986651] CPU: 0 UID: 0 PID: 235 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7-next-20250526 #1 PREEMPT [ 19.986857] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.986915] Hardware name: linux,dummy-virt (DT) [ 19.986987] Call trace: [ 19.987039] show_stack+0x20/0x38 (C) [ 19.987148] dump_stack_lvl+0x8c/0xd0 [ 19.987249] print_report+0x118/0x608 [ 19.987365] kasan_report_invalid_free+0xc0/0xe8 [ 19.987474] check_slab_allocation+0xd4/0x108 [ 19.987580] __kasan_mempool_poison_object+0x78/0x150 [ 19.987693] mempool_free+0x28c/0x328 [ 19.987790] mempool_double_free_helper+0x150/0x2e8 [ 19.987898] mempool_kmalloc_double_free+0xc0/0x118 [ 19.988002] kunit_try_run_case+0x170/0x3f0 [ 19.988116] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.988237] kthread+0x328/0x630 [ 19.989986] ret_from_fork+0x10/0x20 [ 19.990169] [ 19.990232] Allocated by task 235: [ 19.990316] kasan_save_stack+0x3c/0x68 [ 19.990430] kasan_save_track+0x20/0x40 [ 19.990522] kasan_save_alloc_info+0x40/0x58 [ 19.990608] __kasan_mempool_unpoison_object+0x11c/0x180 [ 19.990699] remove_element+0x130/0x1f8 [ 19.991294] mempool_alloc_preallocated+0x58/0xc0 [ 19.991483] mempool_double_free_helper+0x94/0x2e8 [ 19.991654] mempool_kmalloc_double_free+0xc0/0x118 [ 19.991815] kunit_try_run_case+0x170/0x3f0 [ 19.992002] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.992108] kthread+0x328/0x630 [ 19.992338] ret_from_fork+0x10/0x20 [ 19.992784] [ 19.992947] Freed by task 235: [ 19.993343] kasan_save_stack+0x3c/0x68 [ 19.993872] kasan_save_track+0x20/0x40 [ 19.993958] kasan_save_free_info+0x4c/0x78 [ 19.994481] __kasan_mempool_poison_object+0xc0/0x150 [ 19.994575] mempool_free+0x28c/0x328 [ 19.994944] mempool_double_free_helper+0x100/0x2e8 [ 19.995044] mempool_kmalloc_double_free+0xc0/0x118 [ 19.995143] kunit_try_run_case+0x170/0x3f0 [ 19.995402] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.995570] kthread+0x328/0x630 [ 19.995662] ret_from_fork+0x10/0x20 [ 19.995739] [ 19.995845] The buggy address belongs to the object at fff00000c78c2a00 [ 19.995845] which belongs to the cache kmalloc-128 of size 128 [ 19.996074] The buggy address is located 0 bytes inside of [ 19.996074] 128-byte region [fff00000c78c2a00, fff00000c78c2a80) [ 19.996256] [ 19.996327] The buggy address belongs to the physical page: [ 19.996424] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1078c2 [ 19.996573] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 19.996705] page_type: f5(slab) [ 19.996795] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 19.996916] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 19.997013] page dumped because: kasan: bad access detected [ 19.997087] [ 19.997150] Memory state around the buggy address: [ 19.997234] fff00000c78c2900: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 19.997348] fff00000c78c2980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.997466] >fff00000c78c2a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 19.997571] ^ [ 19.997646] fff00000c78c2a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.997746] fff00000c78c2b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.997838] ==================================================================
[ 12.672112] ================================================================== [ 12.672558] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 12.673248] Free of addr ffff888103a68000 by task kunit_try_catch/255 [ 12.674005] [ 12.674240] CPU: 0 UID: 0 PID: 255 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) [ 12.674287] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.674336] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.674361] Call Trace: [ 12.674413] <TASK> [ 12.674431] dump_stack_lvl+0x73/0xb0 [ 12.674467] print_report+0xd1/0x650 [ 12.674491] ? __virt_addr_valid+0x1db/0x2d0 [ 12.674515] ? kasan_addr_to_slab+0x11/0xa0 [ 12.674536] ? mempool_double_free_helper+0x184/0x370 [ 12.674560] kasan_report_invalid_free+0x10a/0x130 [ 12.674585] ? mempool_double_free_helper+0x184/0x370 [ 12.674611] ? mempool_double_free_helper+0x184/0x370 [ 12.674634] __kasan_mempool_poison_object+0x1b3/0x1d0 [ 12.674659] mempool_free+0x2ec/0x380 [ 12.674682] mempool_double_free_helper+0x184/0x370 [ 12.674726] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 12.674752] ? __pfx_sched_clock_cpu+0x10/0x10 [ 12.674775] ? finish_task_switch.isra.0+0x153/0x700 [ 12.674801] mempool_kmalloc_large_double_free+0xed/0x140 [ 12.674826] ? __pfx_mempool_kmalloc_large_double_free+0x10/0x10 [ 12.674852] ? __pfx_mempool_kmalloc+0x10/0x10 [ 12.674871] ? __pfx_mempool_kfree+0x10/0x10 [ 12.674893] ? __pfx_read_tsc+0x10/0x10 [ 12.674914] ? ktime_get_ts64+0x86/0x230 [ 12.674937] kunit_try_run_case+0x1a5/0x480 [ 12.674960] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.674979] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.675030] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.675056] ? __kthread_parkme+0x82/0x180 [ 12.675076] ? preempt_count_sub+0x50/0x80 [ 12.675098] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.675119] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.675142] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.675167] kthread+0x337/0x6f0 [ 12.675186] ? trace_preempt_on+0x20/0xc0 [ 12.675210] ? __pfx_kthread+0x10/0x10 [ 12.675230] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.675252] ? calculate_sigpending+0x7b/0xa0 [ 12.675276] ? __pfx_kthread+0x10/0x10 [ 12.675297] ret_from_fork+0x116/0x1d0 [ 12.675315] ? __pfx_kthread+0x10/0x10 [ 12.675335] ret_from_fork_asm+0x1a/0x30 [ 12.675366] </TASK> [ 12.675386] [ 12.689348] The buggy address belongs to the physical page: [ 12.690005] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a68 [ 12.690867] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 12.691444] flags: 0x200000000000040(head|node=0|zone=2) [ 12.691631] page_type: f8(unknown) [ 12.691884] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 12.692613] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 12.693327] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 12.693586] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 12.694182] head: 0200000000000002 ffffea00040e9a01 00000000ffffffff 00000000ffffffff [ 12.694867] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 12.695598] page dumped because: kasan: bad access detected [ 12.695954] [ 12.696163] Memory state around the buggy address: [ 12.696534] ffff888103a67f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.696801] ffff888103a67f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.697610] >ffff888103a68000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.698202] ^ [ 12.698324] ffff888103a68080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.698559] ffff888103a68100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.698830] ================================================================== [ 12.702192] ================================================================== [ 12.702614] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 12.702857] Free of addr ffff888103a68000 by task kunit_try_catch/257 [ 12.703057] [ 12.703139] CPU: 0 UID: 0 PID: 257 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) [ 12.703184] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.703196] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.703218] Call Trace: [ 12.703229] <TASK> [ 12.703244] dump_stack_lvl+0x73/0xb0 [ 12.703267] print_report+0xd1/0x650 [ 12.703288] ? __virt_addr_valid+0x1db/0x2d0 [ 12.703312] ? kasan_addr_to_slab+0x11/0xa0 [ 12.703332] ? mempool_double_free_helper+0x184/0x370 [ 12.703357] kasan_report_invalid_free+0x10a/0x130 [ 12.703391] ? mempool_double_free_helper+0x184/0x370 [ 12.703417] ? mempool_double_free_helper+0x184/0x370 [ 12.703440] __kasan_mempool_poison_pages+0x115/0x130 [ 12.703466] mempool_free+0x290/0x380 [ 12.703490] mempool_double_free_helper+0x184/0x370 [ 12.703513] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 12.703538] ? __kasan_check_write+0x18/0x20 [ 12.703558] ? __pfx_sched_clock_cpu+0x10/0x10 [ 12.703578] ? finish_task_switch.isra.0+0x153/0x700 [ 12.703604] mempool_page_alloc_double_free+0xe8/0x140 [ 12.703628] ? __pfx_mempool_page_alloc_double_free+0x10/0x10 [ 12.703656] ? __pfx_mempool_alloc_pages+0x10/0x10 [ 12.703675] ? __pfx_mempool_free_pages+0x10/0x10 [ 12.703696] ? __pfx_read_tsc+0x10/0x10 [ 12.703716] ? ktime_get_ts64+0x86/0x230 [ 12.703740] kunit_try_run_case+0x1a5/0x480 [ 12.703762] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.703781] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.703804] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.703828] ? __kthread_parkme+0x82/0x180 [ 12.703847] ? preempt_count_sub+0x50/0x80 [ 12.703869] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.703889] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.703912] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.703936] kthread+0x337/0x6f0 [ 12.703954] ? trace_preempt_on+0x20/0xc0 [ 12.703975] ? __pfx_kthread+0x10/0x10 [ 12.703995] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.704017] ? calculate_sigpending+0x7b/0xa0 [ 12.704039] ? __pfx_kthread+0x10/0x10 [ 12.704060] ret_from_fork+0x116/0x1d0 [ 12.704077] ? __pfx_kthread+0x10/0x10 [ 12.704096] ret_from_fork_asm+0x1a/0x30 [ 12.704126] </TASK> [ 12.704135] [ 12.721634] The buggy address belongs to the physical page: [ 12.722212] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a68 [ 12.722507] flags: 0x200000000000000(node=0|zone=2) [ 12.722808] raw: 0200000000000000 0000000000000000 dead000000000122 0000000000000000 [ 12.723648] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 12.724267] page dumped because: kasan: bad access detected [ 12.724550] [ 12.724636] Memory state around the buggy address: [ 12.724794] ffff888103a67f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.725411] ffff888103a67f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.725819] >ffff888103a68000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.726449] ^ [ 12.726800] ffff888103a68080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.727179] ffff888103a68100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 12.727555] ================================================================== [ 12.631149] ================================================================== [ 12.632339] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 12.632597] Free of addr ffff8881039b7500 by task kunit_try_catch/253 [ 12.633017] [ 12.633249] CPU: 1 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) [ 12.633314] Tainted: [B]=BAD_PAGE, [N]=TEST [ 12.633327] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 12.633419] Call Trace: [ 12.633434] <TASK> [ 12.633450] dump_stack_lvl+0x73/0xb0 [ 12.633478] print_report+0xd1/0x650 [ 12.633502] ? __virt_addr_valid+0x1db/0x2d0 [ 12.633527] ? kasan_complete_mode_report_info+0x64/0x200 [ 12.633550] ? mempool_double_free_helper+0x184/0x370 [ 12.633575] kasan_report_invalid_free+0x10a/0x130 [ 12.633600] ? mempool_double_free_helper+0x184/0x370 [ 12.633627] ? mempool_double_free_helper+0x184/0x370 [ 12.633650] ? mempool_double_free_helper+0x184/0x370 [ 12.633673] check_slab_allocation+0x101/0x130 [ 12.633696] __kasan_mempool_poison_object+0x91/0x1d0 [ 12.633737] mempool_free+0x2ec/0x380 [ 12.633762] mempool_double_free_helper+0x184/0x370 [ 12.633787] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 12.633811] ? update_load_avg+0x1be/0x21b0 [ 12.633840] ? finish_task_switch.isra.0+0x153/0x700 [ 12.633868] mempool_kmalloc_double_free+0xed/0x140 [ 12.633893] ? __pfx_mempool_kmalloc_double_free+0x10/0x10 [ 12.633922] ? __pfx_mempool_kmalloc+0x10/0x10 [ 12.633941] ? __pfx_mempool_kfree+0x10/0x10 [ 12.633964] ? __pfx_read_tsc+0x10/0x10 [ 12.633985] ? ktime_get_ts64+0x86/0x230 [ 12.634010] kunit_try_run_case+0x1a5/0x480 [ 12.634074] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.634094] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 12.634120] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 12.634145] ? __kthread_parkme+0x82/0x180 [ 12.634166] ? preempt_count_sub+0x50/0x80 [ 12.634190] ? __pfx_kunit_try_run_case+0x10/0x10 [ 12.634211] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.634236] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 12.634260] kthread+0x337/0x6f0 [ 12.634279] ? trace_preempt_on+0x20/0xc0 [ 12.634304] ? __pfx_kthread+0x10/0x10 [ 12.634326] ? _raw_spin_unlock_irq+0x47/0x80 [ 12.634349] ? calculate_sigpending+0x7b/0xa0 [ 12.634373] ? __pfx_kthread+0x10/0x10 [ 12.634410] ret_from_fork+0x116/0x1d0 [ 12.634428] ? __pfx_kthread+0x10/0x10 [ 12.634449] ret_from_fork_asm+0x1a/0x30 [ 12.634482] </TASK> [ 12.634493] [ 12.649740] Allocated by task 253: [ 12.650323] kasan_save_stack+0x45/0x70 [ 12.650692] kasan_save_track+0x18/0x40 [ 12.650924] kasan_save_alloc_info+0x3b/0x50 [ 12.651516] __kasan_mempool_unpoison_object+0x1a9/0x200 [ 12.651987] remove_element+0x11e/0x190 [ 12.652485] mempool_alloc_preallocated+0x4d/0x90 [ 12.652658] mempool_double_free_helper+0x8a/0x370 [ 12.653263] mempool_kmalloc_double_free+0xed/0x140 [ 12.654040] kunit_try_run_case+0x1a5/0x480 [ 12.654414] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.654599] kthread+0x337/0x6f0 [ 12.654744] ret_from_fork+0x116/0x1d0 [ 12.655169] ret_from_fork_asm+0x1a/0x30 [ 12.655681] [ 12.655857] Freed by task 253: [ 12.656308] kasan_save_stack+0x45/0x70 [ 12.656722] kasan_save_track+0x18/0x40 [ 12.656905] kasan_save_free_info+0x3f/0x60 [ 12.657094] __kasan_mempool_poison_object+0x131/0x1d0 [ 12.657735] mempool_free+0x2ec/0x380 [ 12.658246] mempool_double_free_helper+0x109/0x370 [ 12.658505] mempool_kmalloc_double_free+0xed/0x140 [ 12.658672] kunit_try_run_case+0x1a5/0x480 [ 12.658831] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 12.659011] kthread+0x337/0x6f0 [ 12.659284] ret_from_fork+0x116/0x1d0 [ 12.659639] ret_from_fork_asm+0x1a/0x30 [ 12.660033] [ 12.660242] The buggy address belongs to the object at ffff8881039b7500 [ 12.660242] which belongs to the cache kmalloc-128 of size 128 [ 12.661295] The buggy address is located 0 bytes inside of [ 12.661295] 128-byte region [ffff8881039b7500, ffff8881039b7580) [ 12.661818] [ 12.661896] The buggy address belongs to the physical page: [ 12.662534] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1039b7 [ 12.663256] flags: 0x200000000000000(node=0|zone=2) [ 12.663758] page_type: f5(slab) [ 12.663979] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 12.664553] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 12.664860] page dumped because: kasan: bad access detected [ 12.665419] [ 12.665657] Memory state around the buggy address: [ 12.666193] ffff8881039b7400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 12.666624] ffff8881039b7480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.666981] >ffff8881039b7500: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 12.667870] ^ [ 12.668261] ffff8881039b7580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 12.668670] ffff8881039b7600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 12.668930] ==================================================================