Hay
Date
July 17, 2025, 10:12 a.m.

Environment
qemu-arm64
qemu-x86_64

[   36.452944] ==================================================================
[   36.453069] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   36.453069] 
[   36.453139] Corrupted memory at 0x00000000a2f53f86 [ ! . . . . . . . . . . . . . . . ] (in kfence-#154):
[   36.453458]  test_corruption+0x120/0x378
[   36.453504]  kunit_try_run_case+0x170/0x3f0
[   36.453551]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.453597]  kthread+0x328/0x630
[   36.453637]  ret_from_fork+0x10/0x20
[   36.453678] 
[   36.453701] kfence-#154: 0x00000000f4c408e3-0x00000000e3981f8f, size=32, cache=test
[   36.453701] 
[   36.453761] allocated by task 344 on cpu 0 at 36.452781s (0.000977s ago):
[   36.453830]  test_alloc+0x230/0x628
[   36.453868]  test_corruption+0xdc/0x378
[   36.453906]  kunit_try_run_case+0x170/0x3f0
[   36.453947]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.453991]  kthread+0x328/0x630
[   36.454028]  ret_from_fork+0x10/0x20
[   36.454076] 
[   36.454099] freed by task 344 on cpu 0 at 36.452842s (0.001254s ago):
[   36.454168]  test_corruption+0x120/0x378
[   36.454208]  kunit_try_run_case+0x170/0x3f0
[   36.454248]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.454292]  kthread+0x328/0x630
[   36.454328]  ret_from_fork+0x10/0x20
[   36.454367] 
[   36.454410] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   36.454498] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.454528] Hardware name: linux,dummy-virt (DT)
[   36.454564] ==================================================================
[   36.556981] ==================================================================
[   36.557092] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   36.557092] 
[   36.557156] Corrupted memory at 0x00000000c0204352 [ ! ] (in kfence-#155):
[   36.557275]  test_corruption+0x1d8/0x378
[   36.557321]  kunit_try_run_case+0x170/0x3f0
[   36.557365]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.557411]  kthread+0x328/0x630
[   36.557449]  ret_from_fork+0x10/0x20
[   36.557490] 
[   36.557513] kfence-#155: 0x000000001ed096f6-0x0000000043487ab5, size=32, cache=test
[   36.557513] 
[   36.557577] allocated by task 344 on cpu 0 at 36.556818s (0.000755s ago):
[   36.557647]  test_alloc+0x230/0x628
[   36.557687]  test_corruption+0x198/0x378
[   36.557728]  kunit_try_run_case+0x170/0x3f0
[   36.557769]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.557816]  kthread+0x328/0x630
[   36.557854]  ret_from_fork+0x10/0x20
[   36.557895] 
[   36.557918] freed by task 344 on cpu 0 at 36.556891s (0.001024s ago):
[   36.557989]  test_corruption+0x1d8/0x378
[   36.558028]  kunit_try_run_case+0x170/0x3f0
[   36.558080]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.558128]  kthread+0x328/0x630
[   36.558164]  ret_from_fork+0x10/0x20
[   36.558205] 
[   36.558243] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   36.558336] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.558368] Hardware name: linux,dummy-virt (DT)
[   36.558405] ==================================================================
[   35.413069] ==================================================================
[   35.413186] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   35.413186] 
[   35.413259] Corrupted memory at 0x00000000d0f082c4 [ ! . . . . . . . . . . . . . . . ] (in kfence-#144):
[   35.414418]  test_corruption+0x278/0x378
[   35.414473]  kunit_try_run_case+0x170/0x3f0
[   35.414520]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.414568]  kthread+0x328/0x630
[   35.414611]  ret_from_fork+0x10/0x20
[   35.414655] 
[   35.414681] kfence-#144: 0x0000000089d0b6f1-0x0000000073aa3ecd, size=32, cache=kmalloc-32
[   35.414681] 
[   35.414744] allocated by task 342 on cpu 0 at 35.412768s (0.001973s ago):
[   35.414821]  test_alloc+0x29c/0x628
[   35.414864]  test_corruption+0xdc/0x378
[   35.414905]  kunit_try_run_case+0x170/0x3f0
[   35.414946]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.414990]  kthread+0x328/0x630
[   35.415028]  ret_from_fork+0x10/0x20
[   35.415080] 
[   35.415103] freed by task 342 on cpu 0 at 35.412872s (0.002227s ago):
[   35.415172]  test_corruption+0x278/0x378
[   35.415210]  kunit_try_run_case+0x170/0x3f0
[   35.415251]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.415294]  kthread+0x328/0x630
[   35.415330]  ret_from_fork+0x10/0x20
[   35.415371] 
[   35.415418] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   35.415505] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.415537] Hardware name: linux,dummy-virt (DT)
[   35.415573] ==================================================================
[   35.517086] ==================================================================
[   35.517180] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   35.517180] 
[   35.517244] Corrupted memory at 0x0000000004324241 [ ! ] (in kfence-#145):
[   35.517380]  test_corruption+0x284/0x378
[   35.517426]  kunit_try_run_case+0x170/0x3f0
[   35.517469]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.517515]  kthread+0x328/0x630
[   35.517555]  ret_from_fork+0x10/0x20
[   35.517594] 
[   35.517619] kfence-#145: 0x000000005a0f271f-0x00000000a5e6e6a8, size=32, cache=kmalloc-32
[   35.517619] 
[   35.517680] allocated by task 342 on cpu 0 at 35.516790s (0.000887s ago):
[   35.517749]  test_alloc+0x29c/0x628
[   35.517788]  test_corruption+0x198/0x378
[   35.517828]  kunit_try_run_case+0x170/0x3f0
[   35.517867]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.517912]  kthread+0x328/0x630
[   35.517948]  ret_from_fork+0x10/0x20
[   35.517990] 
[   35.518013] freed by task 342 on cpu 0 at 35.516903s (0.001106s ago):
[   35.518095]  test_corruption+0x284/0x378
[   35.518134]  kunit_try_run_case+0x170/0x3f0
[   35.518173]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.518218]  kthread+0x328/0x630
[   35.518255]  ret_from_fork+0x10/0x20
[   35.518295] 
[   35.518334] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT 
[   35.518422] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.518453] Hardware name: linux,dummy-virt (DT)
[   35.518488] ==================================================================

