Hay
Date
June 8, 2025, 11:09 p.m.

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

[   69.919687] ==================================================================
[   69.919830] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   69.919830] 
[   69.919962] Invalid free of 0x(____ptrval____) (in kfence-#129):
[   69.920066]  test_invalid_addr_free+0x1ac/0x238
[   69.923573]  kunit_try_run_case+0x170/0x3f0
[   69.927740]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.933208]  kthread+0x328/0x630
[   69.936420]  ret_from_fork+0x10/0x20
[   69.939979] 
[   69.941458] kfence-#129: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   69.941458] 
[   69.951096] allocated by task 354 on cpu 0 at 69.919631s (0.031460s ago):
[   69.957876]  test_alloc+0x29c/0x628
[   69.961333]  test_invalid_addr_free+0xd4/0x238
[   69.965760]  kunit_try_run_case+0x170/0x3f0
[   69.969926]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   69.975395]  kthread+0x328/0x630
[   69.978607]  ret_from_fork+0x10/0x20
[   69.982168] 
[   69.983652] CPU: 0 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   69.993550] Tainted: [B]=BAD_PAGE, [N]=TEST
[   69.997705] Hardware name: WinLink E850-96 board (DT)
[   70.002742] ==================================================================
[   70.127662] ==================================================================
[   70.127796] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   70.127796] 
[   70.127936] Invalid free of 0x(____ptrval____) (in kfence-#131):
[   70.128036]  test_invalid_addr_free+0xec/0x238
[   70.131367]  kunit_try_run_case+0x170/0x3f0
[   70.135534]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   70.141002]  kthread+0x328/0x630
[   70.144214]  ret_from_fork+0x10/0x20
[   70.147774] 
[   70.149252] kfence-#131: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   70.149252] 
[   70.158365] allocated by task 356 on cpu 1 at 70.127606s (0.030757s ago):
[   70.165150]  test_alloc+0x230/0x628
[   70.168606]  test_invalid_addr_free+0xd4/0x238
[   70.173033]  kunit_try_run_case+0x170/0x3f0
[   70.177200]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   70.182668]  kthread+0x328/0x630
[   70.185880]  ret_from_fork+0x10/0x20
[   70.189441] 
[   70.190926] CPU: 1 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   70.200824] Tainted: [B]=BAD_PAGE, [N]=TEST
[   70.204978] Hardware name: WinLink E850-96 board (DT)
[   70.210016] ==================================================================

[   32.780649] ==================================================================
[   32.780793] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   32.780793] 
[   32.780916] Invalid free of 0x0000000020f8c6e6 (in kfence-#130):
[   32.781059]  test_invalid_addr_free+0xec/0x238
[   32.781171]  kunit_try_run_case+0x170/0x3f0
[   32.781280]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.781382]  kthread+0x328/0x630
[   32.781479]  ret_from_fork+0x10/0x20
[   32.781578] 
[   32.781637] kfence-#130: 0x00000000bc31ae80-0x000000001879a131, size=32, cache=test
[   32.781637] 
[   32.781760] allocated by task 309 on cpu 0 at 32.780437s (0.001315s ago):
[   32.781907]  test_alloc+0x230/0x628
[   32.782439]  test_invalid_addr_free+0xd4/0x238
[   32.782589]  kunit_try_run_case+0x170/0x3f0
[   32.782706]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.782834]  kthread+0x328/0x630
[   32.782998]  ret_from_fork+0x10/0x20
[   32.783186] 
[   32.783608] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   32.784907] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.785005] Hardware name: linux,dummy-virt (DT)
[   32.785087] ==================================================================
[   32.675158] ==================================================================
[   32.675636] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   32.675636] 
[   32.675837] Invalid free of 0x00000000ae6b650f (in kfence-#129):
[   32.676160]  test_invalid_addr_free+0x1ac/0x238
[   32.676669]  kunit_try_run_case+0x170/0x3f0
[   32.677209]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.677447]  kthread+0x328/0x630
[   32.677583]  ret_from_fork+0x10/0x20
[   32.677694] 
[   32.677764] kfence-#129: 0x000000008c5ab3f3-0x00000000fdf86c18, size=32, cache=kmalloc-32
[   32.677764] 
[   32.677985] allocated by task 307 on cpu 0 at 32.673805s (0.004155s ago):
[   32.678153]  test_alloc+0x29c/0x628
[   32.678286]  test_invalid_addr_free+0xd4/0x238
[   32.678404]  kunit_try_run_case+0x170/0x3f0
[   32.678526]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.678640]  kthread+0x328/0x630
[   32.678740]  ret_from_fork+0x10/0x20
[   32.678904] 
[   32.679952] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   32.680496] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.680581] Hardware name: linux,dummy-virt (DT)
[   32.681109] ==================================================================

