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

Environment
qemu-arm64
qemu-x86_64

[   26.998705] ==================================================================
[   26.998881] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   26.998881] 
[   26.998954] Corrupted memory at 0x00000000c425f889 [ ! ] (in kfence-#125):
[   26.999097]  test_corruption+0x1d8/0x378
[   26.999148]  kunit_try_run_case+0x170/0x3f0
[   26.999194]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.999237]  kthread+0x328/0x630
[   26.999275]  ret_from_fork+0x10/0x20
[   26.999316] 
[   26.999340] kfence-#125: 0x00000000981caff8-0x0000000042922ab0, size=32, cache=test
[   26.999340] 
[   26.999397] allocated by task 313 on cpu 1 at 26.998444s (0.000949s ago):
[   26.999461]  test_alloc+0x230/0x628
[   26.999503]  test_corruption+0x198/0x378
[   26.999542]  kunit_try_run_case+0x170/0x3f0
[   26.999582]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.999624]  kthread+0x328/0x630
[   26.999658]  ret_from_fork+0x10/0x20
[   26.999697] 
[   26.999720] freed by task 313 on cpu 1 at 26.998547s (0.001168s ago):
[   26.999780]  test_corruption+0x1d8/0x378
[   26.999819]  kunit_try_run_case+0x170/0x3f0
[   26.999858]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.999899]  kthread+0x328/0x630
[   26.999936]  ret_from_fork+0x10/0x20
[   26.999973] 
[   27.000036] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   27.000120] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.000151] Hardware name: linux,dummy-virt (DT)
[   27.000189] ==================================================================
[   26.039049] ==================================================================
[   26.039203] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   26.039203] 
[   26.039312] Corrupted memory at 0x000000004cc7d2bd [ ! ] (in kfence-#116):
[   26.039558]  test_corruption+0x284/0x378
[   26.039658]  kunit_try_run_case+0x170/0x3f0
[   26.039744]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.039838]  kthread+0x328/0x630
[   26.039913]  ret_from_fork+0x10/0x20
[   26.039997] 
[   26.041956] kfence-#116: 0x000000001b18b019-0x00000000ece36b74, size=32, cache=kmalloc-32
[   26.041956] 
[   26.042421] allocated by task 311 on cpu 1 at 26.038575s (0.003835s ago):
[   26.042548]  test_alloc+0x29c/0x628
[   26.043098]  test_corruption+0x198/0x378
[   26.043329]  kunit_try_run_case+0x170/0x3f0
[   26.043467]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.043566]  kthread+0x328/0x630
[   26.043648]  ret_from_fork+0x10/0x20
[   26.043731] 
[   26.043779] freed by task 311 on cpu 1 at 26.038743s (0.005029s ago):
[   26.043911]  test_corruption+0x284/0x378
[   26.043995]  kunit_try_run_case+0x170/0x3f0
[   26.044097]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.044192]  kthread+0x328/0x630
[   26.044266]  ret_from_fork+0x10/0x20
[   26.044353] 
[   26.044441] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   26.044628] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.044699] Hardware name: linux,dummy-virt (DT)
[   26.046766] ==================================================================
[   25.827731] ==================================================================
[   25.827872] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   25.827872] 
[   25.827998] Corrupted memory at 0x0000000006475993 [ ! . . . . . . . . . . . . . . . ] (in kfence-#114):
[   25.831110]  test_corruption+0x278/0x378
[   25.831274]  kunit_try_run_case+0x170/0x3f0
[   25.831398]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.831481]  kthread+0x328/0x630
[   25.831564]  ret_from_fork+0x10/0x20
[   25.831643] 
[   25.831696] kfence-#114: 0x000000009988ab19-0x0000000002d7c4e0, size=32, cache=kmalloc-32
[   25.831696] 
[   25.832045] allocated by task 311 on cpu 1 at 25.827267s (0.004768s ago):
[   25.832534]  test_alloc+0x29c/0x628
[   25.832773]  test_corruption+0xdc/0x378
[   25.832894]  kunit_try_run_case+0x170/0x3f0
[   25.833069]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.833420]  kthread+0x328/0x630
[   25.833729]  ret_from_fork+0x10/0x20
[   25.833905] 
[   25.833963] freed by task 311 on cpu 1 at 25.827447s (0.006502s ago):
[   25.834304]  test_corruption+0x278/0x378
[   25.834506]  kunit_try_run_case+0x170/0x3f0
[   25.834882]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.835200]  kthread+0x328/0x630
[   25.835325]  ret_from_fork+0x10/0x20
[   25.835565] 
[   25.835746] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   25.835926] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.836317] Hardware name: linux,dummy-virt (DT)
[   25.836436] ==================================================================
[   26.582931] ==================================================================
[   26.583148] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   26.583148] 
[   26.583313] Corrupted memory at 0x00000000333e2cad [ ! . . . . . . . . . . . . . . . ] (in kfence-#121):
[   26.584244]  test_corruption+0x120/0x378
[   26.584359]  kunit_try_run_case+0x170/0x3f0
[   26.585253]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.585441]  kthread+0x328/0x630
[   26.585529]  ret_from_fork+0x10/0x20
[   26.586214] 
[   26.586476] kfence-#121: 0x000000005598e5d9-0x000000000d9ade3a, size=32, cache=test
[   26.586476] 
[   26.586669] allocated by task 313 on cpu 1 at 26.582634s (0.004025s ago):
[   26.586925]  test_alloc+0x230/0x628
[   26.587019]  test_corruption+0xdc/0x378
[   26.587886]  kunit_try_run_case+0x170/0x3f0
[   26.588099]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.588251]  kthread+0x328/0x630
[   26.588963]  ret_from_fork+0x10/0x20
[   26.589203] 
[   26.589311] freed by task 313 on cpu 1 at 26.582751s (0.006550s ago):
[   26.589874]  test_corruption+0x120/0x378
[   26.590038]  kunit_try_run_case+0x170/0x3f0
[   26.590332]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.590700]  kthread+0x328/0x630
[   26.590846]  ret_from_fork+0x10/0x20
[   26.590937] 
[   26.591723] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   26.592140] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.592213] Hardware name: linux,dummy-virt (DT)
[   26.592969] ==================================================================

