Hay
Date
July 20, 2025, 11:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   21.770352] ==================================================================
[   21.770444] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   21.770444] 
[   21.770505] Invalid free of 0x000000004d9a2ee5 (in kfence-#95):
[   21.770560]  test_invalid_addr_free+0xec/0x238
[   21.770609]  kunit_try_run_case+0x170/0x3f0
[   21.770658]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.770701]  kthread+0x328/0x630
[   21.770740]  ret_from_fork+0x10/0x20
[   21.770780] 
[   21.770804] kfence-#95: 0x0000000029e57c91-0x000000004f407d36, size=32, cache=test
[   21.770804] 
[   21.770857] allocated by task 309 on cpu 0 at 21.770226s (0.000627s ago):
[   21.770933]  test_alloc+0x230/0x628
[   21.770973]  test_invalid_addr_free+0xd4/0x238
[   21.771015]  kunit_try_run_case+0x170/0x3f0
[   21.771056]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.771100]  kthread+0x328/0x630
[   21.771135]  ret_from_fork+0x10/0x20
[   21.771175] 
[   21.771217] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   21.771295] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.771326] Hardware name: linux,dummy-virt (DT)
[   21.771363] ==================================================================
[   21.666400] ==================================================================
[   21.666489] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   21.666489] 
[   21.666551] Invalid free of 0x00000000f76833db (in kfence-#94):
[   21.666608]  test_invalid_addr_free+0x1ac/0x238
[   21.666661]  kunit_try_run_case+0x170/0x3f0
[   21.666706]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.666751]  kthread+0x328/0x630
[   21.666791]  ret_from_fork+0x10/0x20
[   21.666833] 
[   21.666857] kfence-#94: 0x000000001e423cd7-0x000000003ce62d90, size=32, cache=kmalloc-32
[   21.666857] 
[   21.666924] allocated by task 307 on cpu 0 at 21.666249s (0.000672s ago):
[   21.666987]  test_alloc+0x29c/0x628
[   21.667029]  test_invalid_addr_free+0xd4/0x238
[   21.667071]  kunit_try_run_case+0x170/0x3f0
[   21.667112]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.667157]  kthread+0x328/0x630
[   21.667194]  ret_from_fork+0x10/0x20
[   21.667235] 
[   21.667283] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   21.667364] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.667395] Hardware name: linux,dummy-virt (DT)
[   21.667431] ==================================================================

[   21.770828] ==================================================================
[   21.770917] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   21.770917] 
[   21.772043] Invalid free of 0x00000000266bc462 (in kfence-#95):
[   21.772253]  test_invalid_addr_free+0xec/0x238
[   21.772303]  kunit_try_run_case+0x170/0x3f0
[   21.772346]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.772390]  kthread+0x328/0x630
[   21.772428]  ret_from_fork+0x10/0x20
[   21.773258] 
[   21.773513] kfence-#95: 0x000000000b737799-0x00000000a7d44460, size=32, cache=test
[   21.773513] 
[   21.773756] allocated by task 309 on cpu 1 at 21.770208s (0.003543s ago):
[   21.773822]  test_alloc+0x230/0x628
[   21.774213]  test_invalid_addr_free+0xd4/0x238
[   21.774706]  kunit_try_run_case+0x170/0x3f0
[   21.774894]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.775203]  kthread+0x328/0x630
[   21.775323]  ret_from_fork+0x10/0x20
[   21.775366] 
[   21.775413] CPU: 1 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   21.776180] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.776581] Hardware name: linux,dummy-virt (DT)
[   21.776946] ==================================================================
[   21.662766] ==================================================================
[   21.662879] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   21.662879] 
[   21.662950] Invalid free of 0x00000000a7135413 (in kfence-#94):
[   21.663039]  test_invalid_addr_free+0x1ac/0x238
[   21.663095]  kunit_try_run_case+0x170/0x3f0
[   21.663161]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.663483]  kthread+0x328/0x630
[   21.663664]  ret_from_fork+0x10/0x20
[   21.663717] 
[   21.663743] kfence-#94: 0x00000000bda553cb-0x000000001ebd3ae6, size=32, cache=kmalloc-32
[   21.663743] 
[   21.663977] allocated by task 307 on cpu 1 at 21.662300s (0.001668s ago):
[   21.664496]  test_alloc+0x29c/0x628
[   21.664590]  test_invalid_addr_free+0xd4/0x238
[   21.664660]  kunit_try_run_case+0x170/0x3f0
[   21.664702]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.664747]  kthread+0x328/0x630
[   21.665155]  ret_from_fork+0x10/0x20
[   21.665219] 
[   21.665277] CPU: 1 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   21.665701] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.666127] Hardware name: linux,dummy-virt (DT)
[   21.666514] ==================================================================