[   32.642905] ==================================================================
[   32.643049] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   32.643049] 
[   32.643235] Invalid free of 0x000000005833242b (in kfence-#130):
[   32.643371]  test_invalid_addr_free+0x1ac/0x238
[   32.643499]  kunit_try_run_case+0x170/0x3f0
[   32.643631]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.643863]  kthread+0x328/0x630
[   32.644122]  ret_from_fork+0x10/0x20
[   32.644410] 
[   32.644522] kfence-#130: 0x00000000c01246cd-0x00000000d8c402c2, size=32, cache=kmalloc-32
[   32.644522] 
[   32.644749] allocated by task 307 on cpu 0 at 32.642511s (0.002205s ago):
[   32.644927]  test_alloc+0x29c/0x628
[   32.645085]  test_invalid_addr_free+0xd4/0x238
[   32.645214]  kunit_try_run_case+0x170/0x3f0
[   32.645354]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.645679]  kthread+0x328/0x630
[   32.645851]  ret_from_fork+0x10/0x20
[   32.645968] 
[   32.646293] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   32.646575] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.646657] Hardware name: linux,dummy-virt (DT)
[   32.646809] ==================================================================
[   32.747767] ==================================================================
[   32.748009] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   32.748009] 
[   32.748182] Invalid free of 0x000000004666cfa6 (in kfence-#131):
[   32.748452]  test_invalid_addr_free+0xec/0x238
[   32.748571]  kunit_try_run_case+0x170/0x3f0
[   32.749036]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.749350]  kthread+0x328/0x630
[   32.749521]  ret_from_fork+0x10/0x20
[   32.749890] 
[   32.749958] kfence-#131: 0x00000000fbce6023-0x0000000099519da9, size=32, cache=test
[   32.749958] 
[   32.750096] allocated by task 309 on cpu 0 at 32.747306s (0.002781s ago):
[   32.751013]  test_alloc+0x230/0x628
[   32.751261]  test_invalid_addr_free+0xd4/0x238
[   32.751670]  kunit_try_run_case+0x170/0x3f0
[   32.752024]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.752135]  kthread+0x328/0x630
[   32.752679]  ret_from_fork+0x10/0x20
[   32.752802] 
[   32.753169] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   32.753790] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.754109] Hardware name: linux,dummy-virt (DT)
[   32.754248] ==================================================================

[   28.651394] ==================================================================
[   28.652011] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   28.652011] 
[   28.652867] Invalid free of 0x(____ptrval____) (in kfence-#120):
[   28.653356]  test_invalid_addr_free+0xfb/0x260
[   28.654003]  kunit_try_run_case+0x1a5/0x480
[   28.654478]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.655065]  kthread+0x337/0x6f0
[   28.655518]  ret_from_fork+0x116/0x1d0
[   28.655972]  ret_from_fork_asm+0x1a/0x30
[   28.656439] 
[   28.656729] kfence-#120: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   28.656729] 
[   28.657318] allocated by task 327 on cpu 1 at 28.651198s (0.006114s ago):
[   28.658316]  test_alloc+0x2a6/0x10f0
[   28.658751]  test_invalid_addr_free+0xdb/0x260
[   28.659282]  kunit_try_run_case+0x1a5/0x480
[   28.659975]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.660457]  kthread+0x337/0x6f0
[   28.660910]  ret_from_fork+0x116/0x1d0
[   28.661307]  ret_from_fork_asm+0x1a/0x30
[   28.662016] 
[   28.662331] CPU: 1 UID: 0 PID: 327 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT(voluntary) 
[   28.663365] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.663787] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.664456] ==================================================================
[   28.547399] ==================================================================
[   28.548051] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   28.548051] 
[   28.548725] Invalid free of 0x(____ptrval____) (in kfence-#119):
[   28.549205]  test_invalid_addr_free+0x1e1/0x260
[   28.549697]  kunit_try_run_case+0x1a5/0x480
[   28.550184]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.550691]  kthread+0x337/0x6f0
[   28.551049]  ret_from_fork+0x116/0x1d0
[   28.551483]  ret_from_fork_asm+0x1a/0x30
[   28.551840] 
[   28.552066] kfence-#119: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   28.552066] 
[   28.552805] allocated by task 325 on cpu 1 at 28.547178s (0.005621s ago):
[   28.553670]  test_alloc+0x364/0x10f0
[   28.554017]  test_invalid_addr_free+0xdb/0x260
[   28.554370]  kunit_try_run_case+0x1a5/0x480
[   28.554949]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.555610]  kthread+0x337/0x6f0
[   28.555986]  ret_from_fork+0x116/0x1d0
[   28.556328]  ret_from_fork_asm+0x1a/0x30
[   28.556735] 
[   28.557031] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT(voluntary) 
[   28.558039] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.558940] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.560584] ==================================================================

