Hay
Date
July 6, 2025, 11:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   23.654213] ==================================================================
[   23.654299] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.654299] 
[   23.654362] Corrupted memory at 0x000000009510cd2b [ ! ] (in kfence-#100):
[   23.654496]  test_corruption+0x284/0x378
[   23.654543]  kunit_try_run_case+0x170/0x3f0
[   23.654587]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.654630]  kthread+0x328/0x630
[   23.654668]  ret_from_fork+0x10/0x20
[   23.654707] 
[   23.654732] kfence-#100: 0x00000000d47a417d-0x00000000fa97c2b1, size=32, cache=kmalloc-32
[   23.654732] 
[   23.654785] allocated by task 311 on cpu 1 at 23.653921s (0.000861s ago):
[   23.654845]  test_alloc+0x29c/0x628
[   23.654884]  test_corruption+0x198/0x378
[   23.654925]  kunit_try_run_case+0x170/0x3f0
[   23.654966]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.655009]  kthread+0x328/0x630
[   23.655044]  ret_from_fork+0x10/0x20
[   23.655082] 
[   23.655106] freed by task 311 on cpu 1 at 23.654027s (0.001075s ago):
[   23.655164]  test_corruption+0x284/0x378
[   23.655214]  kunit_try_run_case+0x170/0x3f0
[   23.655254]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.655297]  kthread+0x328/0x630
[   23.655332]  ret_from_fork+0x10/0x20
[   23.655371] 
[   23.655413] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.655485] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.655514] Hardware name: linux,dummy-virt (DT)
[   23.655547] ==================================================================
[   23.758004] ==================================================================
[   23.758096] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   23.758096] 
[   23.758157] Corrupted memory at 0x000000004ddd3146 [ ! . . . . . . . . . . . . . . . ] (in kfence-#101):
[   23.758489]  test_corruption+0x120/0x378
[   23.758537]  kunit_try_run_case+0x170/0x3f0
[   23.758583]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.758630]  kthread+0x328/0x630
[   23.758671]  ret_from_fork+0x10/0x20
[   23.758711] 
[   23.758735] kfence-#101: 0x00000000f2e0d448-0x0000000096f87927, size=32, cache=test
[   23.758735] 
[   23.758790] allocated by task 313 on cpu 1 at 23.757859s (0.000927s ago):
[   23.758851]  test_alloc+0x230/0x628
[   23.758892]  test_corruption+0xdc/0x378
[   23.758932]  kunit_try_run_case+0x170/0x3f0
[   23.758972]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.759016]  kthread+0x328/0x630
[   23.759052]  ret_from_fork+0x10/0x20
[   23.759091] 
[   23.759116] freed by task 313 on cpu 1 at 23.757918s (0.001194s ago):
[   23.759175]  test_corruption+0x120/0x378
[   23.759244]  kunit_try_run_case+0x170/0x3f0
[   23.759284]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.759328]  kthread+0x328/0x630
[   23.759366]  ret_from_fork+0x10/0x20
[   23.759404] 
[   23.759447] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.759522] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.759550] Hardware name: linux,dummy-virt (DT)
[   23.759586] ==================================================================
[   23.862110] ==================================================================
[   23.862216] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   23.862216] 
[   23.862278] Corrupted memory at 0x00000000b69d078d [ ! ] (in kfence-#102):
[   23.862391]  test_corruption+0x1d8/0x378
[   23.862443]  kunit_try_run_case+0x170/0x3f0
[   23.862488]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.862532]  kthread+0x328/0x630
[   23.862569]  ret_from_fork+0x10/0x20
[   23.862608] 
[   23.862633] kfence-#102: 0x000000006ccf22b8-0x000000003be79e7c, size=32, cache=test
[   23.862633] 
[   23.862685] allocated by task 313 on cpu 1 at 23.861962s (0.000719s ago):
[   23.862745]  test_alloc+0x230/0x628
[   23.862784]  test_corruption+0x198/0x378
[   23.862825]  kunit_try_run_case+0x170/0x3f0
[   23.862865]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.862907]  kthread+0x328/0x630
[   23.862944]  ret_from_fork+0x10/0x20
[   23.862982] 
[   23.863004] freed by task 313 on cpu 1 at 23.862023s (0.000978s ago):
[   23.863064]  test_corruption+0x1d8/0x378
[   23.863103]  kunit_try_run_case+0x170/0x3f0
[   23.863142]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.863186]  kthread+0x328/0x630
[   23.863236]  ret_from_fork+0x10/0x20
[   23.863275] 
[   23.863317] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.863390] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.863419] Hardware name: linux,dummy-virt (DT)
[   23.863455] ==================================================================
[   23.550231] ==================================================================
[   23.550341] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   23.550341] 
[   23.550409] Corrupted memory at 0x00000000ebe134e6 [ ! . . . . . . . . . . . . . . . ] (in kfence-#99):
[   23.551540]  test_corruption+0x278/0x378
[   23.551592]  kunit_try_run_case+0x170/0x3f0
[   23.551638]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.551683]  kthread+0x328/0x630
[   23.551722]  ret_from_fork+0x10/0x20
[   23.551763] 
[   23.551787] kfence-#99: 0x00000000346a2afe-0x000000001800d295, size=32, cache=kmalloc-32
[   23.551787] 
[   23.551844] allocated by task 311 on cpu 1 at 23.549926s (0.001914s ago):
[   23.551907]  test_alloc+0x29c/0x628
[   23.551948]  test_corruption+0xdc/0x378
[   23.551988]  kunit_try_run_case+0x170/0x3f0
[   23.552028]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.552071]  kthread+0x328/0x630
[   23.552108]  ret_from_fork+0x10/0x20
[   23.552147] 
[   23.552170] freed by task 311 on cpu 1 at 23.550034s (0.002132s ago):
[   23.552241]  test_corruption+0x278/0x378
[   23.552283]  kunit_try_run_case+0x170/0x3f0
[   23.552323]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.552367]  kthread+0x328/0x630
[   23.552404]  ret_from_fork+0x10/0x20
[   23.552443] 
[   23.552488] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.552563] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.552594] Hardware name: linux,dummy-virt (DT)
[   23.552631] ==================================================================

