Hay
Date
April 22, 2025, 11:09 a.m.

Environment
qemu-arm64
qemu-x86_64
rk3399-rock-pi-4b

[   20.025072] ==================================================================
[   20.025213] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8
[   20.025896] Free of addr fff00000c4284a00 by task kunit_try_catch/237
[   20.026175] 
[   20.026294] CPU: 0 UID: 0 PID: 237 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   20.026720] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.026790] Hardware name: linux,dummy-virt (DT)
[   20.026873] Call trace:
[   20.027102]  show_stack+0x20/0x38 (C)
[   20.027467]  dump_stack_lvl+0x8c/0xd0
[   20.027738]  print_report+0x118/0x608
[   20.027859]  kasan_report_invalid_free+0xc0/0xe8
[   20.027961]  check_slab_allocation+0xd4/0x108
[   20.028362]  __kasan_mempool_poison_object+0x78/0x150
[   20.028502]  mempool_free+0x28c/0x328
[   20.028624]  mempool_double_free_helper+0x150/0x2e8
[   20.028739]  mempool_kmalloc_double_free+0xc0/0x118
[   20.028897]  kunit_try_run_case+0x170/0x3f0
[   20.029185]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.029406]  kthread+0x328/0x630
[   20.029663]  ret_from_fork+0x10/0x20
[   20.029925] 
[   20.030095] Allocated by task 237:
[   20.030339]  kasan_save_stack+0x3c/0x68
[   20.030468]  kasan_save_track+0x20/0x40
[   20.031025]  kasan_save_alloc_info+0x40/0x58
[   20.031428]  __kasan_mempool_unpoison_object+0x11c/0x180
[   20.031591]  remove_element+0x130/0x1f8
[   20.031689]  mempool_alloc_preallocated+0x58/0xc0
[   20.031850]  mempool_double_free_helper+0x94/0x2e8
[   20.032511]  mempool_kmalloc_double_free+0xc0/0x118
[   20.033142]  kunit_try_run_case+0x170/0x3f0
[   20.033251]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.033357]  kthread+0x328/0x630
[   20.033439]  ret_from_fork+0x10/0x20
[   20.033541] 
[   20.034164] Freed by task 237:
[   20.034303]  kasan_save_stack+0x3c/0x68
[   20.034584]  kasan_save_track+0x20/0x40
[   20.034883]  kasan_save_free_info+0x4c/0x78
[   20.034976]  __kasan_mempool_poison_object+0xc0/0x150
[   20.035076]  mempool_free+0x28c/0x328
[   20.035161]  mempool_double_free_helper+0x100/0x2e8
[   20.035255]  mempool_kmalloc_double_free+0xc0/0x118
[   20.035346]  kunit_try_run_case+0x170/0x3f0
[   20.035434]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.035542]  kthread+0x328/0x630
[   20.035614]  ret_from_fork+0x10/0x20
[   20.035674] 
[   20.035711] The buggy address belongs to the object at fff00000c4284a00
[   20.035711]  which belongs to the cache kmalloc-128 of size 128
[   20.037246] The buggy address is located 0 bytes inside of
[   20.037246]  128-byte region [fff00000c4284a00, fff00000c4284a80)
[   20.037560] 
[   20.037619] The buggy address belongs to the physical page:
[   20.037702] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x104284
[   20.037877] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   20.037985] page_type: f5(slab)
[   20.038073] raw: 0bfffe0000000000 fff00000c0001a00 dead000000000122 0000000000000000
[   20.038195] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   20.038293] page dumped because: kasan: bad access detected
[   20.038376] 
[   20.038435] Memory state around the buggy address:
[   20.038549]  fff00000c4284900: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   20.038696]  fff00000c4284980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   20.038830] >fff00000c4284a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   20.038919]                    ^
[   20.039002]  fff00000c4284a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   20.039137]  fff00000c4284b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.039262] ==================================================================
[   20.059279] ==================================================================
[   20.059528] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8
[   20.059673] Free of addr fff00000c7a94000 by task kunit_try_catch/239
[   20.059768] 
[   20.060036] CPU: 0 UID: 0 PID: 239 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   20.060266] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.060339] Hardware name: linux,dummy-virt (DT)
[   20.060411] Call trace:
[   20.060467]  show_stack+0x20/0x38 (C)
[   20.060605]  dump_stack_lvl+0x8c/0xd0
[   20.060716]  print_report+0x118/0x608
[   20.060823]  kasan_report_invalid_free+0xc0/0xe8
[   20.060939]  __kasan_mempool_poison_object+0x14c/0x150
[   20.061053]  mempool_free+0x28c/0x328
[   20.061167]  mempool_double_free_helper+0x150/0x2e8
[   20.061288]  mempool_kmalloc_large_double_free+0xc0/0x118
[   20.061421]  kunit_try_run_case+0x170/0x3f0
[   20.061554]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.061930]  kthread+0x328/0x630
[   20.062140]  ret_from_fork+0x10/0x20
[   20.062302] 
[   20.062349] The buggy address belongs to the physical page:
[   20.062425] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107a94
[   20.062569] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   20.062677] flags: 0xbfffe0000000040(head|node=0|zone=2|lastcpupid=0x1ffff)
[   20.063042] page_type: f8(unknown)
[   20.063176] raw: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000
[   20.063309] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   20.063420] head: 0bfffe0000000040 0000000000000000 dead000000000122 0000000000000000
[   20.063548] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   20.063699] head: 0bfffe0000000002 ffffc1ffc31ea501 00000000ffffffff 00000000ffffffff
[   20.063798] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
[   20.064031] page dumped because: kasan: bad access detected
[   20.064105] 
[   20.064166] Memory state around the buggy address:
[   20.064241]  fff00000c7a93f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.064363]  fff00000c7a93f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.064484] >fff00000c7a94000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.064624]                    ^
[   20.064697]  fff00000c7a94080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.064832]  fff00000c7a94100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.064922] ==================================================================
[   20.089920] ==================================================================
[   20.090058] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8
[   20.090188] Free of addr fff00000c7a94000 by task kunit_try_catch/241
[   20.090286] 
[   20.090370] CPU: 0 UID: 0 PID: 241 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   20.090570] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.090634] Hardware name: linux,dummy-virt (DT)
[   20.090707] Call trace:
[   20.090765]  show_stack+0x20/0x38 (C)
[   20.090882]  dump_stack_lvl+0x8c/0xd0
[   20.090987]  print_report+0x118/0x608
[   20.091088]  kasan_report_invalid_free+0xc0/0xe8
[   20.091201]  __kasan_mempool_poison_pages+0xe0/0xe8
[   20.091931]  mempool_free+0x24c/0x328
[   20.092043]  mempool_double_free_helper+0x150/0x2e8
[   20.092161]  mempool_page_alloc_double_free+0xbc/0x118
[   20.092291]  kunit_try_run_case+0x170/0x3f0
[   20.092411]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.092541]  kthread+0x328/0x630
[   20.092647]  ret_from_fork+0x10/0x20
[   20.092824] 
[   20.092893] The buggy address belongs to the physical page:
[   20.092961] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107a94
[   20.093201] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff)
[   20.093454] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   20.093701] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   20.093994] page dumped because: kasan: bad access detected
[   20.094077] 
[   20.094122] Memory state around the buggy address:
[   20.094201]  fff00000c7a93f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.094301]  fff00000c7a93f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.094483] >fff00000c7a94000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.094599]                    ^
[   20.094667]  fff00000c7a94080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.094959]  fff00000c7a94100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.095089] ==================================================================

