Hay
Date
May 12, 2025, 11:48 a.m.

Environment
qemu-arm64
qemu-x86_64

[   21.658665] ==================================================================
[   21.658747] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   21.658747] 
[   21.658813] Corrupted memory at 0x00000000afb8e7a5 [ ! . . . . . . . . . . . . . . . ] (in kfence-#108):
[   21.659128]  test_corruption+0x278/0x378
[   21.659177]  kunit_try_run_case+0x170/0x3f0
[   21.659221]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.659264]  kthread+0x328/0x630
[   21.659306]  ret_from_fork+0x10/0x20
[   21.659345] 
[   21.659368] kfence-#108: 0x00000000106a56f1-0x0000000026f0997b, size=32, cache=kmalloc-32
[   21.659368] 
[   21.659425] allocated by task 311 on cpu 1 at 21.658472s (0.000949s ago):
[   21.659487]  test_alloc+0x29c/0x628
[   21.659527]  test_corruption+0xdc/0x378
[   21.659563]  kunit_try_run_case+0x170/0x3f0
[   21.659602]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.659643]  kthread+0x328/0x630
[   21.659679]  ret_from_fork+0x10/0x20
[   21.659715] 
[   21.659738] freed by task 311 on cpu 1 at 21.658579s (0.001155s ago):
[   21.659796]  test_corruption+0x278/0x378
[   21.659833]  kunit_try_run_case+0x170/0x3f0
[   21.659870]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.659910]  kthread+0x328/0x630
[   21.659947]  ret_from_fork+0x10/0x20
[   21.659984] 
[   21.660027] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT 
[   21.660118] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.660148] Hardware name: linux,dummy-virt (DT)
[   21.660182] ==================================================================
[   21.970945] ==================================================================
[   21.971086] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   21.971086] 
[   21.971156] Corrupted memory at 0x000000004ee2c1c8 [ ! ] (in kfence-#111):
[   21.971297]  test_corruption+0x284/0x378
[   21.971344]  kunit_try_run_case+0x170/0x3f0
[   21.971386]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.971429]  kthread+0x328/0x630
[   21.971468]  ret_from_fork+0x10/0x20
[   21.971507] 
[   21.971530] kfence-#111: 0x00000000bbe87463-0x000000007b233d5a, size=32, cache=kmalloc-32
[   21.971530] 
[   21.971586] allocated by task 311 on cpu 1 at 21.970525s (0.001058s ago):
[   21.971650]  test_alloc+0x29c/0x628
[   21.971690]  test_corruption+0x198/0x378
[   21.971727]  kunit_try_run_case+0x170/0x3f0
[   21.971764]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.971803]  kthread+0x328/0x630
[   21.971842]  ret_from_fork+0x10/0x20
[   21.971879] 
[   21.971901] freed by task 311 on cpu 1 at 21.970683s (0.001214s ago):
[   21.971959]  test_corruption+0x284/0x378
[   21.971998]  kunit_try_run_case+0x170/0x3f0
[   21.972035]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.972089]  kthread+0x328/0x630
[   21.972128]  ret_from_fork+0x10/0x20
[   21.972165] 
[   21.972207] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT 
[   21.972285] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.972316] Hardware name: linux,dummy-virt (DT)
[   21.972351] ==================================================================
[   22.698749] ==================================================================
[   22.698927] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   22.698927] 
[   22.699023] Corrupted memory at 0x0000000073290a23 [ ! . . . . . . . . . . . . . . . ] (in kfence-#118):
[   22.699341]  test_corruption+0x120/0x378
[   22.699391]  kunit_try_run_case+0x170/0x3f0
[   22.699434]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.699477]  kthread+0x328/0x630
[   22.699515]  ret_from_fork+0x10/0x20
[   22.699553] 
[   22.699576] kfence-#118: 0x00000000b67e8002-0x0000000042d19729, size=32, cache=test
[   22.699576] 
[   22.699633] allocated by task 313 on cpu 1 at 22.698511s (0.001119s ago):
[   22.699698]  test_alloc+0x230/0x628
[   22.699739]  test_corruption+0xdc/0x378
[   22.699778]  kunit_try_run_case+0x170/0x3f0
[   22.699814]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.699854]  kthread+0x328/0x630
[   22.699890]  ret_from_fork+0x10/0x20
[   22.699928] 
[   22.699953] freed by task 313 on cpu 1 at 22.698604s (0.001345s ago):
[   22.700010]  test_corruption+0x120/0x378
[   22.700057]  kunit_try_run_case+0x170/0x3f0
[   22.700097]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.700138]  kthread+0x328/0x630
[   22.700176]  ret_from_fork+0x10/0x20
[   22.700212] 
[   22.700259] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT 
[   22.700336] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.700366] Hardware name: linux,dummy-virt (DT)
[   22.700398] ==================================================================
[   23.010775] ==================================================================
[   23.010943] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   23.010943] 
[   23.011062] Corrupted memory at 0x000000001dfa8df5 [ ! ] (in kfence-#121):
[   23.011186]  test_corruption+0x1d8/0x378
[   23.011233]  kunit_try_run_case+0x170/0x3f0
[   23.011276]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.011318]  kthread+0x328/0x630
[   23.011359]  ret_from_fork+0x10/0x20
[   23.011396] 
[   23.011421] kfence-#121: 0x00000000a57fa0bf-0x0000000084dabe98, size=32, cache=test
[   23.011421] 
[   23.011477] allocated by task 313 on cpu 1 at 23.010536s (0.000937s ago):
[   23.011542]  test_alloc+0x230/0x628
[   23.011582]  test_corruption+0x198/0x378
[   23.011621]  kunit_try_run_case+0x170/0x3f0
[   23.011659]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.011700]  kthread+0x328/0x630
[   23.011737]  ret_from_fork+0x10/0x20
[   23.011774] 
[   23.011798] freed by task 313 on cpu 1 at 23.010632s (0.001162s ago):
[   23.011856]  test_corruption+0x1d8/0x378
[   23.011895]  kunit_try_run_case+0x170/0x3f0
[   23.011932]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.011973]  kthread+0x328/0x630
[   23.012010]  ret_from_fork+0x10/0x20
[   23.012058] 
[   23.012101] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT 
[   23.012180] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.012210] Hardware name: linux,dummy-virt (DT)
[   23.012244] ==================================================================

