Hay
Date
July 5, 2025, 5:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.779432] ==================================================================
[   23.779523] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   23.779523] 
[   23.779586] Corrupted memory at 0x000000004061e534 [ ! . . . . . . . . . . . . . . . ] (in kfence-#102):
[   23.779902]  test_corruption+0x120/0x378
[   23.779951]  kunit_try_run_case+0x170/0x3f0
[   23.779995]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.780042]  kthread+0x328/0x630
[   23.780084]  ret_from_fork+0x10/0x20
[   23.780127] 
[   23.780153] kfence-#102: 0x00000000b16e8d0c-0x00000000eb15962f, size=32, cache=test
[   23.780153] 
[   23.780206] allocated by task 313 on cpu 0 at 23.779275s (0.000927s ago):
[   23.780268]  test_alloc+0x230/0x628
[   23.780315]  test_corruption+0xdc/0x378
[   23.780357]  kunit_try_run_case+0x170/0x3f0
[   23.780397]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.780441]  kthread+0x328/0x630
[   23.780478]  ret_from_fork+0x10/0x20
[   23.780517] 
[   23.780541] freed by task 313 on cpu 0 at 23.779329s (0.001208s ago):
[   23.780604]  test_corruption+0x120/0x378
[   23.780644]  kunit_try_run_case+0x170/0x3f0
[   23.780682]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.780726]  kthread+0x328/0x630
[   23.780762]  ret_from_fork+0x10/0x20
[   23.780802] 
[   23.780843] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.780928] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.780956] Hardware name: linux,dummy-virt (DT)
[   23.780990] ==================================================================
[   23.675525] ==================================================================
[   23.675607] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.675607] 
[   23.675671] Corrupted memory at 0x000000006f112fa9 [ ! ] (in kfence-#101):
[   23.675794]  test_corruption+0x284/0x378
[   23.675842]  kunit_try_run_case+0x170/0x3f0
[   23.675899]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.675944]  kthread+0x328/0x630
[   23.675981]  ret_from_fork+0x10/0x20
[   23.676022] 
[   23.676045] kfence-#101: 0x000000009a96e01e-0x00000000950ea098, size=32, cache=kmalloc-32
[   23.676045] 
[   23.676100] allocated by task 311 on cpu 0 at 23.675251s (0.000845s ago):
[   23.676160]  test_alloc+0x29c/0x628
[   23.676199]  test_corruption+0x198/0x378
[   23.676240]  kunit_try_run_case+0x170/0x3f0
[   23.676278]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.676322]  kthread+0x328/0x630
[   23.676358]  ret_from_fork+0x10/0x20
[   23.676396] 
[   23.676418] freed by task 311 on cpu 0 at 23.675354s (0.001061s ago):
[   23.676477]  test_corruption+0x284/0x378
[   23.676517]  kunit_try_run_case+0x170/0x3f0
[   23.676555]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.676598]  kthread+0x328/0x630
[   23.676634]  ret_from_fork+0x10/0x20
[   23.676672] 
[   23.676713] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.676787] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.676815] Hardware name: linux,dummy-virt (DT)
[   23.676848] ==================================================================
[   23.883285] ==================================================================
[   23.883369] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   23.883369] 
[   23.883434] Corrupted memory at 0x000000001b1b19b7 [ ! ] (in kfence-#103):
[   23.883544]  test_corruption+0x1d8/0x378
[   23.883590]  kunit_try_run_case+0x170/0x3f0
[   23.883632]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.883678]  kthread+0x328/0x630
[   23.883716]  ret_from_fork+0x10/0x20
[   23.883755] 
[   23.883778] kfence-#103: 0x00000000bfc4228f-0x000000005b4baba2, size=32, cache=test
[   23.883778] 
[   23.883830] allocated by task 313 on cpu 0 at 23.883157s (0.000669s ago):
[   23.883903]  test_alloc+0x230/0x628
[   23.883944]  test_corruption+0x198/0x378
[   23.883984]  kunit_try_run_case+0x170/0x3f0
[   23.884022]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.884065]  kthread+0x328/0x630
[   23.884100]  ret_from_fork+0x10/0x20
[   23.884139] 
[   23.884162] freed by task 313 on cpu 0 at 23.883203s (0.000955s ago):
[   23.884222]  test_corruption+0x1d8/0x378
[   23.884260]  kunit_try_run_case+0x170/0x3f0
[   23.884300]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.884343]  kthread+0x328/0x630
[   23.884377]  ret_from_fork+0x10/0x20
[   23.884416] 
[   23.884459] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.884532] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.884561] Hardware name: linux,dummy-virt (DT)
[   23.884594] ==================================================================
[   23.572951] ==================================================================
[   23.573059] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   23.573059] 
[   23.573126] Corrupted memory at 0x0000000015c387d2 [ ! . . . . . . . . . . . . . . . ] (in kfence-#100):
[   23.574251]  test_corruption+0x278/0x378
[   23.574305]  kunit_try_run_case+0x170/0x3f0
[   23.574349]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.574395]  kthread+0x328/0x630
[   23.574434]  ret_from_fork+0x10/0x20
[   23.574474] 
[   23.574499] kfence-#100: 0x00000000eebcb66c-0x00000000f63dddb2, size=32, cache=kmalloc-32
[   23.574499] 
[   23.574553] allocated by task 311 on cpu 0 at 23.572662s (0.001887s ago):
[   23.574616]  test_alloc+0x29c/0x628
[   23.574656]  test_corruption+0xdc/0x378
[   23.574697]  kunit_try_run_case+0x170/0x3f0
[   23.574736]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.574781]  kthread+0x328/0x630
[   23.574816]  ret_from_fork+0x10/0x20
[   23.574855] 
[   23.574892] freed by task 311 on cpu 0 at 23.572762s (0.002126s ago):
[   23.574952]  test_corruption+0x278/0x378
[   23.574993]  kunit_try_run_case+0x170/0x3f0
[   23.575032]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.575077]  kthread+0x328/0x630
[   23.575114]  ret_from_fork+0x10/0x20
[   23.575153] 
[   23.575196] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.575272] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.575302] Hardware name: linux,dummy-virt (DT)
[   23.575337] ==================================================================