[   18.819459] ==================================================================
[   18.819821] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   18.819821] 
[   18.820251] Invalid free of 0x(____ptrval____) (in kfence-#79):
[   18.820907]  test_invalid_addr_free+0x1e1/0x260
[   18.821363]  kunit_try_run_case+0x1a5/0x480
[   18.821581]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.822043]  kthread+0x337/0x6f0
[   18.822177]  ret_from_fork+0x116/0x1d0
[   18.822361]  ret_from_fork_asm+0x1a/0x30
[   18.822574] 
[   18.822668] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.822668] 
[   18.823171] allocated by task 325 on cpu 1 at 18.819331s (0.003837s ago):
[   18.823483]  test_alloc+0x364/0x10f0
[   18.823621]  test_invalid_addr_free+0xdb/0x260
[   18.823972]  kunit_try_run_case+0x1a5/0x480
[   18.824377]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.824955]  kthread+0x337/0x6f0
[   18.825203]  ret_from_fork+0x116/0x1d0
[   18.825338]  ret_from_fork_asm+0x1a/0x30
[   18.825490] 
[   18.825588] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   18.825909] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.826046] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.826310] ==================================================================
[   18.923495] ==================================================================
[   18.923936] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   18.923936] 
[   18.924265] Invalid free of 0x(____ptrval____) (in kfence-#80):
[   18.924670]  test_invalid_addr_free+0xfb/0x260
[   18.924898]  kunit_try_run_case+0x1a5/0x480
[   18.925100]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.925299]  kthread+0x337/0x6f0
[   18.925437]  ret_from_fork+0x116/0x1d0
[   18.925643]  ret_from_fork_asm+0x1a/0x30
[   18.925870] 
[   18.925993] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.925993] 
[   18.926425] allocated by task 327 on cpu 0 at 18.923374s (0.003049s ago):
[   18.926774]  test_alloc+0x2a6/0x10f0
[   18.926951]  test_invalid_addr_free+0xdb/0x260
[   18.927186]  kunit_try_run_case+0x1a5/0x480
[   18.927410]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.927654]  kthread+0x337/0x6f0
[   18.927775]  ret_from_fork+0x116/0x1d0
[   18.928410]  ret_from_fork_asm+0x1a/0x30
[   18.928682] 
[   18.928799] CPU: 0 UID: 0 PID: 327 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   18.929245] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.929445] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.930301] ==================================================================

[   18.721284] ==================================================================
[   18.721684] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   18.721684] 
[   18.722053] Invalid free of 0x(____ptrval____) (in kfence-#78):
[   18.722703]  test_invalid_addr_free+0xfb/0x260
[   18.723203]  kunit_try_run_case+0x1a5/0x480
[   18.723499]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.723988]  kthread+0x337/0x6f0
[   18.724266]  ret_from_fork+0x116/0x1d0
[   18.724531]  ret_from_fork_asm+0x1a/0x30
[   18.724724] 
[   18.724815] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.724815] 
[   18.725208] allocated by task 327 on cpu 1 at 18.721189s (0.004017s ago):
[   18.725857]  test_alloc+0x2a6/0x10f0
[   18.726135]  test_invalid_addr_free+0xdb/0x260
[   18.726564]  kunit_try_run_case+0x1a5/0x480
[   18.726878]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.727226]  kthread+0x337/0x6f0
[   18.727528]  ret_from_fork+0x116/0x1d0
[   18.727740]  ret_from_fork_asm+0x1a/0x30
[   18.728051] 
[   18.728288] CPU: 1 UID: 0 PID: 327 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   18.728832] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.729172] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.729647] ==================================================================
[   18.617315] ==================================================================
[   18.617713] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   18.617713] 
[   18.618064] Invalid free of 0x(____ptrval____) (in kfence-#77):
[   18.618405]  test_invalid_addr_free+0x1e1/0x260
[   18.618591]  kunit_try_run_case+0x1a5/0x480
[   18.618805]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.619062]  kthread+0x337/0x6f0
[   18.619225]  ret_from_fork+0x116/0x1d0
[   18.619366]  ret_from_fork_asm+0x1a/0x30
[   18.619570] 
[   18.619669] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.619669] 
[   18.620039] allocated by task 325 on cpu 1 at 18.617203s (0.002834s ago):
[   18.620382]  test_alloc+0x364/0x10f0
[   18.620577]  test_invalid_addr_free+0xdb/0x260
[   18.620802]  kunit_try_run_case+0x1a5/0x480
[   18.620982]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.621235]  kthread+0x337/0x6f0
[   18.621464]  ret_from_fork+0x116/0x1d0
[   18.621615]  ret_from_fork_asm+0x1a/0x30
[   18.621808] 
[   18.621931] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   18.622349] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.622556] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.623197] ==================================================================