Hay
Date
July 23, 2025, 2:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   21.555133] ==================================================================
[   21.555226] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   21.555226] 
[   21.555289] Corrupted memory at 0x00000000e8517158 [ ! ] (in kfence-#102):
[   21.555406]  test_corruption+0x1d8/0x378
[   21.555453]  kunit_try_run_case+0x170/0x3f0
[   21.555497]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.555541]  kthread+0x328/0x630
[   21.555580]  ret_from_fork+0x10/0x20
[   21.555621] 
[   21.555645] kfence-#102: 0x000000002c8dac0d-0x00000000a698ded9, size=32, cache=test
[   21.555645] 
[   21.555703] allocated by task 313 on cpu 1 at 21.554989s (0.000710s ago):
[   21.555764]  test_alloc+0x230/0x628
[   21.555805]  test_corruption+0x198/0x378
[   21.555847]  kunit_try_run_case+0x170/0x3f0
[   21.555897]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.555941]  kthread+0x328/0x630
[   21.555978]  ret_from_fork+0x10/0x20
[   21.556016] 
[   21.556042] freed by task 313 on cpu 1 at 21.555050s (0.000989s ago):
[   21.556101]  test_corruption+0x1d8/0x378
[   21.556142]  kunit_try_run_case+0x170/0x3f0
[   21.556183]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.556225]  kthread+0x328/0x630
[   21.556261]  ret_from_fork+0x10/0x20
[   21.556300] 
[   21.556340] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   21.556418] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.556446] Hardware name: linux,dummy-virt (DT)
[   21.556478] ==================================================================
[   20.827261] ==================================================================
[   20.827369] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   20.827369] 
[   20.827560] Corrupted memory at 0x0000000001164037 [ ! . . . . . . . . . . . . . . . ] (in kfence-#95):
[   20.828674]  test_corruption+0x278/0x378
[   20.828728]  kunit_try_run_case+0x170/0x3f0
[   20.828774]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.828820]  kthread+0x328/0x630
[   20.828871]  ret_from_fork+0x10/0x20
[   20.828911] 
[   20.828938] kfence-#95: 0x000000007d16e189-0x000000006ee2dcb9, size=32, cache=kmalloc-32
[   20.828938] 
[   20.828995] allocated by task 311 on cpu 1 at 20.826982s (0.002009s ago):
[   20.829058]  test_alloc+0x29c/0x628
[   20.829100]  test_corruption+0xdc/0x378
[   20.829142]  kunit_try_run_case+0x170/0x3f0
[   20.829182]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.829225]  kthread+0x328/0x630
[   20.829261]  ret_from_fork+0x10/0x20
[   20.829301] 
[   20.829324] freed by task 311 on cpu 1 at 20.827087s (0.002234s ago):
[   20.829384]  test_corruption+0x278/0x378
[   20.829424]  kunit_try_run_case+0x170/0x3f0
[   20.829464]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.829506]  kthread+0x328/0x630
[   20.829542]  ret_from_fork+0x10/0x20
[   20.829582] 
[   20.829625] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   20.829705] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.829734] Hardware name: linux,dummy-virt (DT)
[   20.829770] ==================================================================
[   21.035077] ==================================================================
[   21.035169] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   21.035169] 
[   21.035233] Corrupted memory at 0x00000000d4bc3a8b [ ! . . . . . . . . . . . . . . . ] (in kfence-#97):
[   21.035544]  test_corruption+0x120/0x378
[   21.035592]  kunit_try_run_case+0x170/0x3f0
[   21.035636]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.035681]  kthread+0x328/0x630
[   21.035720]  ret_from_fork+0x10/0x20
[   21.035760] 
[   21.035784] kfence-#97: 0x00000000848742c9-0x00000000c7ee2a21, size=32, cache=test
[   21.035784] 
[   21.035840] allocated by task 313 on cpu 1 at 21.034936s (0.000900s ago):
[   21.035914]  test_alloc+0x230/0x628
[   21.035956]  test_corruption+0xdc/0x378
[   21.035997]  kunit_try_run_case+0x170/0x3f0
[   21.036038]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.036082]  kthread+0x328/0x630
[   21.036119]  ret_from_fork+0x10/0x20
[   21.036158] 
[   21.036182] freed by task 313 on cpu 1 at 21.034996s (0.001182s ago):
[   21.036242]  test_corruption+0x120/0x378
[   21.036283]  kunit_try_run_case+0x170/0x3f0
[   21.036323]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.036367]  kthread+0x328/0x630
[   21.036403]  ret_from_fork+0x10/0x20
[   21.036445] 
[   21.036485] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   21.036564] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.036592] Hardware name: linux,dummy-virt (DT)
[   21.036626] ==================================================================
[   20.931319] ==================================================================
[   20.931410] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   20.931410] 
[   20.931474] Corrupted memory at 0x000000002835379b [ ! ] (in kfence-#96):
[   20.931601]  test_corruption+0x284/0x378
[   20.931649]  kunit_try_run_case+0x170/0x3f0
[   20.931693]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.931740]  kthread+0x328/0x630
[   20.931779]  ret_from_fork+0x10/0x20
[   20.931819] 
[   20.931843] kfence-#96: 0x00000000d4b7bd2c-0x000000002b9ec504, size=32, cache=kmalloc-32
[   20.931843] 
[   20.931919] allocated by task 311 on cpu 1 at 20.931050s (0.000865s ago):
[   20.931982]  test_alloc+0x29c/0x628
[   20.932024]  test_corruption+0x198/0x378
[   20.932063]  kunit_try_run_case+0x170/0x3f0
[   20.932103]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.932145]  kthread+0x328/0x630
[   20.932182]  ret_from_fork+0x10/0x20
[   20.932222] 
[   20.932246] freed by task 311 on cpu 1 at 20.931156s (0.001087s ago):
[   20.932305]  test_corruption+0x284/0x378
[   20.932344]  kunit_try_run_case+0x170/0x3f0
[   20.932384]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.932428]  kthread+0x328/0x630
[   20.932463]  ret_from_fork+0x10/0x20
[   20.932502] 
[   20.932542] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   20.932618] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.932647] Hardware name: linux,dummy-virt (DT)
[   20.932681] ==================================================================