[   20.650126] ==================================================================
[   20.651098] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370
[   20.651606] Free of addr ffff888103ba4000 by task kunit_try_catch/257
[   20.652222] 
[   20.652555] CPU: 0 UID: 0 PID: 257 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   20.652683] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.652714] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.652770] Call Trace:
[   20.652802]  <TASK>
[   20.652844]  dump_stack_lvl+0x73/0xb0
[   20.652926]  print_report+0xd1/0x650
[   20.652997]  ? __virt_addr_valid+0x1db/0x2d0
[   20.653078]  ? kasan_addr_to_slab+0x11/0xa0
[   20.653145]  ? mempool_double_free_helper+0x184/0x370
[   20.653228]  kasan_report_invalid_free+0x10a/0x130
[   20.653307]  ? mempool_double_free_helper+0x184/0x370
[   20.653396]  ? mempool_double_free_helper+0x184/0x370
[   20.653761]  __kasan_mempool_poison_object+0x1b3/0x1d0
[   20.653864]  mempool_free+0x2ec/0x380
[   20.653949]  mempool_double_free_helper+0x184/0x370
[   20.654030]  ? __pfx_mempool_double_free_helper+0x10/0x10
[   20.654108]  ? dequeue_entities+0xa24/0x1790
[   20.654237]  ? finish_task_switch.isra.0+0x153/0x700
[   20.654332]  mempool_kmalloc_large_double_free+0xed/0x140
[   20.654414]  ? __pfx_mempool_kmalloc_large_double_free+0x10/0x10
[   20.654660]  ? dequeue_task_fair+0x166/0x4e0
[   20.654744]  ? __pfx_mempool_kmalloc+0x10/0x10
[   20.654808]  ? __pfx_mempool_kfree+0x10/0x10
[   20.654881]  ? __pfx_read_tsc+0x10/0x10
[   20.654924]  ? ktime_get_ts64+0x86/0x230
[   20.654964]  kunit_try_run_case+0x1a5/0x480
[   20.655000]  ? __pfx_kunit_try_run_case+0x10/0x10
[   20.655032]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   20.655067]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   20.655102]  ? __kthread_parkme+0x82/0x180
[   20.655132]  ? preempt_count_sub+0x50/0x80
[   20.655166]  ? __pfx_kunit_try_run_case+0x10/0x10
[   20.655198]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.655228]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   20.655260]  kthread+0x337/0x6f0
[   20.655289]  ? trace_preempt_on+0x20/0xc0
[   20.655324]  ? __pfx_kthread+0x10/0x10
[   20.655354]  ? _raw_spin_unlock_irq+0x47/0x80
[   20.655385]  ? calculate_sigpending+0x7b/0xa0
[   20.655416]  ? __pfx_kthread+0x10/0x10
[   20.655553]  ret_from_fork+0x41/0x80
[   20.655616]  ? __pfx_kthread+0x10/0x10
[   20.655650]  ret_from_fork_asm+0x1a/0x30
[   20.655697]  </TASK>
[   20.655712] 
[   20.674915] The buggy address belongs to the physical page:
[   20.675678] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103ba4
[   20.676243] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   20.676844] flags: 0x200000000000040(head|node=0|zone=2)
[   20.677812] page_type: f8(unknown)
[   20.678434] raw: 0200000000000040 0000000000000000 dead000000000122 0000000000000000
[   20.679374] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   20.681174] head: 0200000000000040 0000000000000000 dead000000000122 0000000000000000
[   20.682150] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   20.682413] head: 0200000000000002 ffffea00040ee901 00000000ffffffff 00000000ffffffff
[   20.683374] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
[   20.684288] page dumped because: kasan: bad access detected
[   20.685003] 
[   20.685266] Memory state around the buggy address:
[   20.686161]  ffff888103ba3f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.686793]  ffff888103ba3f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.687710] >ffff888103ba4000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.688296]                    ^
[   20.688933]  ffff888103ba4080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.689976]  ffff888103ba4100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.690464] ==================================================================
[   20.696799] ==================================================================
[   20.698029] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370
[   20.698612] Free of addr ffff888103cb8000 by task kunit_try_catch/259
[   20.699874] 
[   20.700227] CPU: 1 UID: 0 PID: 259 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   20.700322] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.700363] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.700455] Call Trace:
[   20.700553]  <TASK>
[   20.700608]  dump_stack_lvl+0x73/0xb0
[   20.700690]  print_report+0xd1/0x650
[   20.700765]  ? __virt_addr_valid+0x1db/0x2d0
[   20.700836]  ? kasan_addr_to_slab+0x11/0xa0
[   20.700911]  ? mempool_double_free_helper+0x184/0x370
[   20.700950]  kasan_report_invalid_free+0x10a/0x130
[   20.700985]  ? mempool_double_free_helper+0x184/0x370
[   20.701022]  ? mempool_double_free_helper+0x184/0x370
[   20.701054]  __kasan_mempool_poison_pages+0x115/0x130
[   20.701088]  mempool_free+0x290/0x380
[   20.701122]  mempool_double_free_helper+0x184/0x370
[   20.701155]  ? __pfx_mempool_double_free_helper+0x10/0x10
[   20.701188]  ? dequeue_entities+0xa24/0x1790
[   20.701221]  ? irqentry_exit+0x2a/0x60
[   20.701247]  ? sysvec_apic_timer_interrupt+0x50/0x90
[   20.701285]  mempool_page_alloc_double_free+0xe8/0x140
[   20.701314]  ? __pfx_mempool_page_alloc_double_free+0x10/0x10
[   20.701347]  ? __pfx_mempool_alloc_pages+0x10/0x10
[   20.701373]  ? __pfx_mempool_free_pages+0x10/0x10
[   20.701402]  ? __pfx_mempool_page_alloc_double_free+0x10/0x10
[   20.701435]  ? __pfx_mempool_page_alloc_double_free+0x10/0x10
[   20.701638]  kunit_try_run_case+0x1a5/0x480
[   20.701729]  ? __pfx_kunit_try_run_case+0x10/0x10
[   20.701790]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   20.701829]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   20.701863]  ? __kthread_parkme+0x82/0x180
[   20.701896]  ? preempt_count_sub+0x50/0x80
[   20.701930]  ? __pfx_kunit_try_run_case+0x10/0x10
[   20.701962]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.701993]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   20.702024]  kthread+0x337/0x6f0
[   20.702053]  ? trace_preempt_on+0x20/0xc0
[   20.702086]  ? __pfx_kthread+0x10/0x10
[   20.702117]  ? _raw_spin_unlock_irq+0x47/0x80
[   20.702146]  ? calculate_sigpending+0x7b/0xa0
[   20.702177]  ? __pfx_kthread+0x10/0x10
[   20.702206]  ret_from_fork+0x41/0x80
[   20.702236]  ? __pfx_kthread+0x10/0x10
[   20.702266]  ret_from_fork_asm+0x1a/0x30
[   20.702309]  </TASK>
[   20.702324] 
[   20.726914] The buggy address belongs to the physical page:
[   20.727259] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103cb8
[   20.732262] flags: 0x200000000000000(node=0|zone=2)
[   20.734384] raw: 0200000000000000 0000000000000000 dead000000000122 0000000000000000
[   20.736173] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   20.737062] page dumped because: kasan: bad access detected
[   20.737757] 
[   20.737925] Memory state around the buggy address:
[   20.738946]  ffff888103cb7f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.739538]  ffff888103cb7f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.740346] >ffff888103cb8000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.741232]                    ^
[   20.741615]  ffff888103cb8080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.742140]  ffff888103cb8100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   20.742675] ==================================================================
[   20.578776] ==================================================================
[   20.579525] BUG: KASAN: double-free in mempool_double_free_helper+0x184/0x370
[   20.580434] Free of addr ffff888103c6a500 by task kunit_try_catch/255
[   20.581027] 
[   20.581289] CPU: 1 UID: 0 PID: 255 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   20.581395] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.581414] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.581466] Call Trace:
[   20.581486]  <TASK>
[   20.582446]  dump_stack_lvl+0x73/0xb0
[   20.582512]  print_report+0xd1/0x650
[   20.582591]  ? __virt_addr_valid+0x1db/0x2d0
[   20.582670]  ? kasan_complete_mode_report_info+0x64/0x200
[   20.582737]  ? mempool_double_free_helper+0x184/0x370
[   20.582778]  kasan_report_invalid_free+0x10a/0x130
[   20.582816]  ? mempool_double_free_helper+0x184/0x370
[   20.582855]  ? mempool_double_free_helper+0x184/0x370
[   20.582888]  ? mempool_double_free_helper+0x184/0x370
[   20.582923]  check_slab_allocation+0x101/0x130
[   20.582956]  __kasan_mempool_poison_object+0x91/0x1d0
[   20.582991]  mempool_free+0x2ec/0x380
[   20.583018]  ? mempool_alloc_preallocated+0x5b/0x90
[   20.583053]  mempool_double_free_helper+0x184/0x370
[   20.583088]  ? __pfx_mempool_double_free_helper+0x10/0x10
[   20.583122]  ? dequeue_entities+0xa24/0x1790
[   20.583156]  ? finish_task_switch.isra.0+0x153/0x700
[   20.583195]  mempool_kmalloc_double_free+0xed/0x140
[   20.583227]  ? __pfx_mempool_kmalloc_double_free+0x10/0x10
[   20.583259]  ? dequeue_task_fair+0x166/0x4e0
[   20.583289]  ? __pfx_mempool_kmalloc+0x10/0x10
[   20.583314]  ? __pfx_mempool_kfree+0x10/0x10
[   20.583344]  ? __pfx_read_tsc+0x10/0x10
[   20.583371]  ? ktime_get_ts64+0x86/0x230
[   20.583406]  kunit_try_run_case+0x1a5/0x480
[   20.583471]  ? __pfx_kunit_try_run_case+0x10/0x10
[   20.583564]  ? _raw_spin_lock_irqsave+0xa1/0x100
[   20.583618]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[   20.583654]  ? __kthread_parkme+0x82/0x180
[   20.583685]  ? preempt_count_sub+0x50/0x80
[   20.583717]  ? __pfx_kunit_try_run_case+0x10/0x10
[   20.583751]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.583783]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[   20.583814]  kthread+0x337/0x6f0
[   20.583842]  ? trace_preempt_on+0x20/0xc0
[   20.583875]  ? __pfx_kthread+0x10/0x10
[   20.583904]  ? _raw_spin_unlock_irq+0x47/0x80
[   20.583935]  ? calculate_sigpending+0x7b/0xa0
[   20.583964]  ? __pfx_kthread+0x10/0x10
[   20.583994]  ret_from_fork+0x41/0x80
[   20.584022]  ? __pfx_kthread+0x10/0x10
[   20.584053]  ret_from_fork_asm+0x1a/0x30
[   20.584097]  </TASK>
[   20.584111] 
[   20.611450] Allocated by task 255:
[   20.612613]  kasan_save_stack+0x45/0x70
[   20.612963]  kasan_save_track+0x18/0x40
[   20.613382]  kasan_save_alloc_info+0x3b/0x50
[   20.614232]  __kasan_mempool_unpoison_object+0x1a9/0x200
[   20.615196]  remove_element+0x11e/0x190
[   20.615539]  mempool_alloc_preallocated+0x4d/0x90
[   20.616127]  mempool_double_free_helper+0x8a/0x370
[   20.617188]  mempool_kmalloc_double_free+0xed/0x140
[   20.617726]  kunit_try_run_case+0x1a5/0x480
[   20.618064]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.618568]  kthread+0x337/0x6f0
[   20.619309]  ret_from_fork+0x41/0x80
[   20.619716]  ret_from_fork_asm+0x1a/0x30
[   20.620134] 
[   20.620343] Freed by task 255:
[   20.620957]  kasan_save_stack+0x45/0x70
[   20.621741]  kasan_save_track+0x18/0x40
[   20.622287]  kasan_save_free_info+0x3f/0x60
[   20.623058]  __kasan_mempool_poison_object+0x131/0x1d0
[   20.623460]  mempool_free+0x2ec/0x380
[   20.624200]  mempool_double_free_helper+0x109/0x370
[   20.624827]  mempool_kmalloc_double_free+0xed/0x140
[   20.625206]  kunit_try_run_case+0x1a5/0x480
[   20.626150]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.626584]  kthread+0x337/0x6f0
[   20.627256]  ret_from_fork+0x41/0x80
[   20.628319]  ret_from_fork_asm+0x1a/0x30
[   20.628782] 
[   20.629006] The buggy address belongs to the object at ffff888103c6a500
[   20.629006]  which belongs to the cache kmalloc-128 of size 128
[   20.630305] The buggy address is located 0 bytes inside of
[   20.630305]  128-byte region [ffff888103c6a500, ffff888103c6a580)
[   20.632036] 
[   20.632204] The buggy address belongs to the physical page:
[   20.632842] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103c6a
[   20.633801] flags: 0x200000000000000(node=0|zone=2)
[   20.634201] page_type: f5(slab)
[   20.635031] raw: 0200000000000000 ffff888100041a00 dead000000000122 0000000000000000
[   20.636060] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   20.636805] page dumped because: kasan: bad access detected
[   20.637672] 
[   20.637838] Memory state around the buggy address:
[   20.638199]  ffff888103c6a400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   20.638810]  ffff888103c6a480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   20.640310] >ffff888103c6a500: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   20.640881]                    ^
[   20.641211]  ffff888103c6a580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   20.642302]  ffff888103c6a600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   20.643199] ==================================================================

