Hay
Date
July 1, 2025, 3:08 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.022056] ==================================================================
[   23.022170] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   23.022170] 
[   23.022238] Corrupted memory at 0x00000000a28d8878 [ ! . . . . . . . . . . . . . . . ] (in kfence-#107):
[   23.023364]  test_corruption+0x278/0x378
[   23.023416]  kunit_try_run_case+0x170/0x3f0
[   23.023459]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.023506]  kthread+0x328/0x630
[   23.023545]  ret_from_fork+0x10/0x20
[   23.023597] 
[   23.023620] kfence-#107: 0x000000007fe25bd5-0x000000003edd4e82, size=32, cache=kmalloc-32
[   23.023620] 
[   23.023677] allocated by task 312 on cpu 1 at 23.021767s (0.001906s ago):
[   23.023740]  test_alloc+0x29c/0x628
[   23.023780]  test_corruption+0xdc/0x378
[   23.023821]  kunit_try_run_case+0x170/0x3f0
[   23.023862]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.023906]  kthread+0x328/0x630
[   23.023940]  ret_from_fork+0x10/0x20
[   23.023979] 
[   23.024003] freed by task 312 on cpu 1 at 23.021872s (0.002127s ago):
[   23.024062]  test_corruption+0x278/0x378
[   23.024103]  kunit_try_run_case+0x170/0x3f0
[   23.024142]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.024186]  kthread+0x328/0x630
[   23.024221]  ret_from_fork+0x10/0x20
[   23.024260] 
[   23.024302] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.024381] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.024411] Hardware name: linux,dummy-virt (DT)
[   23.024447] ==================================================================
[   23.333993] ==================================================================
[   23.334087] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   23.334087] 
[   23.334149] Corrupted memory at 0x0000000044bc53f1 [ ! ] (in kfence-#110):
[   23.334265]  test_corruption+0x1d8/0x378
[   23.334310]  kunit_try_run_case+0x170/0x3f0
[   23.334353]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.334400]  kthread+0x328/0x630
[   23.334439]  ret_from_fork+0x10/0x20
[   23.334478] 
[   23.334501] kfence-#110: 0x000000008fab35e5-0x00000000786d54e2, size=32, cache=test
[   23.334501] 
[   23.334556] allocated by task 314 on cpu 1 at 23.333844s (0.000708s ago):
[   23.334632]  test_alloc+0x230/0x628
[   23.334673]  test_corruption+0x198/0x378
[   23.334714]  kunit_try_run_case+0x170/0x3f0
[   23.334752]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.334797]  kthread+0x328/0x630
[   23.334833]  ret_from_fork+0x10/0x20
[   23.334872] 
[   23.334895] freed by task 314 on cpu 1 at 23.333905s (0.000986s ago):
[   23.334955]  test_corruption+0x1d8/0x378
[   23.334993]  kunit_try_run_case+0x170/0x3f0
[   23.335033]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.335076]  kthread+0x328/0x630
[   23.335111]  ret_from_fork+0x10/0x20
[   23.335150] 
[   23.335193] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.335269] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.335299] Hardware name: linux,dummy-virt (DT)
[   23.335333] ==================================================================
[   23.229908] ==================================================================
[   23.229994] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   23.229994] 
[   23.230055] Corrupted memory at 0x000000007a483344 [ ! . . . . . . . . . . . . . . . ] (in kfence-#109):
[   23.230364]  test_corruption+0x120/0x378
[   23.230415]  kunit_try_run_case+0x170/0x3f0
[   23.230461]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.230507]  kthread+0x328/0x630
[   23.230546]  ret_from_fork+0x10/0x20
[   23.230599] 
[   23.230623] kfence-#109: 0x0000000087f0ab42-0x000000005a282671, size=32, cache=test
[   23.230623] 
[   23.230679] allocated by task 314 on cpu 1 at 23.229770s (0.000905s ago):
[   23.230742]  test_alloc+0x230/0x628
[   23.230782]  test_corruption+0xdc/0x378
[   23.230822]  kunit_try_run_case+0x170/0x3f0
[   23.230863]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.230906]  kthread+0x328/0x630
[   23.230942]  ret_from_fork+0x10/0x20
[   23.230981] 
[   23.231004] freed by task 314 on cpu 1 at 23.229826s (0.001174s ago):
[   23.231065]  test_corruption+0x120/0x378
[   23.231104]  kunit_try_run_case+0x170/0x3f0
[   23.231143]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.231187]  kthread+0x328/0x630
[   23.231223]  ret_from_fork+0x10/0x20
[   23.231263] 
[   23.231305] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.231381] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.231410] Hardware name: linux,dummy-virt (DT)
[   23.231443] ==================================================================
[   23.126022] ==================================================================
[   23.126109] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.126109] 
[   23.126170] Corrupted memory at 0x00000000a94b93dd [ ! ] (in kfence-#108):
[   23.126296]  test_corruption+0x284/0x378
[   23.126343]  kunit_try_run_case+0x170/0x3f0
[   23.126384]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.126429]  kthread+0x328/0x630
[   23.126465]  ret_from_fork+0x10/0x20
[   23.126506] 
[   23.126529] kfence-#108: 0x00000000488c1674-0x00000000ccd3c764, size=32, cache=kmalloc-32
[   23.126529] 
[   23.126598] allocated by task 312 on cpu 1 at 23.125746s (0.000848s ago):
[   23.126660]  test_alloc+0x29c/0x628
[   23.126699]  test_corruption+0x198/0x378
[   23.126739]  kunit_try_run_case+0x170/0x3f0
[   23.126777]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.126822]  kthread+0x328/0x630
[   23.126858]  ret_from_fork+0x10/0x20
[   23.126895] 
[   23.126919] freed by task 312 on cpu 1 at 23.125855s (0.001060s ago):
[   23.126980]  test_corruption+0x284/0x378
[   23.127020]  kunit_try_run_case+0x170/0x3f0
[   23.127058]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.127101]  kthread+0x328/0x630
[   23.127137]  ret_from_fork+0x10/0x20
[   23.127174] 
[   23.127214] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.127290] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.127318] Hardware name: linux,dummy-virt (DT)
[   23.127352] ==================================================================

