Hay
Date
June 23, 2025, 1:39 p.m.

Environment
qemu-arm64
qemu-x86_64

[   33.176584] ==================================================================
[   33.176754] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   33.176754] 
[   33.177380] Corrupted memory at 0x00000000ed258c3a [ ! . . . . . . . . . . . . . . . ] (in kfence-#143):
[   33.181302]  test_corruption+0x120/0x378
[   33.181826]  kunit_try_run_case+0x170/0x3f0
[   33.182829]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.183853]  kthread+0x328/0x630
[   33.184010]  ret_from_fork+0x10/0x20
[   33.184122] 
[   33.184456] kfence-#143: 0x0000000089e5031e-0x00000000bf50bdac, size=32, cache=test
[   33.184456] 
[   33.185341] allocated by task 315 on cpu 0 at 33.175857s (0.009474s ago):
[   33.185736]  test_alloc+0x230/0x628
[   33.186056]  test_corruption+0xdc/0x378
[   33.186543]  kunit_try_run_case+0x170/0x3f0
[   33.186673]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.186803]  kthread+0x328/0x630
[   33.186914]  ret_from_fork+0x10/0x20
[   33.187480] 
[   33.187812] freed by task 315 on cpu 0 at 33.176056s (0.011729s ago):
[   33.188057]  test_corruption+0x120/0x378
[   33.188162]  kunit_try_run_case+0x170/0x3f0
[   33.188884]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.189008]  kthread+0x328/0x630
[   33.189109]  ret_from_fork+0x10/0x20
[   33.189214] 
[   33.189306] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT 
[   33.189502] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.190054] Hardware name: linux,dummy-virt (DT)
[   33.190455] ==================================================================
[   32.856209] ==================================================================
[   32.856359] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   32.856359] 
[   32.856515] Corrupted memory at 0x00000000295ad55b [ ! ] (in kfence-#140):
[   32.857037]  test_corruption+0x284/0x378
[   32.857150]  kunit_try_run_case+0x170/0x3f0
[   32.857288]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.857567]  kthread+0x328/0x630
[   32.857729]  ret_from_fork+0x10/0x20
[   32.857854] 
[   32.857915] kfence-#140: 0x00000000a2ef2e6d-0x00000000ef0dbeea, size=32, cache=kmalloc-32
[   32.857915] 
[   32.858444] allocated by task 313 on cpu 0 at 32.855431s (0.002990s ago):
[   32.858734]  test_alloc+0x29c/0x628
[   32.858944]  test_corruption+0x198/0x378
[   32.859050]  kunit_try_run_case+0x170/0x3f0
[   32.859191]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.859506]  kthread+0x328/0x630
[   32.859771]  ret_from_fork+0x10/0x20
[   32.859895] 
[   32.859955] freed by task 313 on cpu 0 at 32.855629s (0.004317s ago):
[   32.860217]  test_corruption+0x284/0x378
[   32.860649]  kunit_try_run_case+0x170/0x3f0
[   32.861090]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.861233]  kthread+0x328/0x630
[   32.861531]  ret_from_fork+0x10/0x20
[   32.861648] 
[   32.861802] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT 
[   32.862574] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.863082] Hardware name: linux,dummy-virt (DT)
[   32.863230] ==================================================================
[   33.388508] ==================================================================
[   33.388668] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   33.388668] 
[   33.388788] Corrupted memory at 0x00000000ea82804b [ ! ] (in kfence-#145):
[   33.389025]  test_corruption+0x1d8/0x378
[   33.389128]  kunit_try_run_case+0x170/0x3f0
[   33.389251]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.389360]  kthread+0x328/0x630
[   33.389478]  ret_from_fork+0x10/0x20
[   33.389572] 
[   33.389629] kfence-#145: 0x00000000d252c9f9-0x000000006236bbad, size=32, cache=test
[   33.389629] 
[   33.389749] allocated by task 315 on cpu 0 at 33.387996s (0.001745s ago):
[   33.389889]  test_alloc+0x230/0x628
[   33.389978]  test_corruption+0x198/0x378
[   33.390070]  kunit_try_run_case+0x170/0x3f0
[   33.390166]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.390265]  kthread+0x328/0x630
[   33.390362]  ret_from_fork+0x10/0x20
[   33.392517] 
[   33.392606] freed by task 315 on cpu 0 at 33.388145s (0.004451s ago):
[   33.392773]  test_corruption+0x1d8/0x378
[   33.392887]  kunit_try_run_case+0x170/0x3f0
[   33.393001]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.393654]  kthread+0x328/0x630
[   33.393832]  ret_from_fork+0x10/0x20
[   33.394090] 
[   33.394460] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT 
[   33.395060] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.395142] Hardware name: linux,dummy-virt (DT)
[   33.395468] ==================================================================
[   32.751622] ==================================================================
[   32.751760] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   32.751760] 
[   32.751884] Corrupted memory at 0x00000000ab047d50 [ ! . . . . . . . . . . . . . . . ] (in kfence-#139):
[   32.753172]  test_corruption+0x278/0x378
[   32.753289]  kunit_try_run_case+0x170/0x3f0
[   32.753421]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.753535]  kthread+0x328/0x630
[   32.753633]  ret_from_fork+0x10/0x20
[   32.753732] 
[   32.754262] kfence-#139: 0x00000000fa507992-0x000000000f70f1bb, size=32, cache=kmalloc-32
[   32.754262] 
[   32.754586] allocated by task 313 on cpu 0 at 32.750016s (0.004558s ago):
[   32.754783]  test_alloc+0x29c/0x628
[   32.754916]  test_corruption+0xdc/0x378
[   32.755031]  kunit_try_run_case+0x170/0x3f0
[   32.755497]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.755752]  kthread+0x328/0x630
[   32.755959]  ret_from_fork+0x10/0x20
[   32.756080] 
[   32.756180] freed by task 313 on cpu 0 at 32.750592s (0.005577s ago):
[   32.756446]  test_corruption+0x278/0x378
[   32.756580]  kunit_try_run_case+0x170/0x3f0
[   32.756694]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.756914]  kthread+0x328/0x630
[   32.757082]  ret_from_fork+0x10/0x20
[   32.757292] 
[   32.757580] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT 
[   32.757892] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.757973] Hardware name: linux,dummy-virt (DT)
[   32.758209] ==================================================================