[   18.073041] ==================================================================
[   18.073416] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.073416] 
[   18.073984] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#81):
[   18.074681]  test_corruption+0x2df/0x3e0
[   18.074849]  kunit_try_run_case+0x1a5/0x480
[   18.075076]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.075318]  kthread+0x337/0x6f0
[   18.075494]  ret_from_fork+0x116/0x1d0
[   18.075682]  ret_from_fork_asm+0x1a/0x30
[   18.075878] 
[   18.075993] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.075993] 
[   18.076386] allocated by task 328 on cpu 1 at 18.072795s (0.003589s ago):
[   18.076639]  test_alloc+0x364/0x10f0
[   18.076827]  test_corruption+0x1cb/0x3e0
[   18.077040]  kunit_try_run_case+0x1a5/0x480
[   18.077248]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.077462]  kthread+0x337/0x6f0
[   18.077788]  ret_from_fork+0x116/0x1d0
[   18.077985]  ret_from_fork_asm+0x1a/0x30
[   18.078170] 
[   18.078259] freed by task 328 on cpu 1 at 18.072866s (0.005391s ago):
[   18.078915]  test_corruption+0x2df/0x3e0
[   18.079301]  kunit_try_run_case+0x1a5/0x480
[   18.079511]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.079746]  kthread+0x337/0x6f0
[   18.079930]  ret_from_fork+0x116/0x1d0
[   18.080515]  ret_from_fork_asm+0x1a/0x30
[   18.080717] 
[   18.080823] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.081524] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.081804] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.082295] ==================================================================
[   18.176878] ==================================================================
[   18.177407] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.177407] 
[   18.177794] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#82):
[   18.178417]  test_corruption+0x131/0x3e0
[   18.178620]  kunit_try_run_case+0x1a5/0x480
[   18.178840]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.179137]  kthread+0x337/0x6f0
[   18.179275]  ret_from_fork+0x116/0x1d0
[   18.179448]  ret_from_fork_asm+0x1a/0x30
[   18.179638] 
[   18.179744] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.179744] 
[   18.180061] allocated by task 330 on cpu 0 at 18.176750s (0.003309s ago):
[   18.180389]  test_alloc+0x2a6/0x10f0
[   18.180643]  test_corruption+0xe6/0x3e0
[   18.180781]  kunit_try_run_case+0x1a5/0x480
[   18.181004]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.181324]  kthread+0x337/0x6f0
[   18.181497]  ret_from_fork+0x116/0x1d0
[   18.181635]  ret_from_fork_asm+0x1a/0x30
[   18.181776] 
[   18.181873] freed by task 330 on cpu 0 at 18.176808s (0.005063s ago):
[   18.182191]  test_corruption+0x131/0x3e0
[   18.182380]  kunit_try_run_case+0x1a5/0x480
[   18.182527]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.183038]  kthread+0x337/0x6f0
[   18.183272]  ret_from_fork+0x116/0x1d0
[   18.183444]  ret_from_fork_asm+0x1a/0x30
[   18.183611] 
[   18.183711] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.184195] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.184341] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.184631] ==================================================================
[   17.865016] ==================================================================
[   17.865479] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.865479] 
[   17.866219] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#79):
[   17.867450]  test_corruption+0x2d2/0x3e0
[   17.867646]  kunit_try_run_case+0x1a5/0x480
[   17.867873]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.868164]  kthread+0x337/0x6f0
[   17.868335]  ret_from_fork+0x116/0x1d0
[   17.868546]  ret_from_fork_asm+0x1a/0x30
[   17.868713] 
[   17.868819] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.868819] 
[   17.869361] allocated by task 328 on cpu 1 at 17.864774s (0.004483s ago):
[   17.869737]  test_alloc+0x364/0x10f0
[   17.869916]  test_corruption+0xe6/0x3e0
[   17.870540]  kunit_try_run_case+0x1a5/0x480
[   17.870756]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.871018]  kthread+0x337/0x6f0
[   17.871374]  ret_from_fork+0x116/0x1d0
[   17.871657]  ret_from_fork_asm+0x1a/0x30
[   17.871844] 
[   17.871937] freed by task 328 on cpu 1 at 17.864852s (0.007083s ago):
[   17.872535]  test_corruption+0x2d2/0x3e0
[   17.872829]  kunit_try_run_case+0x1a5/0x480
[   17.873062]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.873590]  kthread+0x337/0x6f0
[   17.873850]  ret_from_fork+0x116/0x1d0
[   17.874145]  ret_from_fork_asm+0x1a/0x30
[   17.874435] 
[   17.874589] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.875080] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.875503] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.875986] ==================================================================
[   18.488900] ==================================================================
[   18.489327] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.489327] 
[   18.489607] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#85):
[   18.489890]  test_corruption+0x216/0x3e0
[   18.490172]  kunit_try_run_case+0x1a5/0x480
[   18.490401]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.490662]  kthread+0x337/0x6f0
[   18.490794]  ret_from_fork+0x116/0x1d0
[   18.490931]  ret_from_fork_asm+0x1a/0x30
[   18.491086] 
[   18.491171] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.491171] 
[   18.491448] allocated by task 330 on cpu 0 at 18.488768s (0.002678s ago):
[   18.491670]  test_alloc+0x2a6/0x10f0
[   18.491803]  test_corruption+0x1cb/0x3e0
[   18.491943]  kunit_try_run_case+0x1a5/0x480
[   18.492113]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.492289]  kthread+0x337/0x6f0
[   18.492466]  ret_from_fork+0x116/0x1d0
[   18.492657]  ret_from_fork_asm+0x1a/0x30
[   18.492859] 
[   18.492972] freed by task 330 on cpu 0 at 18.488824s (0.004146s ago):
[   18.493387]  test_corruption+0x216/0x3e0
[   18.493717]  kunit_try_run_case+0x1a5/0x480
[   18.493938]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.494158]  kthread+0x337/0x6f0
[   18.494282]  ret_from_fork+0x116/0x1d0
[   18.494417]  ret_from_fork_asm+0x1a/0x30
[   18.494574] 
[   18.494676] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.495018] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.495166] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.495451] ==================================================================