[   18.783143] ==================================================================
[   18.783536] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.783536] 
[   18.783924] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#89):
[   18.784505]  test_corruption+0x131/0x3e0
[   18.784694]  kunit_try_run_case+0x1a5/0x480
[   18.784915]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.785182]  kthread+0x337/0x6f0
[   18.785348]  ret_from_fork+0x116/0x1d0
[   18.785529]  ret_from_fork_asm+0x1a/0x30
[   18.785743] 
[   18.785835] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.785835] 
[   18.786203] allocated by task 330 on cpu 0 at 18.782994s (0.003206s ago):
[   18.786424]  test_alloc+0x2a6/0x10f0
[   18.786608]  test_corruption+0xe6/0x3e0
[   18.786800]  kunit_try_run_case+0x1a5/0x480
[   18.787008]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.787230]  kthread+0x337/0x6f0
[   18.787355]  ret_from_fork+0x116/0x1d0
[   18.787544]  ret_from_fork_asm+0x1a/0x30
[   18.787861] 
[   18.787960] freed by task 330 on cpu 0 at 18.783069s (0.004889s ago):
[   18.788240]  test_corruption+0x131/0x3e0
[   18.788433]  kunit_try_run_case+0x1a5/0x480
[   18.788597]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.788973]  kthread+0x337/0x6f0
[   18.789104]  ret_from_fork+0x116/0x1d0
[   18.789298]  ret_from_fork_asm+0x1a/0x30
[   18.789459] 
[   18.789564] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.789957] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.790168] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.790534] ==================================================================
[   18.575271] ==================================================================
[   18.575703] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.575703] 
[   18.576095] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#87):
[   18.576871]  test_corruption+0x2d2/0x3e0
[   18.577070]  kunit_try_run_case+0x1a5/0x480
[   18.577230]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.577492]  kthread+0x337/0x6f0
[   18.577669]  ret_from_fork+0x116/0x1d0
[   18.577947]  ret_from_fork_asm+0x1a/0x30
[   18.578145] 
[   18.578247] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.578247] 
[   18.578636] allocated by task 328 on cpu 1 at 18.574996s (0.003638s ago):
[   18.578894]  test_alloc+0x364/0x10f0
[   18.579082]  test_corruption+0xe6/0x3e0
[   18.579281]  kunit_try_run_case+0x1a5/0x480
[   18.579487]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.579665]  kthread+0x337/0x6f0
[   18.579847]  ret_from_fork+0x116/0x1d0
[   18.580136]  ret_from_fork_asm+0x1a/0x30
[   18.580314] 
[   18.580390] freed by task 328 on cpu 1 at 18.575110s (0.005277s ago):
[   18.580651]  test_corruption+0x2d2/0x3e0
[   18.580854]  kunit_try_run_case+0x1a5/0x480
[   18.581077]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.581305]  kthread+0x337/0x6f0
[   18.581434]  ret_from_fork+0x116/0x1d0
[   18.581628]  ret_from_fork_asm+0x1a/0x30
[   18.581815] 
[   18.581944] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.582290] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.582447] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.582893] ==================================================================
[   18.679340] ==================================================================
[   18.679740] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.679740] 
[   18.680048] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#88):
[   18.680452]  test_corruption+0x2df/0x3e0
[   18.680662]  kunit_try_run_case+0x1a5/0x480
[   18.680930]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.681158]  kthread+0x337/0x6f0
[   18.681292]  ret_from_fork+0x116/0x1d0
[   18.681438]  ret_from_fork_asm+0x1a/0x30
[   18.681648] 
[   18.681751] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.681751] 
[   18.682198] allocated by task 328 on cpu 1 at 18.679092s (0.003104s ago):
[   18.682535]  test_alloc+0x364/0x10f0
[   18.682704]  test_corruption+0x1cb/0x3e0
[   18.682845]  kunit_try_run_case+0x1a5/0x480
[   18.683219]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.683436]  kthread+0x337/0x6f0
[   18.683559]  ret_from_fork+0x116/0x1d0
[   18.683742]  ret_from_fork_asm+0x1a/0x30
[   18.684039] 
[   18.684146] freed by task 328 on cpu 1 at 18.679189s (0.004955s ago):
[   18.684362]  test_corruption+0x2df/0x3e0
[   18.684547]  kunit_try_run_case+0x1a5/0x480
[   18.684755]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.685030]  kthread+0x337/0x6f0
[   18.685152]  ret_from_fork+0x116/0x1d0
[   18.685282]  ret_from_fork_asm+0x1a/0x30
[   18.685511] 
[   18.685635] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.686136] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.686348] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.686784] ==================================================================
[   19.199060] ==================================================================
[   19.199451] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   19.199451] 
[   19.199722] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#93):
[   19.200137]  test_corruption+0x216/0x3e0
[   19.200354]  kunit_try_run_case+0x1a5/0x480
[   19.200580]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.200824]  kthread+0x337/0x6f0
[   19.200954]  ret_from_fork+0x116/0x1d0
[   19.201162]  ret_from_fork_asm+0x1a/0x30
[   19.201364] 
[   19.201465] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.201465] 
[   19.201856] allocated by task 330 on cpu 0 at 19.198909s (0.002945s ago):
[   19.202151]  test_alloc+0x2a6/0x10f0
[   19.202293]  test_corruption+0x1cb/0x3e0
[   19.202497]  kunit_try_run_case+0x1a5/0x480
[   19.202712]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.202904]  kthread+0x337/0x6f0
[   19.203040]  ret_from_fork+0x116/0x1d0
[   19.203174]  ret_from_fork_asm+0x1a/0x30
[   19.203376] 
[   19.203472] freed by task 330 on cpu 0 at 19.198970s (0.004500s ago):
[   19.203779]  test_corruption+0x216/0x3e0
[   19.203948]  kunit_try_run_case+0x1a5/0x480
[   19.204110]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.204507]  kthread+0x337/0x6f0
[   19.204699]  ret_from_fork+0x116/0x1d0
[   19.204901]  ret_from_fork_asm+0x1a/0x30
[   19.205100] 
[   19.205207] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   19.205620] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.205760] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.206125] ==================================================================