[   27.362510] ==================================================================
[   27.363250] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   27.363250] 
[   27.363997] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#123):
[   27.365514]  test_corruption+0x2d2/0x3e0
[   27.365882]  kunit_try_run_case+0x1a5/0x480
[   27.366228]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.366628]  kthread+0x337/0x6f0
[   27.366929]  ret_from_fork+0x41/0x80
[   27.367416]  ret_from_fork_asm+0x1a/0x30
[   27.367831] 
[   27.368053] kfence-#123: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.368053] 
[   27.368873] allocated by task 332 on cpu 1 at 27.362155s (0.006712s ago):
[   27.369378]  test_alloc+0x364/0x10f0
[   27.369900]  test_corruption+0xe6/0x3e0
[   27.370383]  kunit_try_run_case+0x1a5/0x480
[   27.371698]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.372181]  kthread+0x337/0x6f0
[   27.372659]  ret_from_fork+0x41/0x80
[   27.372986]  ret_from_fork_asm+0x1a/0x30
[   27.373403] 
[   27.373688] freed by task 332 on cpu 1 at 27.362294s (0.011389s ago):
[   27.374368]  test_corruption+0x2d2/0x3e0
[   27.374842]  kunit_try_run_case+0x1a5/0x480
[   27.375293]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.375817]  kthread+0x337/0x6f0
[   27.376184]  ret_from_fork+0x41/0x80
[   27.376582]  ret_from_fork_asm+0x1a/0x30
[   27.376971] 
[   27.377256] CPU: 1 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT(voluntary) 
[   27.378128] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.378450] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.379057] ==================================================================
[   28.194349] ==================================================================
[   28.194952] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   28.194952] 
[   28.195658] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#131):
[   28.196274]  test_corruption+0x216/0x3e0
[   28.196836]  kunit_try_run_case+0x1a5/0x480
[   28.197298]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.197837]  kthread+0x337/0x6f0
[   28.198191]  ret_from_fork+0x41/0x80
[   28.198556]  ret_from_fork_asm+0x1a/0x30
[   28.199005] 
[   28.199252] kfence-#131: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   28.199252] 
[   28.199862] allocated by task 334 on cpu 0 at 28.194141s (0.005715s ago):
[   28.200467]  test_alloc+0x2a6/0x10f0
[   28.200921]  test_corruption+0x1cb/0x3e0
[   28.201364]  kunit_try_run_case+0x1a5/0x480
[   28.201952]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.202535]  kthread+0x337/0x6f0
[   28.202849]  ret_from_fork+0x41/0x80
[   28.203252]  ret_from_fork_asm+0x1a/0x30
[   28.203693] 
[   28.203934] freed by task 334 on cpu 0 at 28.194212s (0.009716s ago):
[   28.204564]  test_corruption+0x216/0x3e0
[   28.204974]  kunit_try_run_case+0x1a5/0x480
[   28.205448]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.205961]  kthread+0x337/0x6f0
[   28.206340]  ret_from_fork+0x41/0x80
[   28.206805]  ret_from_fork_asm+0x1a/0x30
[   28.207206] 
[   28.207474] CPU: 0 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT(voluntary) 
[   28.208389] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.208823] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.209398] ==================================================================
[   27.882364] ==================================================================
[   27.883083] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   27.883083] 
[   27.884171] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#128):
[   27.885512]  test_corruption+0x131/0x3e0
[   27.885910]  kunit_try_run_case+0x1a5/0x480
[   27.886250]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.886835]  kthread+0x337/0x6f0
[   27.887299]  ret_from_fork+0x41/0x80
[   27.887791]  ret_from_fork_asm+0x1a/0x30
[   27.888269] 
[   27.888497] kfence-#128: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.888497] 
[   27.889274] allocated by task 334 on cpu 0 at 27.882140s (0.007128s ago):
[   27.889973]  test_alloc+0x2a6/0x10f0
[   27.890488]  test_corruption+0xe6/0x3e0
[   27.890871]  kunit_try_run_case+0x1a5/0x480
[   27.891409]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.891923]  kthread+0x337/0x6f0
[   27.892385]  ret_from_fork+0x41/0x80
[   27.892800]  ret_from_fork_asm+0x1a/0x30
[   27.893338] 
[   27.893618] freed by task 334 on cpu 0 at 27.882234s (0.011378s ago):
[   27.894106]  test_corruption+0x131/0x3e0
[   27.894661]  kunit_try_run_case+0x1a5/0x480
[   27.895106]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.895684]  kthread+0x337/0x6f0
[   27.896091]  ret_from_fork+0x41/0x80
[   27.896516]  ret_from_fork_asm+0x1a/0x30
[   27.897016] 
[   27.897348] CPU: 0 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT(voluntary) 
[   27.898310] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.898718] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.899619] ==================================================================
[   27.466485] ==================================================================
[   27.467096] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   27.467096] 
[   27.467832] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#124):
[   27.468581]  test_corruption+0x2df/0x3e0
[   27.468982]  kunit_try_run_case+0x1a5/0x480
[   27.469488]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.469966]  kthread+0x337/0x6f0
[   27.470369]  ret_from_fork+0x41/0x80
[   27.470821]  ret_from_fork_asm+0x1a/0x30
[   27.471184] 
[   27.471427] kfence-#124: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.471427] 
[   27.472161] allocated by task 332 on cpu 1 at 27.466151s (0.006005s ago):
[   27.472822]  test_alloc+0x364/0x10f0
[   27.473265]  test_corruption+0x1cb/0x3e0
[   27.473677]  kunit_try_run_case+0x1a5/0x480
[   27.474089]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.474562]  kthread+0x337/0x6f0
[   27.474926]  ret_from_fork+0x41/0x80
[   27.475380]  ret_from_fork_asm+0x1a/0x30
[   27.475828] 
[   27.476068] freed by task 332 on cpu 1 at 27.466275s (0.009787s ago):
[   27.476702]  test_corruption+0x2df/0x3e0
[   27.477022]  kunit_try_run_case+0x1a5/0x480
[   27.477547]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.478092]  kthread+0x337/0x6f0
[   27.478465]  ret_from_fork+0x41/0x80
[   27.478904]  ret_from_fork_asm+0x1a/0x30
[   27.479266] 
[   27.479497] CPU: 1 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT(voluntary) 
[   27.480463] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.480906] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.481544] ==================================================================