[   18.490965] ==================================================================
[   18.491332] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.491332] 
[   18.491621] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#86):
[   18.492132]  test_corruption+0x131/0x3e0
[   18.492284]  kunit_try_run_case+0x1a5/0x480
[   18.492582]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.493066]  kthread+0x337/0x6f0
[   18.493264]  ret_from_fork+0x116/0x1d0
[   18.493405]  ret_from_fork_asm+0x1a/0x30
[   18.493597] 
[   18.493708] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.493708] 
[   18.493983] allocated by task 332 on cpu 1 at 18.490856s (0.003125s ago):
[   18.494204]  test_alloc+0x2a6/0x10f0
[   18.494336]  test_corruption+0xe6/0x3e0
[   18.494484]  kunit_try_run_case+0x1a5/0x480
[   18.494629]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.494830]  kthread+0x337/0x6f0
[   18.495052]  ret_from_fork+0x116/0x1d0
[   18.495247]  ret_from_fork_asm+0x1a/0x30
[   18.495448] 
[   18.495569] freed by task 332 on cpu 1 at 18.490896s (0.004670s ago):
[   18.495819]  test_corruption+0x131/0x3e0
[   18.495960]  kunit_try_run_case+0x1a5/0x480
[   18.496105]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.496277]  kthread+0x337/0x6f0
[   18.496397]  ret_from_fork+0x116/0x1d0
[   18.496552]  ret_from_fork_asm+0x1a/0x30
[   18.496728] 
[   18.496863] CPU: 1 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.497219] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.497363] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.497705] ==================================================================
[   18.178694] ==================================================================
[   18.179079] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.179079] 
[   18.179379] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#83):
[   18.179861]  test_corruption+0x2df/0x3e0
[   18.180044]  kunit_try_run_case+0x1a5/0x480
[   18.180265]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.180502]  kthread+0x337/0x6f0
[   18.180647]  ret_from_fork+0x116/0x1d0
[   18.180852]  ret_from_fork_asm+0x1a/0x30
[   18.181034] 
[   18.181137] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.181137] 
[   18.181443] allocated by task 330 on cpu 0 at 18.178466s (0.002975s ago):
[   18.181772]  test_alloc+0x364/0x10f0
[   18.181996]  test_corruption+0x1cb/0x3e0
[   18.182197]  kunit_try_run_case+0x1a5/0x480
[   18.182355]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.182619]  kthread+0x337/0x6f0
[   18.182823]  ret_from_fork+0x116/0x1d0
[   18.183031]  ret_from_fork_asm+0x1a/0x30
[   18.183208] 
[   18.183308] freed by task 330 on cpu 0 at 18.178545s (0.004761s ago):
[   18.183618]  test_corruption+0x2df/0x3e0
[   18.183802]  kunit_try_run_case+0x1a5/0x480
[   18.183989]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.184264]  kthread+0x337/0x6f0
[   18.184426]  ret_from_fork+0x116/0x1d0
[   18.184616]  ret_from_fork_asm+0x1a/0x30
[   18.184885] 
[   18.184992] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.185411] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.185628] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.185944] ==================================================================
[   18.594643] ==================================================================
[   18.595023] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.595023] 
[   18.595546] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#87):
[   18.596198]  test_corruption+0x216/0x3e0
[   18.596663]  kunit_try_run_case+0x1a5/0x480
[   18.597235]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.597572]  kthread+0x337/0x6f0
[   18.597764]  ret_from_fork+0x116/0x1d0
[   18.598104]  ret_from_fork_asm+0x1a/0x30
[   18.598291] 
[   18.598392] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.598392] 
[   18.598793] allocated by task 332 on cpu 1 at 18.594534s (0.004256s ago):
[   18.599096]  test_alloc+0x2a6/0x10f0
[   18.599290]  test_corruption+0x1cb/0x3e0
[   18.599500]  kunit_try_run_case+0x1a5/0x480
[   18.599681]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.599974]  kthread+0x337/0x6f0
[   18.600124]  ret_from_fork+0x116/0x1d0
[   18.600271]  ret_from_fork_asm+0x1a/0x30
[   18.600481] 
[   18.600600] freed by task 332 on cpu 1 at 18.594579s (0.006018s ago):
[   18.600926]  test_corruption+0x216/0x3e0
[   18.601122]  kunit_try_run_case+0x1a5/0x480
[   18.601348]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.601601]  kthread+0x337/0x6f0
[   18.601823]  ret_from_fork+0x116/0x1d0
[   18.602019]  ret_from_fork_asm+0x1a/0x30
[   18.602219] 
[   18.602338] CPU: 1 UID: 0 PID: 332 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.602802] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.603067] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.603367] ==================================================================
[   18.074806] ==================================================================
[   18.075246] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.075246] 
[   18.075611] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#82):
[   18.076415]  test_corruption+0x2d2/0x3e0
[   18.076640]  kunit_try_run_case+0x1a5/0x480
[   18.076828]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.077236]  kthread+0x337/0x6f0
[   18.077395]  ret_from_fork+0x116/0x1d0
[   18.077596]  ret_from_fork_asm+0x1a/0x30
[   18.077802] 
[   18.077907] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.077907] 
[   18.078317] allocated by task 330 on cpu 0 at 18.074550s (0.003765s ago):
[   18.078678]  test_alloc+0x364/0x10f0
[   18.078891]  test_corruption+0xe6/0x3e0
[   18.079157]  kunit_try_run_case+0x1a5/0x480
[   18.079335]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.079574]  kthread+0x337/0x6f0
[   18.079784]  ret_from_fork+0x116/0x1d0
[   18.079987]  ret_from_fork_asm+0x1a/0x30
[   18.080152] 
[   18.080254] freed by task 330 on cpu 0 at 18.074656s (0.005595s ago):
[   18.080598]  test_corruption+0x2d2/0x3e0
[   18.080790]  kunit_try_run_case+0x1a5/0x480
[   18.081025]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.081350]  kthread+0x337/0x6f0
[   18.081524]  ret_from_fork+0x116/0x1d0
[   18.081660]  ret_from_fork_asm+0x1a/0x30
[   18.082007] 
[   18.082140] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.082603] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.083299] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.083760] ==================================================================