Hay
Date
July 4, 2025, 3:11 p.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   67.888864] ==================================================================
[   67.888993] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   67.888993] 
[   67.889131] Invalid free of 0x(____ptrval____) (in kfence-#129):
[   67.889231]  test_invalid_addr_free+0x1ac/0x238
[   67.892739]  kunit_try_run_case+0x170/0x3f0
[   67.896906]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.902375]  kthread+0x328/0x630
[   67.905587]  ret_from_fork+0x10/0x20
[   67.909145] 
[   67.910624] kfence-#129: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   67.910624] 
[   67.920261] allocated by task 356 on cpu 6 at 67.888815s (0.031441s ago):
[   67.927041]  test_alloc+0x29c/0x628
[   67.930501]  test_invalid_addr_free+0xd4/0x238
[   67.934926]  kunit_try_run_case+0x170/0x3f0
[   67.939093]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.944561]  kthread+0x328/0x630
[   67.947773]  ret_from_fork+0x10/0x20
[   67.951335] 
[   67.952820] CPU: 6 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   67.962716] Tainted: [B]=BAD_PAGE, [N]=TEST
[   67.966872] Hardware name: WinLink E850-96 board (DT)
[   67.971909] ==================================================================
[   68.100875] ==================================================================
[   68.101004] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   68.101004] 
[   68.101135] Invalid free of 0x(____ptrval____) (in kfence-#131):
[   68.101239]  test_invalid_addr_free+0xec/0x238
[   68.104576]  kunit_try_run_case+0x170/0x3f0
[   68.108743]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   68.114212]  kthread+0x328/0x630
[   68.117424]  ret_from_fork+0x10/0x20
[   68.120983] 
[   68.122462] kfence-#131: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   68.122462] 
[   68.131575] allocated by task 358 on cpu 7 at 68.100825s (0.030747s ago):
[   68.138354]  test_alloc+0x230/0x628
[   68.141815]  test_invalid_addr_free+0xd4/0x238
[   68.146243]  kunit_try_run_case+0x170/0x3f0
[   68.150409]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   68.155877]  kthread+0x328/0x630
[   68.159089]  ret_from_fork+0x10/0x20
[   68.162651] 
[   68.164136] CPU: 7 UID: 0 PID: 358 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   68.174030] Tainted: [B]=BAD_PAGE, [N]=TEST
[   68.178189] Hardware name: WinLink E850-96 board (DT)
[   68.183225] ==================================================================

[   20.708522] ==================================================================
[   20.708603] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   20.708603] 
[   20.708672] Invalid free of 0x00000000979010a2 (in kfence-#96):
[   20.708724]  test_invalid_addr_free+0xec/0x238
[   20.708766]  kunit_try_run_case+0x170/0x3f0
[   20.708809]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.708854]  kthread+0x328/0x630
[   20.708895]  ret_from_fork+0x10/0x20
[   20.708935] 
[   20.708959] kfence-#96: 0x000000003b77063b-0x00000000b78f1bf2, size=32, cache=test
[   20.708959] 
[   20.709010] allocated by task 314 on cpu 1 at 20.708415s (0.000591s ago):
[   20.709071]  test_alloc+0x230/0x628
[   20.709108]  test_invalid_addr_free+0xd4/0x238
[   20.709148]  kunit_try_run_case+0x170/0x3f0
[   20.709188]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.709232]  kthread+0x328/0x630
[   20.709270]  ret_from_fork+0x10/0x20
[   20.709310] 
[   20.709350] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   20.709426] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.709454] Hardware name: linux,dummy-virt (DT)
[   20.709488] ==================================================================
[   20.604836] ==================================================================
[   20.604900] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   20.604900] 
[   20.604962] Invalid free of 0x00000000e26a7fab (in kfence-#95):
[   20.605013]  test_invalid_addr_free+0x1ac/0x238
[   20.605238]  kunit_try_run_case+0x170/0x3f0
[   20.605408]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.605462]  kthread+0x328/0x630
[   20.605520]  ret_from_fork+0x10/0x20
[   20.605598] 
[   20.605726] kfence-#95: 0x00000000a5d27c5a-0x00000000dcdd7ca3, size=32, cache=kmalloc-32
[   20.605726] 
[   20.605804] allocated by task 312 on cpu 1 at 20.604717s (0.001069s ago):
[   20.605975]  test_alloc+0x29c/0x628
[   20.606023]  test_invalid_addr_free+0xd4/0x238
[   20.606064]  kunit_try_run_case+0x170/0x3f0
[   20.606193]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.606245]  kthread+0x328/0x630
[   20.606523]  ret_from_fork+0x10/0x20
[   20.606581] 
[   20.606637] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   20.606776] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.606828] Hardware name: linux,dummy-virt (DT)
[   20.606891] ==================================================================

[   22.629174] ==================================================================
[   22.629640] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   22.629640] 
[   22.629913] Invalid free of 0x(____ptrval____) (in kfence-#114):
[   22.630196]  test_invalid_addr_free+0xfb/0x260
[   22.630581]  kunit_try_run_case+0x1a5/0x480
[   22.630871]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.631222]  kthread+0x337/0x6f0
[   22.632180]  ret_from_fork+0x41/0x80
[   22.632890]  ret_from_fork_asm+0x1a/0x30
[   22.633242] 
[   22.633450] kfence-#114: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   22.633450] 
[   22.633995] allocated by task 330 on cpu 1 at 22.628944s (0.005046s ago):
[   22.634579]  test_alloc+0x2a6/0x10f0
[   22.634947]  test_invalid_addr_free+0xdb/0x260
[   22.635315]  kunit_try_run_case+0x1a5/0x480
[   22.635709]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.635991]  kthread+0x337/0x6f0
[   22.636325]  ret_from_fork+0x41/0x80
[   22.636557]  ret_from_fork_asm+0x1a/0x30
[   22.636947] 
[   22.637219] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT(voluntary) 
[   22.637838] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.638243] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.638742] ==================================================================
[   22.525180] ==================================================================
[   22.525608] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   22.525608] 
[   22.525824] Invalid free of 0x(____ptrval____) (in kfence-#113):
[   22.525963]  test_invalid_addr_free+0x1e1/0x260
[   22.526107]  kunit_try_run_case+0x1a5/0x480
[   22.526447]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.526891]  kthread+0x337/0x6f0
[   22.527277]  ret_from_fork+0x41/0x80
[   22.527628]  ret_from_fork_asm+0x1a/0x30
[   22.527950] 
[   22.528144] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   22.528144] 
[   22.528737] allocated by task 328 on cpu 0 at 22.524914s (0.003818s ago):
[   22.528996]  test_alloc+0x364/0x10f0
[   22.529193]  test_invalid_addr_free+0xdb/0x260
[   22.529419]  kunit_try_run_case+0x1a5/0x480
[   22.529626]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.529854]  kthread+0x337/0x6f0
[   22.530163]  ret_from_fork+0x41/0x80
[   22.531063]  ret_from_fork_asm+0x1a/0x30
[   22.531836] 
[   22.532119] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT(voluntary) 
[   22.533001] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.533307] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.533709] ==================================================================