[   21.579152] ==================================================================
[   21.580310] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8
[   21.580996] Free of addr ffff00000eb18000 by task kunit_try_catch/295
[   21.581594] 
[   21.581760] CPU: 1 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   21.581811] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.581825] Hardware name: Radxa ROCK Pi 4B (DT)
[   21.581843] Call trace:
[   21.581855]  show_stack+0x20/0x38 (C)
[   21.581889]  dump_stack_lvl+0x8c/0xd0
[   21.581920]  print_report+0x118/0x608
[   21.581949]  kasan_report_invalid_free+0xc0/0xe8
[   21.581981]  __kasan_mempool_poison_object+0x14c/0x150
[   21.582015]  mempool_free+0x28c/0x328
[   21.582050]  mempool_double_free_helper+0x150/0x2e8
[   21.582086]  mempool_kmalloc_large_double_free+0xc0/0x118
[   21.582125]  kunit_try_run_case+0x170/0x3f0
[   21.582162]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.582202]  kthread+0x328/0x630
[   21.582236]  ret_from_fork+0x10/0x20
[   21.582270] 
[   21.588840] The buggy address belongs to the physical page:
[   21.589358] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xeb18
[   21.590083] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[   21.590789] flags: 0x3fffe0000000040(head|node=0|zone=0|lastcpupid=0x1ffff)
[   21.591441] page_type: f8(unknown)
[   21.591778] raw: 03fffe0000000040 0000000000000000 dead000000000122 0000000000000000
[   21.592494] raw: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   21.593210] head: 03fffe0000000040 0000000000000000 dead000000000122 0000000000000000
[   21.593933] head: 0000000000000000 0000000000000000 00000001f8000000 0000000000000000
[   21.594657] head: 03fffe0000000002 fffffdffc03ac601 00000000ffffffff 00000000ffffffff
[   21.595380] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
[   21.596095] page dumped because: kasan: bad access detected
[   21.596611] 
[   21.596763] Memory state around the buggy address:
[   21.597212]  ffff00000eb17f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   21.597878]  ffff00000eb17f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   21.598543] >ffff00000eb18000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   21.599205]                    ^
[   21.599516]  ffff00000eb18080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   21.600182]  ffff00000eb18100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   21.600844] ==================================================================
[   21.543815] ==================================================================
[   21.544897] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8
[   21.545577] Free of addr ffff00000e73a600 by task kunit_try_catch/293
[   21.546175] 
[   21.546339] CPU: 2 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   21.546388] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.546402] Hardware name: Radxa ROCK Pi 4B (DT)
[   21.546419] Call trace:
[   21.546430]  show_stack+0x20/0x38 (C)
[   21.546463]  dump_stack_lvl+0x8c/0xd0
[   21.546493]  print_report+0x118/0x608
[   21.546523]  kasan_report_invalid_free+0xc0/0xe8
[   21.546554]  check_slab_allocation+0xd4/0x108
[   21.546584]  __kasan_mempool_poison_object+0x78/0x150
[   21.546616]  mempool_free+0x28c/0x328
[   21.546651]  mempool_double_free_helper+0x150/0x2e8
[   21.546689]  mempool_kmalloc_double_free+0xc0/0x118
[   21.546725]  kunit_try_run_case+0x170/0x3f0
[   21.546760]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.546799]  kthread+0x328/0x630
[   21.546832]  ret_from_fork+0x10/0x20
[   21.546864] 
[   21.553764] Allocated by task 293:
[   21.554090]  kasan_save_stack+0x3c/0x68
[   21.554463]  kasan_save_track+0x20/0x40
[   21.554835]  kasan_save_alloc_info+0x40/0x58
[   21.555248]  __kasan_mempool_unpoison_object+0x11c/0x180
[   21.555752]  remove_element+0x130/0x1f8
[   21.556129]  mempool_alloc_preallocated+0x58/0xc0
[   21.556582]  mempool_double_free_helper+0x94/0x2e8
[   21.557045]  mempool_kmalloc_double_free+0xc0/0x118
[   21.557514]  kunit_try_run_case+0x170/0x3f0
[   21.557919]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.558444]  kthread+0x328/0x630
[   21.558766]  ret_from_fork+0x10/0x20
[   21.559117] 
[   21.559270] Freed by task 293:
[   21.559564]  kasan_save_stack+0x3c/0x68
[   21.559937]  kasan_save_track+0x20/0x40
[   21.560308]  kasan_save_free_info+0x4c/0x78
[   21.560712]  __kasan_mempool_poison_object+0xc0/0x150
[   21.561193]  mempool_free+0x28c/0x328
[   21.561554]  mempool_double_free_helper+0x100/0x2e8
[   21.562025]  mempool_kmalloc_double_free+0xc0/0x118
[   21.562495]  kunit_try_run_case+0x170/0x3f0
[   21.562901]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.563426]  kthread+0x328/0x630
[   21.563748]  ret_from_fork+0x10/0x20
[   21.564098] 
[   21.564250] The buggy address belongs to the object at ffff00000e73a600
[   21.564250]  which belongs to the cache kmalloc-128 of size 128
[   21.565384] The buggy address is located 0 bytes inside of
[   21.565384]  128-byte region [ffff00000e73a600, ffff00000e73a680)
[   21.566435] 
[   21.566590] The buggy address belongs to the physical page:
[   21.567108] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xe73a
[   21.567834] flags: 0x3fffe0000000000(node=0|zone=0|lastcpupid=0x1ffff)
[   21.568446] page_type: f5(slab)
[   21.568761] raw: 03fffe0000000000 ffff000000402a00 dead000000000122 0000000000000000
[   21.569478] raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000
[   21.570185] page dumped because: kasan: bad access detected
[   21.570700] 
[   21.570852] Memory state around the buggy address:
[   21.571301]  ffff00000e73a500: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   21.571968]  ffff00000e73a580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   21.572634] >ffff00000e73a600: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   21.573296]                    ^
[   21.573606]  ffff00000e73a680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[   21.574272]  ffff00000e73a700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   21.574935] ==================================================================
[   21.603877] ==================================================================
[   21.605032] BUG: KASAN: double-free in mempool_double_free_helper+0x150/0x2e8
[   21.605702] Free of addr ffff000002598000 by task kunit_try_catch/297
[   21.606289] 
[   21.606445] CPU: 2 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   21.606482] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.606493] Hardware name: Radxa ROCK Pi 4B (DT)
[   21.606506] Call trace:
[   21.606515]  show_stack+0x20/0x38 (C)
[   21.606539]  dump_stack_lvl+0x8c/0xd0
[   21.606562]  print_report+0x118/0x608
[   21.606583]  kasan_report_invalid_free+0xc0/0xe8
[   21.606606]  __kasan_mempool_poison_pages+0xe0/0xe8
[   21.606628]  mempool_free+0x24c/0x328
[   21.606655]  mempool_double_free_helper+0x150/0x2e8
[   21.606681]  mempool_page_alloc_double_free+0xbc/0x118
[   21.606704]  kunit_try_run_case+0x170/0x3f0
[   21.606731]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.606759]  kthread+0x328/0x630
[   21.606785]  ret_from_fork+0x10/0x20
[   21.606809] 
[   21.613281] The buggy address belongs to the physical page:
[   21.613788] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2598
[   21.614501] flags: 0x3fffe0000000000(node=0|zone=0|lastcpupid=0x1ffff)
[   21.615109] raw: 03fffe0000000000 0000000000000000 dead000000000122 0000000000000000
[   21.615813] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[   21.616509] page dumped because: kasan: bad access detected
[   21.617015] 
[   21.617161] Memory state around the buggy address:
[   21.617600]  ffff000002597f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   21.618254]  ffff000002597f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   21.618909] >ffff000002598000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   21.619560]                    ^
[   21.619861]  ffff000002598080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   21.620515]  ffff000002598100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   21.621165] ==================================================================