Hay
Date
May 29, 2025, 7:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   28.423507] ==================================================================
[   28.423711] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   28.423711] 
[   28.424099] Corrupted memory at 0x000000004de638d1 [ ! . . . . . . . . . . . . . . . ] (in kfence-#128):
[   28.427979]  test_corruption+0x278/0x378
[   28.428128]  kunit_try_run_case+0x170/0x3f0
[   28.428305]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.428479]  kthread+0x328/0x630
[   28.428617]  ret_from_fork+0x10/0x20
[   28.428723] 
[   28.428789] kfence-#128: 0x00000000a5bae94a-0x00000000fd105cb6, size=32, cache=kmalloc-32
[   28.428789] 
[   28.428932] allocated by task 311 on cpu 1 at 28.421858s (0.007065s ago):
[   28.429080]  test_alloc+0x29c/0x628
[   28.429196]  test_corruption+0xdc/0x378
[   28.429348]  kunit_try_run_case+0x170/0x3f0
[   28.429466]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.429566]  kthread+0x328/0x630
[   28.429654]  ret_from_fork+0x10/0x20
[   28.429759] 
[   28.429814] freed by task 311 on cpu 1 at 28.422383s (0.007423s ago):
[   28.430237]  test_corruption+0x278/0x378
[   28.430563]  kunit_try_run_case+0x170/0x3f0
[   28.430854]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.431007]  kthread+0x328/0x630
[   28.431116]  ret_from_fork+0x10/0x20
[   28.431207] 
[   28.431322] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT 
[   28.431766] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.431866] Hardware name: linux,dummy-virt (DT)
[   28.431988] ==================================================================
[   28.839177] ==================================================================
[   28.839342] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   28.839342] 
[   28.839492] Corrupted memory at 0x000000004a181def [ ! ] (in kfence-#132):
[   28.839760]  test_corruption+0x1d8/0x378
[   28.839878]  kunit_try_run_case+0x170/0x3f0
[   28.840339]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.840508]  kthread+0x328/0x630
[   28.840606]  ret_from_fork+0x10/0x20
[   28.840955] 
[   28.841047] kfence-#132: 0x0000000093783987-0x00000000d2995e42, size=32, cache=test
[   28.841047] 
[   28.841317] allocated by task 313 on cpu 1 at 28.838891s (0.002391s ago):
[   28.841492]  test_alloc+0x230/0x628
[   28.841588]  test_corruption+0x198/0x378
[   28.841694]  kunit_try_run_case+0x170/0x3f0
[   28.841795]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.841907]  kthread+0x328/0x630
[   28.841995]  ret_from_fork+0x10/0x20
[   28.842089] 
[   28.842147] freed by task 313 on cpu 1 at 28.838994s (0.003144s ago):
[   28.842306]  test_corruption+0x1d8/0x378
[   28.842420]  kunit_try_run_case+0x170/0x3f0
[   28.842521]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.843029]  kthread+0x328/0x630
[   28.843232]  ret_from_fork+0x10/0x20
[   28.843321] 
[   28.843421] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT 
[   28.843634] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.843705] Hardware name: linux,dummy-virt (DT)
[   28.843786] ==================================================================
[   28.525752] ==================================================================
[   28.525916] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   28.525916] 
[   28.526051] Corrupted memory at 0x000000005b75adb2 [ ! ] (in kfence-#129):
[   28.528575]  test_corruption+0x284/0x378
[   28.529646]  kunit_try_run_case+0x170/0x3f0
[   28.529971]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.530544]  kthread+0x328/0x630
[   28.530650]  ret_from_fork+0x10/0x20
[   28.530711] 
[   28.530745] kfence-#129: 0x0000000049d36293-0x0000000096f6aa09, size=32, cache=kmalloc-32
[   28.530745] 
[   28.530859] allocated by task 311 on cpu 1 at 28.525213s (0.005638s ago):
[   28.530954]  test_alloc+0x29c/0x628
[   28.531003]  test_corruption+0x198/0x378
[   28.531050]  kunit_try_run_case+0x170/0x3f0
[   28.531096]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.531144]  kthread+0x328/0x630
[   28.531184]  ret_from_fork+0x10/0x20
[   28.531226] 
[   28.531254] freed by task 311 on cpu 1 at 28.525407s (0.005843s ago):
[   28.531321]  test_corruption+0x284/0x378
[   28.531366]  kunit_try_run_case+0x170/0x3f0
[   28.531442]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.531527]  kthread+0x328/0x630
[   28.531635]  ret_from_fork+0x10/0x20
[   28.531726] 
[   28.531898] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT 
[   28.532123] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.532286] Hardware name: linux,dummy-virt (DT)
[   28.532437] ==================================================================
[   28.733161] ==================================================================
[   28.733327] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   28.733327] 
[   28.733474] Corrupted memory at 0x00000000818f1114 [ ! . . . . . . . . . . . . . . . ] (in kfence-#131):
[   28.735157]  test_corruption+0x120/0x378
[   28.735288]  kunit_try_run_case+0x170/0x3f0
[   28.735390]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.735505]  kthread+0x328/0x630
[   28.735612]  ret_from_fork+0x10/0x20
[   28.735753] 
[   28.735818] kfence-#131: 0x000000000f67576a-0x00000000f2179426, size=32, cache=test
[   28.735818] 
[   28.736020] allocated by task 313 on cpu 1 at 28.732861s (0.003146s ago):
[   28.736243]  test_alloc+0x230/0x628
[   28.736375]  test_corruption+0xdc/0x378
[   28.736490]  kunit_try_run_case+0x170/0x3f0
[   28.736589]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.736700]  kthread+0x328/0x630
[   28.736807]  ret_from_fork+0x10/0x20
[   28.736943] 
[   28.737012] freed by task 313 on cpu 1 at 28.732973s (0.004031s ago):
[   28.737178]  test_corruption+0x120/0x378
[   28.737278]  kunit_try_run_case+0x170/0x3f0
[   28.737383]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.737493]  kthread+0x328/0x630
[   28.737576]  ret_from_fork+0x10/0x20
[   28.737675] 
[   28.737884] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT 
[   28.738121] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.738188] Hardware name: linux,dummy-virt (DT)
[   28.738268] ==================================================================