[   31.542685] ==================================================================
[   31.543041] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   31.543041] 
[   31.543331] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#100):
[   31.544493]  test_corruption+0x131/0x3e0
[   31.544818]  kunit_try_run_case+0x1a5/0x480
[   31.545023]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.545266]  kthread+0x337/0x6f0
[   31.545595]  ret_from_fork+0x116/0x1d0
[   31.545772]  ret_from_fork_asm+0x1a/0x30
[   31.546074] 
[   31.546174] kfence-#100: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.546174] 
[   31.546729] allocated by task 362 on cpu 0 at 31.542558s (0.004168s ago):
[   31.547016]  test_alloc+0x2a6/0x10f0
[   31.547207]  test_corruption+0xe6/0x3e0
[   31.547362]  kunit_try_run_case+0x1a5/0x480
[   31.547794]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.548103]  kthread+0x337/0x6f0
[   31.548334]  ret_from_fork+0x116/0x1d0
[   31.548511]  ret_from_fork_asm+0x1a/0x30
[   31.548814] 
[   31.548901] freed by task 362 on cpu 0 at 31.542614s (0.006284s ago):
[   31.549192]  test_corruption+0x131/0x3e0
[   31.549558]  kunit_try_run_case+0x1a5/0x480
[   31.549748]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.549971]  kthread+0x337/0x6f0
[   31.550304]  ret_from_fork+0x116/0x1d0
[   31.550541]  ret_from_fork_asm+0x1a/0x30
[   31.550781] 
[   31.550879] CPU: 0 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   31.551548] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.551813] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.552233] ==================================================================
[   31.334783] ==================================================================
[   31.335160] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   31.335160] 
[   31.335799] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#98):
[   31.337060]  test_corruption+0x2d2/0x3e0
[   31.337219]  kunit_try_run_case+0x1a5/0x480
[   31.337397]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.337904]  kthread+0x337/0x6f0
[   31.338236]  ret_from_fork+0x116/0x1d0
[   31.338641]  ret_from_fork_asm+0x1a/0x30
[   31.338908] 
[   31.338992] kfence-#98: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.338992] 
[   31.339410] allocated by task 360 on cpu 1 at 31.334519s (0.004888s ago):
[   31.339689]  test_alloc+0x364/0x10f0
[   31.339877]  test_corruption+0xe6/0x3e0
[   31.340042]  kunit_try_run_case+0x1a5/0x480
[   31.340236]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.340490]  kthread+0x337/0x6f0
[   31.340655]  ret_from_fork+0x116/0x1d0
[   31.340776]  ret_from_fork_asm+0x1a/0x30
[   31.340975] 
[   31.341065] freed by task 360 on cpu 1 at 31.334624s (0.006439s ago):
[   31.341379]  test_corruption+0x2d2/0x3e0
[   31.341572]  kunit_try_run_case+0x1a5/0x480
[   31.341751]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.341915]  kthread+0x337/0x6f0
[   31.342097]  ret_from_fork+0x116/0x1d0
[   31.342294]  ret_from_fork_asm+0x1a/0x30
[   31.342526] 
[   31.342702] CPU: 1 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   31.343178] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.343308] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.343785] ==================================================================
[   31.750603] ==================================================================
[   31.750976] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   31.750976] 
[   31.751256] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#102):
[   31.751519]  test_corruption+0x216/0x3e0
[   31.751677]  kunit_try_run_case+0x1a5/0x480
[   31.751904]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.752170]  kthread+0x337/0x6f0
[   31.752338]  ret_from_fork+0x116/0x1d0
[   31.752468]  ret_from_fork_asm+0x1a/0x30
[   31.752604] 
[   31.752671] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.752671] 
[   31.752943] allocated by task 362 on cpu 0 at 31.750471s (0.002470s ago):
[   31.753177]  test_alloc+0x2a6/0x10f0
[   31.753302]  test_corruption+0x1cb/0x3e0
[   31.753432]  kunit_try_run_case+0x1a5/0x480
[   31.753570]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.753735]  kthread+0x337/0x6f0
[   31.753847]  ret_from_fork+0x116/0x1d0
[   31.753978]  ret_from_fork_asm+0x1a/0x30
[   31.754332] 
[   31.754402] freed by task 362 on cpu 0 at 31.750525s (0.003875s ago):
[   31.754612]  test_corruption+0x216/0x3e0
[   31.754749]  kunit_try_run_case+0x1a5/0x480
[   31.754890]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.755056]  kthread+0x337/0x6f0
[   31.755192]  ret_from_fork+0x116/0x1d0
[   31.755320]  ret_from_fork_asm+0x1a/0x30
[   31.755451] 
[   31.755538] CPU: 0 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   31.757402] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.757633] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.758175] ==================================================================
[   31.438783] ==================================================================
[   31.439158] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   31.439158] 
[   31.439626] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#99):
[   31.439966]  test_corruption+0x2df/0x3e0
[   31.440139]  kunit_try_run_case+0x1a5/0x480
[   31.440368]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.440727]  kthread+0x337/0x6f0
[   31.440918]  ret_from_fork+0x116/0x1d0
[   31.441044]  ret_from_fork_asm+0x1a/0x30
[   31.441226] 
[   31.441368] kfence-#99: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.441368] 
[   31.441789] allocated by task 360 on cpu 1 at 31.438563s (0.003224s ago):
[   31.442129]  test_alloc+0x364/0x10f0
[   31.442317]  test_corruption+0x1cb/0x3e0
[   31.442450]  kunit_try_run_case+0x1a5/0x480
[   31.442584]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.442853]  kthread+0x337/0x6f0
[   31.443019]  ret_from_fork+0x116/0x1d0
[   31.443216]  ret_from_fork_asm+0x1a/0x30
[   31.443361] 
[   31.443450] freed by task 360 on cpu 1 at 31.438630s (0.004818s ago):
[   31.443798]  test_corruption+0x2df/0x3e0
[   31.443999]  kunit_try_run_case+0x1a5/0x480
[   31.444214]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.444458]  kthread+0x337/0x6f0
[   31.444608]  ret_from_fork+0x116/0x1d0
[   31.444769]  ret_from_fork_asm+0x1a/0x30
[   31.444977] 
[   31.445103] CPU: 1 UID: 0 PID: 360 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250717 #1 PREEMPT(voluntary) 
[   31.445622] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.445834] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.446105] ==================================================================