[   25.489912] ==================================================================
[   25.490373] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   25.490373] 
[   25.490675] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#116):
[   25.491342]  test_corruption+0x216/0x3e0
[   25.491692]  kunit_try_run_case+0x1a5/0x480
[   25.492090]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.492428]  kthread+0x337/0x6f0
[   25.492747]  ret_from_fork+0x116/0x1d0
[   25.493027]  ret_from_fork_asm+0x1a/0x30
[   25.493239] 
[   25.493392] kfence-#116: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   25.493392] 
[   25.494118] allocated by task 330 on cpu 0 at 25.489687s (0.004425s ago):
[   25.494658]  test_alloc+0x2a6/0x10f0
[   25.494902]  test_corruption+0x1cb/0x3e0
[   25.495142]  kunit_try_run_case+0x1a5/0x480
[   25.495600]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.496059]  kthread+0x337/0x6f0
[   25.496376]  ret_from_fork+0x116/0x1d0
[   25.496619]  ret_from_fork_asm+0x1a/0x30
[   25.497009] 
[   25.497192] freed by task 330 on cpu 0 at 25.489777s (0.007409s ago):
[   25.497499]  test_corruption+0x216/0x3e0
[   25.497795]  kunit_try_run_case+0x1a5/0x480
[   25.498357]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.499788]  kthread+0x337/0x6f0
[   25.500138]  ret_from_fork+0x116/0x1d0
[   25.500369]  ret_from_fork_asm+0x1a/0x30
[   25.500493] 
[   25.500592] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT(voluntary) 
[   25.501481] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.501829] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.502295] ==================================================================
[   24.866032] ==================================================================
[   24.866544] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   24.866544] 
[   24.866858] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#110):
[   24.868303]  test_corruption+0x2d2/0x3e0
[   24.868555]  kunit_try_run_case+0x1a5/0x480
[   24.869058]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.869346]  kthread+0x337/0x6f0
[   24.869602]  ret_from_fork+0x116/0x1d0
[   24.870038]  ret_from_fork_asm+0x1a/0x30
[   24.870367] 
[   24.870488] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   24.870488] 
[   24.871160] allocated by task 328 on cpu 1 at 24.865644s (0.005510s ago):
[   24.871477]  test_alloc+0x364/0x10f0
[   24.871769]  test_corruption+0xe6/0x3e0
[   24.872116]  kunit_try_run_case+0x1a5/0x480
[   24.872499]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.873011]  kthread+0x337/0x6f0
[   24.873298]  ret_from_fork+0x116/0x1d0
[   24.873512]  ret_from_fork_asm+0x1a/0x30
[   24.873710] 
[   24.873829] freed by task 328 on cpu 1 at 24.865783s (0.008041s ago):
[   24.874357]  test_corruption+0x2d2/0x3e0
[   24.874856]  kunit_try_run_case+0x1a5/0x480
[   24.875234]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.875477]  kthread+0x337/0x6f0
[   24.875777]  ret_from_fork+0x116/0x1d0
[   24.876117]  ret_from_fork_asm+0x1a/0x30
[   24.876398] 
[   24.876571] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT(voluntary) 
[   24.877598] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.877858] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.878307] ==================================================================
[   24.970083] ==================================================================
[   24.970523] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   24.970523] 
[   24.970807] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#111):
[   24.971358]  test_corruption+0x2df/0x3e0
[   24.971717]  kunit_try_run_case+0x1a5/0x480
[   24.972025]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.972254]  kthread+0x337/0x6f0
[   24.972548]  ret_from_fork+0x116/0x1d0
[   24.972962]  ret_from_fork_asm+0x1a/0x30
[   24.973168] 
[   24.973306] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   24.973306] 
[   24.973878] allocated by task 328 on cpu 1 at 24.969698s (0.004174s ago):
[   24.974444]  test_alloc+0x364/0x10f0
[   24.974646]  test_corruption+0x1cb/0x3e0
[   24.974844]  kunit_try_run_case+0x1a5/0x480
[   24.975384]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.975774]  kthread+0x337/0x6f0
[   24.976120]  ret_from_fork+0x116/0x1d0
[   24.976458]  ret_from_fork_asm+0x1a/0x30
[   24.976837] 
[   24.976970] freed by task 328 on cpu 1 at 24.969832s (0.007133s ago):
[   24.977312]  test_corruption+0x2df/0x3e0
[   24.977580]  kunit_try_run_case+0x1a5/0x480
[   24.978057]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.978451]  kthread+0x337/0x6f0
[   24.978689]  ret_from_fork+0x116/0x1d0
[   24.978935]  ret_from_fork_asm+0x1a/0x30
[   24.979150] 
[   24.979336] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT(voluntary) 
[   24.979850] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.980211] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.980982] ==================================================================
[   25.177840] ==================================================================
[   25.178420] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   25.178420] 
[   25.178710] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#113):
[   25.179568]  test_corruption+0x131/0x3e0
[   25.179942]  kunit_try_run_case+0x1a5/0x480
[   25.180386]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.180673]  kthread+0x337/0x6f0
[   25.181238]  ret_from_fork+0x116/0x1d0
[   25.181627]  ret_from_fork_asm+0x1a/0x30
[   25.181991] 
[   25.182111] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   25.182111] 
[   25.182691] allocated by task 330 on cpu 0 at 25.177641s (0.005043s ago):
[   25.183250]  test_alloc+0x2a6/0x10f0
[   25.183614]  test_corruption+0xe6/0x3e0
[   25.184617]  kunit_try_run_case+0x1a5/0x480
[   25.185002]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.185212]  kthread+0x337/0x6f0
[   25.185538]  ret_from_fork+0x116/0x1d0
[   25.186076]  ret_from_fork_asm+0x1a/0x30
[   25.186411] 
[   25.186591] freed by task 330 on cpu 0 at 25.177723s (0.008863s ago):
[   25.187049]  test_corruption+0x131/0x3e0
[   25.187286]  kunit_try_run_case+0x1a5/0x480
[   25.187653]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.187937]  kthread+0x337/0x6f0
[   25.188296]  ret_from_fork+0x116/0x1d0
[   25.188537]  ret_from_fork_asm+0x1a/0x30
[   25.188809] 
[   25.189505] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250512 #1 PREEMPT(voluntary) 
[   25.190289] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.190563] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.191321] ==================================================================