[   17.618259] ==================================================================
[   17.618662] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   17.618662] 
[   17.619017] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#83):
[   17.619400]  test_corruption+0x216/0x3e0
[   17.619573]  kunit_try_run_case+0x1a5/0x480
[   17.619787]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.620054]  kthread+0x337/0x6f0
[   17.620235]  ret_from_fork+0x116/0x1d0
[   17.620377]  ret_from_fork_asm+0x1a/0x30
[   17.620583] 
[   17.620692] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.620692] 
[   17.621065] allocated by task 330 on cpu 1 at 17.618133s (0.002930s ago):
[   17.621372]  test_alloc+0x2a6/0x10f0
[   17.621564]  test_corruption+0x1cb/0x3e0
[   17.621735]  kunit_try_run_case+0x1a5/0x480
[   17.621981]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.622215]  kthread+0x337/0x6f0
[   17.622388]  ret_from_fork+0x116/0x1d0
[   17.622551]  ret_from_fork_asm+0x1a/0x30
[   17.622707] 
[   17.622783] freed by task 330 on cpu 1 at 17.618192s (0.004588s ago):
[   17.623097]  test_corruption+0x216/0x3e0
[   17.623303]  kunit_try_run_case+0x1a5/0x480
[   17.623512]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.623771]  kthread+0x337/0x6f0
[   17.623899]  ret_from_fork+0x116/0x1d0
[   17.624073]  ret_from_fork_asm+0x1a/0x30
[   17.624275] 
[   17.624404] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT(voluntary) 
[   17.624948] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.625095] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.625473] ==================================================================
[   17.410280] ==================================================================
[   17.410704] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.410704] 
[   17.411054] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#81):
[   17.411448]  test_corruption+0x2df/0x3e0
[   17.411652]  kunit_try_run_case+0x1a5/0x480
[   17.411857]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.412044]  kthread+0x337/0x6f0
[   17.412197]  ret_from_fork+0x116/0x1d0
[   17.412397]  ret_from_fork_asm+0x1a/0x30
[   17.412602] 
[   17.412712] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.412712] 
[   17.413101] allocated by task 328 on cpu 0 at 17.410048s (0.003051s ago):
[   17.413384]  test_alloc+0x364/0x10f0
[   17.413524]  test_corruption+0x1cb/0x3e0
[   17.413698]  kunit_try_run_case+0x1a5/0x480
[   17.414066]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.414334]  kthread+0x337/0x6f0
[   17.414509]  ret_from_fork+0x116/0x1d0
[   17.414738]  ret_from_fork_asm+0x1a/0x30
[   17.414947] 
[   17.415048] freed by task 328 on cpu 0 at 17.410126s (0.004920s ago):
[   17.415272]  test_corruption+0x2df/0x3e0
[   17.415487]  kunit_try_run_case+0x1a5/0x480
[   17.415716]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.415987]  kthread+0x337/0x6f0
[   17.416123]  ret_from_fork+0x116/0x1d0
[   17.416314]  ret_from_fork_asm+0x1a/0x30
[   17.416522] 
[   17.416638] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT(voluntary) 
[   17.417002] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.417218] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.417646] ==================================================================
[   17.514225] ==================================================================
[   17.514633] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   17.514633] 
[   17.515051] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#82):
[   17.515692]  test_corruption+0x131/0x3e0
[   17.516032]  kunit_try_run_case+0x1a5/0x480
[   17.516229]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.516438]  kthread+0x337/0x6f0
[   17.516574]  ret_from_fork+0x116/0x1d0
[   17.516778]  ret_from_fork_asm+0x1a/0x30
[   17.517003] 
[   17.517133] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.517133] 
[   17.517426] allocated by task 330 on cpu 1 at 17.514097s (0.003327s ago):
[   17.517760]  test_alloc+0x2a6/0x10f0
[   17.517962]  test_corruption+0xe6/0x3e0
[   17.518139]  kunit_try_run_case+0x1a5/0x480
[   17.518326]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.518579]  kthread+0x337/0x6f0
[   17.518722]  ret_from_fork+0x116/0x1d0
[   17.519004]  ret_from_fork_asm+0x1a/0x30
[   17.519179] 
[   17.519279] freed by task 330 on cpu 1 at 17.514156s (0.005120s ago):
[   17.519572]  test_corruption+0x131/0x3e0
[   17.519750]  kunit_try_run_case+0x1a5/0x480
[   17.519900]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.520082]  kthread+0x337/0x6f0
[   17.520298]  ret_from_fork+0x116/0x1d0
[   17.520499]  ret_from_fork_asm+0x1a/0x30
[   17.520711] 
[   17.520874] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT(voluntary) 
[   17.521353] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.521518] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.521937] ==================================================================
[   17.202217] ==================================================================
[   17.202633] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.202633] 
[   17.202997] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#79):
[   17.204119]  test_corruption+0x2d2/0x3e0
[   17.204329]  kunit_try_run_case+0x1a5/0x480
[   17.204525]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.204988]  kthread+0x337/0x6f0
[   17.205184]  ret_from_fork+0x116/0x1d0
[   17.205459]  ret_from_fork_asm+0x1a/0x30
[   17.205658] 
[   17.205755] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.205755] 
[   17.206252] allocated by task 328 on cpu 0 at 17.202051s (0.004198s ago):
[   17.206574]  test_alloc+0x364/0x10f0
[   17.206752]  test_corruption+0xe6/0x3e0
[   17.206898]  kunit_try_run_case+0x1a5/0x480
[   17.207402]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.207707]  kthread+0x337/0x6f0
[   17.207994]  ret_from_fork+0x116/0x1d0
[   17.208196]  ret_from_fork_asm+0x1a/0x30
[   17.208379] 
[   17.208466] freed by task 328 on cpu 0 at 17.202150s (0.006314s ago):
[   17.208747]  test_corruption+0x2d2/0x3e0
[   17.209238]  kunit_try_run_case+0x1a5/0x480
[   17.209433]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.209712]  kthread+0x337/0x6f0
[   17.209851]  ret_from_fork+0x116/0x1d0
[   17.210088]  ret_from_fork_asm+0x1a/0x30
[   17.210275] 
[   17.210378] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250529 #1 PREEMPT(voluntary) 
[   17.210886] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.211058] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.211435] ==================================================================