Hay
Date
July 8, 2025, 4:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.456328] ==================================================================
[   22.456500] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   22.456500] 
[   22.456905] Invalid free of 0x000000006b149176 (in kfence-#92):
[   22.457529]  test_double_free+0x1bc/0x238
[   22.457700]  kunit_try_run_case+0x170/0x3f0
[   22.458297]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.458649]  kthread+0x328/0x630
[   22.458806]  ret_from_fork+0x10/0x20
[   22.458859] 
[   22.459095] kfence-#92: 0x000000006b149176-0x0000000021dc2362, size=32, cache=kmalloc-32
[   22.459095] 
[   22.459435] allocated by task 305 on cpu 0 at 22.454769s (0.004532s ago):
[   22.460037]  test_alloc+0x29c/0x628
[   22.460216]  test_double_free+0xd4/0x238
[   22.460328]  kunit_try_run_case+0x170/0x3f0
[   22.460543]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.460829]  kthread+0x328/0x630
[   22.460960]  ret_from_fork+0x10/0x20
[   22.461063] 
[   22.461090] freed by task 305 on cpu 0 at 22.454853s (0.006233s ago):
[   22.461355]  test_double_free+0x1ac/0x238
[   22.461544]  kunit_try_run_case+0x170/0x3f0
[   22.461687]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.461764]  kthread+0x328/0x630
[   22.461883]  ret_from_fork+0x10/0x20
[   22.462015] 
[   22.462346] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   22.462448] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.462495] Hardware name: linux,dummy-virt (DT)
[   22.462574] ==================================================================
[   22.556792] ==================================================================
[   22.556883] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   22.556883] 
[   22.556942] Invalid free of 0x00000000fb037203 (in kfence-#93):
[   22.556997]  test_double_free+0x100/0x238
[   22.557043]  kunit_try_run_case+0x170/0x3f0
[   22.557088]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.557134]  kthread+0x328/0x630
[   22.557175]  ret_from_fork+0x10/0x20
[   22.557215] 
[   22.557238] kfence-#93: 0x00000000fb037203-0x00000000e8abe1c3, size=32, cache=test
[   22.557238] 
[   22.557292] allocated by task 307 on cpu 1 at 22.556586s (0.000702s ago):
[   22.557369]  test_alloc+0x230/0x628
[   22.557408]  test_double_free+0xd4/0x238
[   22.557448]  kunit_try_run_case+0x170/0x3f0
[   22.557490]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.557536]  kthread+0x328/0x630
[   22.557575]  ret_from_fork+0x10/0x20
[   22.557615] 
[   22.557638] freed by task 307 on cpu 1 at 22.556638s (0.000996s ago):
[   22.557699]  test_double_free+0xf0/0x238
[   22.557737]  kunit_try_run_case+0x170/0x3f0
[   22.557779]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.557824]  kthread+0x328/0x630
[   22.557863]  ret_from_fork+0x10/0x20
[   22.557902] 
[   22.557946] CPU: 1 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   22.558025] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.558055] Hardware name: linux,dummy-virt (DT)
[   22.558090] ==================================================================

[   16.789458] ==================================================================
[   16.789838] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   16.789838] 
[   16.790126] Invalid free of 0x(____ptrval____) (in kfence-#73):
[   16.790325]  test_double_free+0x112/0x260
[   16.790484]  kunit_try_run_case+0x1a5/0x480
[   16.790656]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.791022]  kthread+0x337/0x6f0
[   16.791299]  ret_from_fork+0x41/0x80
[   16.791437]  ret_from_fork_asm+0x1a/0x30
[   16.791691] 
[   16.791770] kfence-#73: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.791770] 
[   16.792068] allocated by task 325 on cpu 1 at 16.789234s (0.002832s ago):
[   16.792624]  test_alloc+0x2a6/0x10f0
[   16.792787]  test_double_free+0xdb/0x260
[   16.792946]  kunit_try_run_case+0x1a5/0x480
[   16.793153]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.793401]  kthread+0x337/0x6f0
[   16.793985]  ret_from_fork+0x41/0x80
[   16.794599]  ret_from_fork_asm+0x1a/0x30
[   16.794897] 
[   16.794986] freed by task 325 on cpu 1 at 16.789286s (0.005697s ago):
[   16.795245]  test_double_free+0xfa/0x260
[   16.795446]  kunit_try_run_case+0x1a5/0x480
[   16.795671]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.796176]  kthread+0x337/0x6f0
[   16.796325]  ret_from_fork+0x41/0x80
[   16.796617]  ret_from_fork_asm+0x1a/0x30
[   16.796940] 
[   16.797076] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   16.797652] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.797838] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.798237] ==================================================================
[   16.685405] ==================================================================
[   16.685841] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   16.685841] 
[   16.686293] Invalid free of 0x(____ptrval____) (in kfence-#72):
[   16.686871]  test_double_free+0x1d3/0x260
[   16.687122]  kunit_try_run_case+0x1a5/0x480
[   16.687697]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.687968]  kthread+0x337/0x6f0
[   16.688161]  ret_from_fork+0x41/0x80
[   16.688546]  ret_from_fork_asm+0x1a/0x30
[   16.688773] 
[   16.688887] kfence-#72: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.688887] 
[   16.689281] allocated by task 323 on cpu 0 at 16.685211s (0.004066s ago):
[   16.689919]  test_alloc+0x364/0x10f0
[   16.690113]  test_double_free+0xdb/0x260
[   16.690443]  kunit_try_run_case+0x1a5/0x480
[   16.690789]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.691166]  kthread+0x337/0x6f0
[   16.691351]  ret_from_fork+0x41/0x80
[   16.691757]  ret_from_fork_asm+0x1a/0x30
[   16.692072] 
[   16.692197] freed by task 323 on cpu 0 at 16.685270s (0.006924s ago):
[   16.692711]  test_double_free+0x1e0/0x260
[   16.693021]  kunit_try_run_case+0x1a5/0x480
[   16.693313]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.693683]  kthread+0x337/0x6f0
[   16.693883]  ret_from_fork+0x41/0x80
[   16.694183]  ret_from_fork_asm+0x1a/0x30
[   16.694483] 
[   16.694621] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   16.695128] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.695520] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.696014] ==================================================================