[   27.667032] ==================================================================
[   27.667629] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   27.667629] 
[   27.668228] Invalid free of 0x(____ptrval____) (in kfence-#113):
[   27.669264]  test_invalid_addr_free+0xfb/0x260
[   27.669699]  kunit_try_run_case+0x1a5/0x480
[   27.670141]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.670743]  kthread+0x337/0x6f0
[   27.671175]  ret_from_fork+0x116/0x1d0
[   27.671581]  ret_from_fork_asm+0x1a/0x30
[   27.672089] 
[   27.672381] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.672381] 
[   27.673150] allocated by task 327 on cpu 0 at 27.666902s (0.006242s ago):
[   27.673765]  test_alloc+0x2a6/0x10f0
[   27.674191]  test_invalid_addr_free+0xdb/0x260
[   27.674677]  kunit_try_run_case+0x1a5/0x480
[   27.675158]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.675682]  kthread+0x337/0x6f0
[   27.676101]  ret_from_fork+0x116/0x1d0
[   27.676579]  ret_from_fork_asm+0x1a/0x30
[   27.677070] 
[   27.677395] CPU: 0 UID: 0 PID: 327 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT(voluntary) 
[   27.678205] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.678719] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.679636] ==================================================================
[   27.563020] ==================================================================
[   27.563607] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   27.563607] 
[   27.564521] Invalid free of 0x(____ptrval____) (in kfence-#112):
[   27.565190]  test_invalid_addr_free+0x1e1/0x260
[   27.566141]  kunit_try_run_case+0x1a5/0x480
[   27.566682]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.567354]  kthread+0x337/0x6f0
[   27.567716]  ret_from_fork+0x116/0x1d0
[   27.568114]  ret_from_fork_asm+0x1a/0x30
[   27.568817] 
[   27.569067] kfence-#112: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.569067] 
[   27.570109] allocated by task 325 on cpu 0 at 27.562850s (0.007254s ago):
[   27.570960]  test_alloc+0x364/0x10f0
[   27.571743]  test_invalid_addr_free+0xdb/0x260
[   27.572118]  kunit_try_run_case+0x1a5/0x480
[   27.572768]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.573468]  kthread+0x337/0x6f0
[   27.573827]  ret_from_fork+0x116/0x1d0
[   27.574582]  ret_from_fork_asm+0x1a/0x30
[   27.574951] 
[   27.575227] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT(voluntary) 
[   27.576344] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.576701] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.577667] ==================================================================

[   26.052670] ==================================================================
[   26.053337] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   26.053337] 
[   26.054081] Invalid free of 0x(____ptrval____) (in kfence-#111):
[   26.054617]  test_invalid_addr_free+0xec/0x238
[   26.055020]  kunit_try_run_case+0x170/0x3f0
[   26.055400]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.055893]  kthread+0x328/0x630
[   26.056187]  ret_from_fork+0x10/0x20
[   26.056512] 
[   26.056652] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   26.056652] 
[   26.057458] allocated by task 362 on cpu 4 at 26.052626s (0.004831s ago):
[   26.058066]  test_alloc+0x230/0x628
[   26.058384]  test_invalid_addr_free+0xd4/0x238
[   26.058785]  kunit_try_run_case+0x170/0x3f0
[   26.059162]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.059652]  kthread+0x328/0x630
[   26.059944]  ret_from_fork+0x10/0x20
[   26.060268] 
[   26.060412] CPU: 4 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   26.061292] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.061665] Hardware name: Radxa ROCK Pi 4B (DT)
[   26.062076] ==================================================================
[   25.948644] ==================================================================
[   25.949312] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   25.949312] 
[   25.950068] Invalid free of 0x(____ptrval____) (in kfence-#110):
[   25.950606]  test_invalid_addr_free+0x1ac/0x238
[   25.951020]  kunit_try_run_case+0x170/0x3f0
[   25.951402]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.951897]  kthread+0x328/0x630
[   25.952193]  ret_from_fork+0x10/0x20
[   25.952521] 
[   25.952662] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   25.952662] 
[   25.953514] allocated by task 360 on cpu 4 at 25.948600s (0.004912s ago):
[   25.954125]  test_alloc+0x29c/0x628
[   25.954445]  test_invalid_addr_free+0xd4/0x238
[   25.954847]  kunit_try_run_case+0x170/0x3f0
[   25.955227]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.955720]  kthread+0x328/0x630
[   25.956015]  ret_from_fork+0x10/0x20
[   25.956339] 
[   25.956486] CPU: 4 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   25.957369] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.957744] Hardware name: Radxa ROCK Pi 4B (DT)
[   25.958157] ==================================================================