[   18.209693] ==================================================================
[   18.210089] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.210089] 
[   18.210464] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#84):
[   18.211023]  test_corruption+0x131/0x3e0
[   18.211278]  kunit_try_run_case+0x1a5/0x480
[   18.211498]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.211703]  kthread+0x337/0x6f0
[   18.211882]  ret_from_fork+0x116/0x1d0
[   18.212046]  ret_from_fork_asm+0x1a/0x30
[   18.212202] 
[   18.212295] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.212295] 
[   18.212694] allocated by task 331 on cpu 0 at 18.209584s (0.003109s ago):
[   18.213008]  test_alloc+0x2a6/0x10f0
[   18.213147]  test_corruption+0xe6/0x3e0
[   18.213319]  kunit_try_run_case+0x1a5/0x480
[   18.213614]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.213807]  kthread+0x337/0x6f0
[   18.213983]  ret_from_fork+0x116/0x1d0
[   18.214222]  ret_from_fork_asm+0x1a/0x30
[   18.214382] 
[   18.214479] freed by task 331 on cpu 0 at 18.209620s (0.004857s ago):
[   18.214706]  test_corruption+0x131/0x3e0
[   18.214847]  kunit_try_run_case+0x1a5/0x480
[   18.215052]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.215328]  kthread+0x337/0x6f0
[   18.215502]  ret_from_fork+0x116/0x1d0
[   18.215669]  ret_from_fork_asm+0x1a/0x30
[   18.215809] 
[   18.215906] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.216732] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.216925] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.217277] ==================================================================
[   17.689838] ==================================================================
[   17.690236] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.690236] 
[   17.691097] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#79):
[   17.691766]  test_corruption+0x2d2/0x3e0
[   17.691977]  kunit_try_run_case+0x1a5/0x480
[   17.692214]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.692491]  kthread+0x337/0x6f0
[   17.692674]  ret_from_fork+0x116/0x1d0
[   17.692842]  ret_from_fork_asm+0x1a/0x30
[   17.693033] 
[   17.693130] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.693130] 
[   17.693526] allocated by task 329 on cpu 1 at 17.689602s (0.003922s ago):
[   17.693829]  test_alloc+0x364/0x10f0
[   17.694004]  test_corruption+0xe6/0x3e0
[   17.694792]  kunit_try_run_case+0x1a5/0x480
[   17.694973]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.695488]  kthread+0x337/0x6f0
[   17.695719]  ret_from_fork+0x116/0x1d0
[   17.695977]  ret_from_fork_asm+0x1a/0x30
[   17.696253] 
[   17.696353] freed by task 329 on cpu 1 at 17.689687s (0.006663s ago):
[   17.696754]  test_corruption+0x2d2/0x3e0
[   17.696996]  kunit_try_run_case+0x1a5/0x480
[   17.697307]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.697628]  kthread+0x337/0x6f0
[   17.697769]  ret_from_fork+0x116/0x1d0
[   17.698033]  ret_from_fork_asm+0x1a/0x30
[   17.698298] 
[   17.698576] CPU: 1 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.699102] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.699431] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.699857] ==================================================================
[   18.313746] ==================================================================
[   18.314137] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.314137] 
[   18.314619] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#85):
[   18.314959]  test_corruption+0x216/0x3e0
[   18.315170]  kunit_try_run_case+0x1a5/0x480
[   18.315373]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.315708]  kthread+0x337/0x6f0
[   18.315855]  ret_from_fork+0x116/0x1d0
[   18.316036]  ret_from_fork_asm+0x1a/0x30
[   18.316220] 
[   18.316294] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.316294] 
[   18.316912] allocated by task 331 on cpu 0 at 18.313626s (0.003284s ago):
[   18.317258]  test_alloc+0x2a6/0x10f0
[   18.317393]  test_corruption+0x1cb/0x3e0
[   18.317708]  kunit_try_run_case+0x1a5/0x480
[   18.317886]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.318061]  kthread+0x337/0x6f0
[   18.318197]  ret_from_fork+0x116/0x1d0
[   18.318528]  ret_from_fork_asm+0x1a/0x30
[   18.318734] 
[   18.318830] freed by task 331 on cpu 0 at 18.313682s (0.005146s ago):
[   18.319146]  test_corruption+0x216/0x3e0
[   18.319368]  kunit_try_run_case+0x1a5/0x480
[   18.319529]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.319774]  kthread+0x337/0x6f0
[   18.319950]  ret_from_fork+0x116/0x1d0
[   18.320103]  ret_from_fork_asm+0x1a/0x30
[   18.320253] 
[   18.320349] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.320909] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.321052] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.321385] ==================================================================
[   18.002161] ==================================================================
[   18.002592] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.002592] 
[   18.002883] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#82):
[   18.003456]  test_corruption+0x2df/0x3e0
[   18.003612]  kunit_try_run_case+0x1a5/0x480
[   18.003835]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.004102]  kthread+0x337/0x6f0
[   18.004300]  ret_from_fork+0x116/0x1d0
[   18.004473]  ret_from_fork_asm+0x1a/0x30
[   18.004650] 
[   18.004726] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.004726] 
[   18.005138] allocated by task 329 on cpu 1 at 18.001900s (0.003236s ago):
[   18.005490]  test_alloc+0x364/0x10f0
[   18.005658]  test_corruption+0x1cb/0x3e0
[   18.005838]  kunit_try_run_case+0x1a5/0x480
[   18.006032]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.006218]  kthread+0x337/0x6f0
[   18.006383]  ret_from_fork+0x116/0x1d0
[   18.006640]  ret_from_fork_asm+0x1a/0x30
[   18.006817] 
[   18.006891] freed by task 329 on cpu 1 at 18.001986s (0.004903s ago):
[   18.007284]  test_corruption+0x2df/0x3e0
[   18.007428]  kunit_try_run_case+0x1a5/0x480
[   18.007624]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.007881]  kthread+0x337/0x6f0
[   18.008054]  ret_from_fork+0x116/0x1d0
[   18.008277]  ret_from_fork_asm+0x1a/0x30
[   18.008476] 
[   18.008595] CPU: 1 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.009011] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.009165] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.009471] ==================================================================