[   20.500712] ==================================================================
[   20.501153] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   20.501153] 
[   20.501517] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#95):
[   20.502250]  test_corruption+0x2d2/0x3e0
[   20.502454]  kunit_try_run_case+0x1a5/0x480
[   20.502634]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.502924]  kthread+0x337/0x6f0
[   20.503122]  ret_from_fork+0x116/0x1d0
[   20.503276]  ret_from_fork_asm+0x1a/0x30
[   20.503482] 
[   20.503607] kfence-#95: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.503607] 
[   20.503984] allocated by task 328 on cpu 0 at 20.500528s (0.003454s ago):
[   20.504433]  test_alloc+0x364/0x10f0
[   20.504669]  test_corruption+0xe6/0x3e0
[   20.504819]  kunit_try_run_case+0x1a5/0x480
[   20.505026]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.505265]  kthread+0x337/0x6f0
[   20.505453]  ret_from_fork+0x116/0x1d0
[   20.505666]  ret_from_fork_asm+0x1a/0x30
[   20.505875] 
[   20.505974] freed by task 328 on cpu 0 at 20.500631s (0.005340s ago):
[   20.506297]  test_corruption+0x2d2/0x3e0
[   20.506472]  kunit_try_run_case+0x1a5/0x480
[   20.506689]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.506984]  kthread+0x337/0x6f0
[   20.507196]  ret_from_fork+0x116/0x1d0
[   20.507379]  ret_from_fork_asm+0x1a/0x30
[   20.507575] 
[   20.507697] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   20.508231] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.508398] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.508792] ==================================================================
[   20.708650] ==================================================================
[   20.709048] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   20.709048] 
[   20.709410] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#97):
[   20.710027]  test_corruption+0x131/0x3e0
[   20.710229]  kunit_try_run_case+0x1a5/0x480
[   20.710674]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.710925]  kthread+0x337/0x6f0
[   20.711103]  ret_from_fork+0x116/0x1d0
[   20.711485]  ret_from_fork_asm+0x1a/0x30
[   20.711850] 
[   20.711940] kfence-#97: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.711940] 
[   20.712449] allocated by task 330 on cpu 1 at 20.708535s (0.003911s ago):
[   20.712923]  test_alloc+0x2a6/0x10f0
[   20.713126]  test_corruption+0xe6/0x3e0
[   20.713302]  kunit_try_run_case+0x1a5/0x480
[   20.713502]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.713739]  kthread+0x337/0x6f0
[   20.713904]  ret_from_fork+0x116/0x1d0
[   20.714076]  ret_from_fork_asm+0x1a/0x30
[   20.714662] 
[   20.714762] freed by task 330 on cpu 1 at 20.708583s (0.006176s ago):
[   20.715033]  test_corruption+0x131/0x3e0
[   20.715360]  kunit_try_run_case+0x1a5/0x480
[   20.715643]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.715868]  kthread+0x337/0x6f0
[   20.716204]  ret_from_fork+0x116/0x1d0
[   20.716498]  ret_from_fork_asm+0x1a/0x30
[   20.716662] 
[   20.716792] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   20.717432] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.717705] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.718146] ==================================================================
[   20.812667] ==================================================================
[   20.813064] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   20.813064] 
[   20.813450] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#98):
[   20.814084]  test_corruption+0x216/0x3e0
[   20.814449]  kunit_try_run_case+0x1a5/0x480
[   20.814778]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.815007]  kthread+0x337/0x6f0
[   20.815337]  ret_from_fork+0x116/0x1d0
[   20.815520]  ret_from_fork_asm+0x1a/0x30
[   20.815704] 
[   20.815805] kfence-#98: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.815805] 
[   20.816157] allocated by task 330 on cpu 1 at 20.812543s (0.003612s ago):
[   20.816838]  test_alloc+0x2a6/0x10f0
[   20.817043]  test_corruption+0x1cb/0x3e0
[   20.817398]  kunit_try_run_case+0x1a5/0x480
[   20.817606]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.817999]  kthread+0x337/0x6f0
[   20.818338]  ret_from_fork+0x116/0x1d0
[   20.818523]  ret_from_fork_asm+0x1a/0x30
[   20.818815] 
[   20.818929] freed by task 330 on cpu 1 at 20.812602s (0.006324s ago):
[   20.819360]  test_corruption+0x216/0x3e0
[   20.819536]  kunit_try_run_case+0x1a5/0x480
[   20.819730]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.819975]  kthread+0x337/0x6f0
[   20.820124]  ret_from_fork+0x116/0x1d0
[   20.820539]  ret_from_fork_asm+0x1a/0x30
[   20.820820] 
[   20.820952] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   20.821641] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.821923] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.822371] ==================================================================
[   20.604839] ==================================================================
[   20.605329] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   20.605329] 
[   20.605701] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#96):
[   20.606111]  test_corruption+0x2df/0x3e0
[   20.606318]  kunit_try_run_case+0x1a5/0x480
[   20.606531]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.606780]  kthread+0x337/0x6f0
[   20.606967]  ret_from_fork+0x116/0x1d0
[   20.607231]  ret_from_fork_asm+0x1a/0x30
[   20.607477] 
[   20.607594] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.607594] 
[   20.608025] allocated by task 328 on cpu 0 at 20.604568s (0.003455s ago):
[   20.608364]  test_alloc+0x364/0x10f0
[   20.608556]  test_corruption+0x1cb/0x3e0
[   20.608752]  kunit_try_run_case+0x1a5/0x480
[   20.608981]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.609289]  kthread+0x337/0x6f0
[   20.609501]  ret_from_fork+0x116/0x1d0
[   20.609652]  ret_from_fork_asm+0x1a/0x30
[   20.609791] 
[   20.609874] freed by task 328 on cpu 0 at 20.604671s (0.005200s ago):
[   20.610271]  test_corruption+0x2df/0x3e0
[   20.610481]  kunit_try_run_case+0x1a5/0x480
[   20.610690]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.610925]  kthread+0x337/0x6f0
[   20.611076]  ret_from_fork+0x116/0x1d0
[   20.611268]  ret_from_fork_asm+0x1a/0x30
[   20.611483] 
[   20.611644] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   20.612215] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.612476] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.612934] ==================================================================