Date
June 16, 2025, 7:07 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 22.042101] ================================================================== [ 22.042192] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 22.042275] Free of addr fff00000c788c000 by task kunit_try_catch/248 [ 22.042334] [ 22.042393] CPU: 0 UID: 0 PID: 248 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT [ 22.042506] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.042540] Hardware name: linux,dummy-virt (DT) [ 22.042583] Call trace: [ 22.042615] show_stack+0x20/0x38 (C) [ 22.042682] dump_stack_lvl+0x8c/0xd0 [ 22.043208] print_report+0x118/0x608 [ 22.043341] kasan_report_invalid_free+0xc0/0xe8 [ 22.043503] __kasan_mempool_poison_pages+0xe0/0xe8 [ 22.043918] mempool_free+0x24c/0x328 [ 22.044141] mempool_double_free_helper+0x150/0x2e8 [ 22.044285] mempool_page_alloc_double_free+0xbc/0x118 [ 22.044347] kunit_try_run_case+0x170/0x3f0 [ 22.044685] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 22.044872] kthread+0x328/0x630 [ 22.044936] ret_from_fork+0x10/0x20 [ 22.045126] [ 22.045157] The buggy address belongs to the physical page: [ 22.045280] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10788c [ 22.045348] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 22.045598] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 22.045777] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 22.045999] page dumped because: kasan: bad access detected [ 22.046239] [ 22.046277] Memory state around the buggy address: [ 22.046322] fff00000c788bf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 22.046801] fff00000c788bf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 22.046954] >fff00000c788c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 22.047012] ^ [ 22.047382] fff00000c788c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 22.047610] fff00000c788c100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 22.047766] ================================================================== [ 22.026527] ================================================================== [ 22.026650] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 22.026745] Free of addr fff00000c788c000 by task kunit_try_catch/246 [ 22.026801] [ 22.026872] CPU: 0 UID: 0 PID: 246 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT [ 22.029114] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.029205] Hardware name: linux,dummy-virt (DT) [ 22.029249] Call trace: [ 22.029281] show_stack+0x20/0x38 (C) [ 22.029462] dump_stack_lvl+0x8c/0xd0 [ 22.029529] print_report+0x118/0x608 [ 22.029602] kasan_report_invalid_free+0xc0/0xe8 [ 22.029907] __kasan_mempool_poison_object+0x14c/0x150 [ 22.030278] mempool_free+0x28c/0x328 [ 22.030350] mempool_double_free_helper+0x150/0x2e8 [ 22.030414] mempool_kmalloc_large_double_free+0xc0/0x118 [ 22.030579] kunit_try_run_case+0x170/0x3f0 [ 22.030718] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 22.030786] kthread+0x328/0x630 [ 22.030937] ret_from_fork+0x10/0x20 [ 22.031091] [ 22.031161] The buggy address belongs to the physical page: [ 22.031215] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10788c [ 22.031501] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 22.031692] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff) [ 22.031780] page_type: f8(unknown) [ 22.031985] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 22.032201] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 22.032382] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000 [ 22.032474] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 22.032588] head: 0bfffe0000000002 ffffc1ffc31e2301 00000000ffffffff 00000000ffffffff [ 22.032744] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 22.032858] page dumped because: kasan: bad access detected [ 22.032929] [ 22.032953] Memory state around the buggy address: [ 22.033207] fff00000c788bf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 22.033381] fff00000c788bf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 22.033445] >fff00000c788c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 22.033495] ^ [ 22.033535] fff00000c788c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 22.033663] fff00000c788c100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 22.033887] ================================================================== [ 21.984565] ================================================================== [ 21.984686] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8 [ 21.984783] Free of addr fff00000c6408e00 by task kunit_try_catch/244 [ 21.986966] [ 21.987367] CPU: 0 UID: 0 PID: 244 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT [ 21.988272] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.988689] Hardware name: linux,dummy-virt (DT) [ 21.988741] Call trace: [ 21.988776] show_stack+0x20/0x38 (C) [ 21.988865] dump_stack_lvl+0x8c/0xd0 [ 21.988925] print_report+0x118/0x608 [ 21.988985] kasan_report_invalid_free+0xc0/0xe8 [ 21.989045] check_slab_allocation+0xd4/0x108 [ 21.989103] __kasan_mempool_poison_object+0x78/0x150 [ 21.989163] mempool_free+0x28c/0x328 [ 21.989221] mempool_double_free_helper+0x150/0x2e8 [ 21.989282] mempool_kmalloc_double_free+0xc0/0x118 [ 21.989341] kunit_try_run_case+0x170/0x3f0 [ 21.989401] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.989465] kthread+0x328/0x630 [ 21.990889] ret_from_fork+0x10/0x20 [ 21.991112] [ 21.991144] Allocated by task 244: [ 21.991368] kasan_save_stack+0x3c/0x68 [ 21.991779] kasan_save_track+0x20/0x40 [ 21.991830] kasan_save_alloc_info+0x40/0x58 [ 21.992300] __kasan_mempool_unpoison_object+0x11c/0x180 [ 21.992366] remove_element+0x130/0x1f8 [ 21.992615] mempool_alloc_preallocated+0x58/0xc0 [ 21.993027] mempool_double_free_helper+0x94/0x2e8 [ 21.993086] mempool_kmalloc_double_free+0xc0/0x118 [ 21.993135] kunit_try_run_case+0x170/0x3f0 [ 21.993433] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.993504] kthread+0x328/0x630 [ 21.993547] ret_from_fork+0x10/0x20 [ 21.993677] [ 21.993736] Freed by task 244: [ 21.993905] kasan_save_stack+0x3c/0x68 [ 21.993980] kasan_save_track+0x20/0x40 [ 21.994030] kasan_save_free_info+0x4c/0x78 [ 21.994263] __kasan_mempool_poison_object+0xc0/0x150 [ 21.994382] mempool_free+0x28c/0x328 [ 21.994428] mempool_double_free_helper+0x100/0x2e8 [ 21.995038] mempool_kmalloc_double_free+0xc0/0x118 [ 21.995106] kunit_try_run_case+0x170/0x3f0 [ 21.995154] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.995207] kthread+0x328/0x630 [ 21.995641] ret_from_fork+0x10/0x20 [ 21.995898] [ 21.996035] The buggy address belongs to the object at fff00000c6408e00 [ 21.996035] which belongs to the cache kmalloc-128 of size 128 [ 21.996134] The buggy address is located 0 bytes inside of [ 21.996134] 128-byte region [fff00000c6408e00, fff00000c6408e80) [ 21.996203] [ 21.996947] The buggy address belongs to the physical page: [ 21.997070] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106408 [ 21.997153] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.997223] page_type: f5(slab) [ 21.997738] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000 [ 21.997871] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 21.998343] page dumped because: kasan: bad access detected [ 21.998450] [ 21.998537] Memory state around the buggy address: [ 21.998620] fff00000c6408d00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 21.998788] fff00000c6408d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.998967] >fff00000c6408e00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 21.999019] ^ [ 21.999059] fff00000c6408e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 21.999112] fff00000c6408f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.999162] ==================================================================
[ 13.186948] ================================================================== [ 13.187358] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 13.188491] Free of addr ffff888102bec000 by task kunit_try_catch/264 [ 13.189493] [ 13.189847] CPU: 1 UID: 0 PID: 264 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) [ 13.189916] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.189940] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.189963] Call Trace: [ 13.189977] <TASK> [ 13.189996] dump_stack_lvl+0x73/0xb0 [ 13.190028] print_report+0xd1/0x650 [ 13.190050] ? __virt_addr_valid+0x1db/0x2d0 [ 13.190074] ? kasan_addr_to_slab+0x11/0xa0 [ 13.190094] ? mempool_double_free_helper+0x184/0x370 [ 13.190117] kasan_report_invalid_free+0x10a/0x130 [ 13.190141] ? mempool_double_free_helper+0x184/0x370 [ 13.190166] ? mempool_double_free_helper+0x184/0x370 [ 13.190188] __kasan_mempool_poison_pages+0x115/0x130 [ 13.190212] mempool_free+0x290/0x380 [ 13.190238] mempool_double_free_helper+0x184/0x370 [ 13.190261] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 13.190284] ? __kasan_check_write+0x18/0x20 [ 13.190303] ? __pfx_sched_clock_cpu+0x10/0x10 [ 13.190327] ? finish_task_switch.isra.0+0x153/0x700 [ 13.190353] mempool_page_alloc_double_free+0xe8/0x140 [ 13.190377] ? __pfx_mempool_page_alloc_double_free+0x10/0x10 [ 13.190403] ? __pfx_mempool_alloc_pages+0x10/0x10 [ 13.190425] ? __pfx_mempool_free_pages+0x10/0x10 [ 13.190449] ? __pfx_read_tsc+0x10/0x10 [ 13.190469] ? ktime_get_ts64+0x86/0x230 [ 13.190494] kunit_try_run_case+0x1a5/0x480 [ 13.190519] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.190540] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.190562] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.190583] ? __kthread_parkme+0x82/0x180 [ 13.190603] ? preempt_count_sub+0x50/0x80 [ 13.190625] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.190648] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.190670] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.190692] kthread+0x337/0x6f0 [ 13.190710] ? trace_preempt_on+0x20/0xc0 [ 13.190734] ? __pfx_kthread+0x10/0x10 [ 13.190753] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.190773] ? calculate_sigpending+0x7b/0xa0 [ 13.190797] ? __pfx_kthread+0x10/0x10 [ 13.190818] ret_from_fork+0x116/0x1d0 [ 13.190835] ? __pfx_kthread+0x10/0x10 [ 13.190854] ret_from_fork_asm+0x1a/0x30 [ 13.190885] </TASK> [ 13.190896] [ 13.201362] The buggy address belongs to the physical page: [ 13.201912] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102bec [ 13.202317] flags: 0x200000000000000(node=0|zone=2) [ 13.202558] raw: 0200000000000000 0000000000000000 dead000000000122 0000000000000000 [ 13.202870] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 13.203184] page dumped because: kasan: bad access detected [ 13.203420] [ 13.203822] Memory state around the buggy address: [ 13.204029] ffff888102bebf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 13.204440] ffff888102bebf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 13.204970] >ffff888102bec000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 13.205340] ^ [ 13.205459] ffff888102bec080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 13.205981] ffff888102bec100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 13.206686] ================================================================== [ 13.157393] ================================================================== [ 13.157808] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 13.158379] Free of addr ffff888103a0c000 by task kunit_try_catch/262 [ 13.159034] [ 13.159295] CPU: 0 UID: 0 PID: 262 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) [ 13.159349] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.159361] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.159384] Call Trace: [ 13.159398] <TASK> [ 13.159416] dump_stack_lvl+0x73/0xb0 [ 13.159449] print_report+0xd1/0x650 [ 13.159471] ? __virt_addr_valid+0x1db/0x2d0 [ 13.159496] ? kasan_addr_to_slab+0x11/0xa0 [ 13.159517] ? mempool_double_free_helper+0x184/0x370 [ 13.159541] kasan_report_invalid_free+0x10a/0x130 [ 13.159565] ? mempool_double_free_helper+0x184/0x370 [ 13.159647] ? mempool_double_free_helper+0x184/0x370 [ 13.159675] __kasan_mempool_poison_object+0x1b3/0x1d0 [ 13.159711] mempool_free+0x2ec/0x380 [ 13.159738] mempool_double_free_helper+0x184/0x370 [ 13.159761] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 13.159786] ? __kasan_check_write+0x18/0x20 [ 13.159806] ? __pfx_sched_clock_cpu+0x10/0x10 [ 13.159829] ? finish_task_switch.isra.0+0x153/0x700 [ 13.159856] mempool_kmalloc_large_double_free+0xed/0x140 [ 13.159879] ? __pfx_mempool_kmalloc_large_double_free+0x10/0x10 [ 13.159906] ? __pfx_mempool_kmalloc+0x10/0x10 [ 13.159927] ? __pfx_mempool_kfree+0x10/0x10 [ 13.159960] ? __pfx_read_tsc+0x10/0x10 [ 13.159982] ? ktime_get_ts64+0x86/0x230 [ 13.160006] kunit_try_run_case+0x1a5/0x480 [ 13.160030] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.160051] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.160074] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.160096] ? __kthread_parkme+0x82/0x180 [ 13.160116] ? preempt_count_sub+0x50/0x80 [ 13.160138] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.160160] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.160182] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.160204] kthread+0x337/0x6f0 [ 13.160224] ? trace_preempt_on+0x20/0xc0 [ 13.160247] ? __pfx_kthread+0x10/0x10 [ 13.160267] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.160287] ? calculate_sigpending+0x7b/0xa0 [ 13.160312] ? __pfx_kthread+0x10/0x10 [ 13.160335] ret_from_fork+0x116/0x1d0 [ 13.160353] ? __pfx_kthread+0x10/0x10 [ 13.160372] ret_from_fork_asm+0x1a/0x30 [ 13.160470] </TASK> [ 13.160484] [ 13.173007] The buggy address belongs to the physical page: [ 13.173201] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a0c [ 13.173447] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 13.173666] flags: 0x200000000000040(head|node=0|zone=2) [ 13.173848] page_type: f8(unknown) [ 13.174778] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 13.176555] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 13.177685] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000 [ 13.178910] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000 [ 13.180144] head: 0200000000000002 ffffea00040e8301 00000000ffffffff 00000000ffffffff [ 13.180530] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 [ 13.180993] page dumped because: kasan: bad access detected [ 13.181198] [ 13.181279] Memory state around the buggy address: [ 13.181838] ffff888103a0bf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 13.182329] ffff888103a0bf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 13.182721] >ffff888103a0c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 13.183023] ^ [ 13.183191] ffff888103a0c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 13.183546] ffff888103a0c100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 13.183803] ================================================================== [ 13.121001] ================================================================== [ 13.121599] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370 [ 13.122078] Free of addr ffff888102a34400 by task kunit_try_catch/260 [ 13.122327] [ 13.122454] CPU: 0 UID: 0 PID: 260 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc2-next-20250616 #1 PREEMPT(voluntary) [ 13.122532] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.122545] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.122568] Call Trace: [ 13.122583] <TASK> [ 13.122602] dump_stack_lvl+0x73/0xb0 [ 13.122636] print_report+0xd1/0x650 [ 13.122734] ? __virt_addr_valid+0x1db/0x2d0 [ 13.122769] ? kasan_complete_mode_report_info+0x64/0x200 [ 13.122793] ? mempool_double_free_helper+0x184/0x370 [ 13.122816] kasan_report_invalid_free+0x10a/0x130 [ 13.122840] ? mempool_double_free_helper+0x184/0x370 [ 13.122865] ? mempool_double_free_helper+0x184/0x370 [ 13.122887] ? mempool_double_free_helper+0x184/0x370 [ 13.122909] check_slab_allocation+0x101/0x130 [ 13.122986] __kasan_mempool_poison_object+0x91/0x1d0 [ 13.123014] mempool_free+0x2ec/0x380 [ 13.123044] mempool_double_free_helper+0x184/0x370 [ 13.123067] ? __pfx_mempool_double_free_helper+0x10/0x10 [ 13.123123] ? __kasan_check_write+0x18/0x20 [ 13.123147] ? __pfx_sched_clock_cpu+0x10/0x10 [ 13.123169] ? irqentry_exit+0x2a/0x60 [ 13.123192] ? sysvec_apic_timer_interrupt+0x50/0x90 [ 13.123217] mempool_kmalloc_double_free+0xed/0x140 [ 13.123240] ? __pfx_mempool_kmalloc_double_free+0x10/0x10 [ 13.123265] ? __pfx_mempool_kmalloc+0x10/0x10 [ 13.123288] ? __pfx_mempool_kfree+0x10/0x10 [ 13.123311] ? __pfx_mempool_kmalloc_double_free+0x10/0x10 [ 13.123336] ? __pfx_mempool_kmalloc_double_free+0x10/0x10 [ 13.123361] kunit_try_run_case+0x1a5/0x480 [ 13.123386] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.123456] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.123479] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.123501] ? __kthread_parkme+0x82/0x180 [ 13.123523] ? preempt_count_sub+0x50/0x80 [ 13.123547] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.123570] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.123593] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.123614] kthread+0x337/0x6f0 [ 13.123634] ? trace_preempt_on+0x20/0xc0 [ 13.123658] ? __pfx_kthread+0x10/0x10 [ 13.123678] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.123698] ? calculate_sigpending+0x7b/0xa0 [ 13.123723] ? __pfx_kthread+0x10/0x10 [ 13.123744] ret_from_fork+0x116/0x1d0 [ 13.123763] ? __pfx_kthread+0x10/0x10 [ 13.123783] ret_from_fork_asm+0x1a/0x30 [ 13.123814] </TASK> [ 13.123828] [ 13.138719] Allocated by task 260: [ 13.138989] kasan_save_stack+0x45/0x70 [ 13.139182] kasan_save_track+0x18/0x40 [ 13.139352] kasan_save_alloc_info+0x3b/0x50 [ 13.139896] __kasan_mempool_unpoison_object+0x1a9/0x200 [ 13.140169] remove_element+0x11e/0x190 [ 13.140355] mempool_alloc_preallocated+0x4d/0x90 [ 13.140617] mempool_double_free_helper+0x8a/0x370 [ 13.140828] mempool_kmalloc_double_free+0xed/0x140 [ 13.141047] kunit_try_run_case+0x1a5/0x480 [ 13.141222] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.141948] kthread+0x337/0x6f0 [ 13.142250] ret_from_fork+0x116/0x1d0 [ 13.142538] ret_from_fork_asm+0x1a/0x30 [ 13.142717] [ 13.142800] Freed by task 260: [ 13.142944] kasan_save_stack+0x45/0x70 [ 13.143113] kasan_save_track+0x18/0x40 [ 13.143278] kasan_save_free_info+0x3f/0x60 [ 13.143504] __kasan_mempool_poison_object+0x131/0x1d0 [ 13.143721] mempool_free+0x2ec/0x380 [ 13.143883] mempool_double_free_helper+0x109/0x370 [ 13.144092] mempool_kmalloc_double_free+0xed/0x140 [ 13.144296] kunit_try_run_case+0x1a5/0x480 [ 13.145163] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.145385] kthread+0x337/0x6f0 [ 13.145503] ret_from_fork+0x116/0x1d0 [ 13.145803] ret_from_fork_asm+0x1a/0x30 [ 13.145998] [ 13.146084] The buggy address belongs to the object at ffff888102a34400 [ 13.146084] which belongs to the cache kmalloc-128 of size 128 [ 13.146757] The buggy address is located 0 bytes inside of [ 13.146757] 128-byte region [ffff888102a34400, ffff888102a34480) [ 13.147221] [ 13.147302] The buggy address belongs to the physical page: [ 13.147747] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102a34 [ 13.148077] flags: 0x200000000000000(node=0|zone=2) [ 13.148287] page_type: f5(slab) [ 13.148485] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000 [ 13.148786] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 [ 13.149094] page dumped because: kasan: bad access detected [ 13.149317] [ 13.150169] Memory state around the buggy address: [ 13.150373] ffff888102a34300: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 13.150586] ffff888102a34380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 13.150793] >ffff888102a34400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 13.151269] ^ [ 13.151443] ffff888102a34480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 13.151814] ffff888102a34500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.152248] ==================================================================