Hay
Date
July 1, 2025, 12:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   23.403626] ==================================================================
[   23.403740] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   23.403740] 
[   23.403807] Corrupted memory at 0x000000005e5cf4e0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#107):
[   23.404954]  test_corruption+0x278/0x378
[   23.405007]  kunit_try_run_case+0x170/0x3f0
[   23.405053]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.405104]  kthread+0x328/0x630
[   23.405144]  ret_from_fork+0x10/0x20
[   23.405185] 
[   23.405209] kfence-#107: 0x00000000045ae702-0x000000007b772a88, size=32, cache=kmalloc-32
[   23.405209] 
[   23.405268] allocated by task 311 on cpu 1 at 23.403309s (0.001956s ago):
[   23.405331]  test_alloc+0x29c/0x628
[   23.405372]  test_corruption+0xdc/0x378
[   23.405413]  kunit_try_run_case+0x170/0x3f0
[   23.405467]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.405511]  kthread+0x328/0x630
[   23.405548]  ret_from_fork+0x10/0x20
[   23.405588] 
[   23.405613] freed by task 311 on cpu 1 at 23.403417s (0.002191s ago):
[   23.405674]  test_corruption+0x278/0x378
[   23.405712]  kunit_try_run_case+0x170/0x3f0
[   23.405753]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.405799]  kthread+0x328/0x630
[   23.405835]  ret_from_fork+0x10/0x20
[   23.405874] 
[   23.405921] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.406000] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.406030] Hardware name: linux,dummy-virt (DT)
[   23.406067] ==================================================================
[   23.611573] ==================================================================
[   23.611661] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   23.611661] 
[   23.611724] Corrupted memory at 0x00000000d131c413 [ ! . . . . . . . . . . . . . . . ] (in kfence-#109):
[   23.612032]  test_corruption+0x120/0x378
[   23.612078]  kunit_try_run_case+0x170/0x3f0
[   23.612122]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.612166]  kthread+0x328/0x630
[   23.612204]  ret_from_fork+0x10/0x20
[   23.612245] 
[   23.612268] kfence-#109: 0x0000000095815c72-0x000000002be5e1d7, size=32, cache=test
[   23.612268] 
[   23.612323] allocated by task 313 on cpu 1 at 23.611409s (0.000911s ago):
[   23.612384]  test_alloc+0x230/0x628
[   23.612425]  test_corruption+0xdc/0x378
[   23.612480]  kunit_try_run_case+0x170/0x3f0
[   23.612520]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.612565]  kthread+0x328/0x630
[   23.612602]  ret_from_fork+0x10/0x20
[   23.612641] 
[   23.612665] freed by task 313 on cpu 1 at 23.611488s (0.001174s ago):
[   23.612728]  test_corruption+0x120/0x378
[   23.612769]  kunit_try_run_case+0x170/0x3f0
[   23.612809]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.612853]  kthread+0x328/0x630
[   23.612888]  ret_from_fork+0x10/0x20
[   23.612928] 
[   23.612969] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.613045] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.613075] Hardware name: linux,dummy-virt (DT)
[   23.613109] ==================================================================
[   23.715602] ==================================================================
[   23.715694] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   23.715694] 
[   23.715756] Corrupted memory at 0x00000000777b1688 [ ! ] (in kfence-#110):
[   23.715871]  test_corruption+0x1d8/0x378
[   23.715915]  kunit_try_run_case+0x170/0x3f0
[   23.715958]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.716004]  kthread+0x328/0x630
[   23.716041]  ret_from_fork+0x10/0x20
[   23.716083] 
[   23.716108] kfence-#110: 0x0000000000eb045d-0x00000000655f619e, size=32, cache=test
[   23.716108] 
[   23.716164] allocated by task 313 on cpu 1 at 23.715456s (0.000705s ago):
[   23.716227]  test_alloc+0x230/0x628
[   23.716267]  test_corruption+0x198/0x378
[   23.716307]  kunit_try_run_case+0x170/0x3f0
[   23.716347]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.716390]  kthread+0x328/0x630
[   23.716424]  ret_from_fork+0x10/0x20
[   23.716477] 
[   23.716499] freed by task 313 on cpu 1 at 23.715519s (0.000976s ago):
[   23.716561]  test_corruption+0x1d8/0x378
[   23.716600]  kunit_try_run_case+0x170/0x3f0
[   23.716639]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.716683]  kthread+0x328/0x630
[   23.716717]  ret_from_fork+0x10/0x20
[   23.716755] 
[   23.716798] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.716874] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.716904] Hardware name: linux,dummy-virt (DT)
[   23.716938] ==================================================================
[   23.507658] ==================================================================
[   23.507746] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.507746] 
[   23.507806] Corrupted memory at 0x000000007a82e498 [ ! ] (in kfence-#108):
[   23.507931]  test_corruption+0x284/0x378
[   23.507977]  kunit_try_run_case+0x170/0x3f0
[   23.508021]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.508066]  kthread+0x328/0x630
[   23.508103]  ret_from_fork+0x10/0x20
[   23.508144] 
[   23.508167] kfence-#108: 0x000000000275d15e-0x000000004aba4047, size=32, cache=kmalloc-32
[   23.508167] 
[   23.508223] allocated by task 311 on cpu 1 at 23.507370s (0.000850s ago):
[   23.508284]  test_alloc+0x29c/0x628
[   23.508323]  test_corruption+0x198/0x378
[   23.508362]  kunit_try_run_case+0x170/0x3f0
[   23.508402]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.508462]  kthread+0x328/0x630
[   23.508498]  ret_from_fork+0x10/0x20
[   23.508537] 
[   23.508559] freed by task 311 on cpu 1 at 23.507492s (0.001063s ago):
[   23.508622]  test_corruption+0x284/0x378
[   23.508663]  kunit_try_run_case+0x170/0x3f0
[   23.508701]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.508744]  kthread+0x328/0x630
[   23.508780]  ret_from_fork+0x10/0x20
[   23.508817] 
[   23.508857] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   23.508933] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.508962] Hardware name: linux,dummy-virt (DT)
[   23.508998] ==================================================================

[   17.761640] ==================================================================
[   17.762147] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.762147] 
[   17.762496] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#80):
[   17.763179]  test_corruption+0x2d2/0x3e0
[   17.763405]  kunit_try_run_case+0x1a5/0x480
[   17.763619]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.763818]  kthread+0x337/0x6f0
[   17.763977]  ret_from_fork+0x116/0x1d0
[   17.764214]  ret_from_fork_asm+0x1a/0x30
[   17.764383] 
[   17.764459] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.764459] 
[   17.764878] allocated by task 328 on cpu 0 at 17.761404s (0.003472s ago):
[   17.765163]  test_alloc+0x364/0x10f0
[   17.765334]  test_corruption+0xe6/0x3e0
[   17.765475]  kunit_try_run_case+0x1a5/0x480
[   17.765686]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.765926]  kthread+0x337/0x6f0
[   17.766093]  ret_from_fork+0x116/0x1d0
[   17.766272]  ret_from_fork_asm+0x1a/0x30
[   17.766416] 
[   17.766488] freed by task 328 on cpu 0 at 17.761489s (0.004997s ago):
[   17.766792]  test_corruption+0x2d2/0x3e0
[   17.766986]  kunit_try_run_case+0x1a5/0x480
[   17.767202]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.767450]  kthread+0x337/0x6f0
[   17.767580]  ret_from_fork+0x116/0x1d0
[   17.767773]  ret_from_fork_asm+0x1a/0x30
[   17.767978] 
[   17.768107] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.768605] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.768803] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.769168] ==================================================================
[   17.969515] ==================================================================
[   17.969901] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   17.969901] 
[   17.970313] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#82):
[   17.970902]  test_corruption+0x131/0x3e0
[   17.971063]  kunit_try_run_case+0x1a5/0x480
[   17.971468]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.971732]  kthread+0x337/0x6f0
[   17.971892]  ret_from_fork+0x116/0x1d0
[   17.972040]  ret_from_fork_asm+0x1a/0x30
[   17.972221] 
[   17.972331] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.972331] 
[   17.972741] allocated by task 330 on cpu 0 at 17.969393s (0.003347s ago):
[   17.973013]  test_alloc+0x2a6/0x10f0
[   17.973208]  test_corruption+0xe6/0x3e0
[   17.973358]  kunit_try_run_case+0x1a5/0x480
[   17.973506]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.973758]  kthread+0x337/0x6f0
[   17.973907]  ret_from_fork+0x116/0x1d0
[   17.974048]  ret_from_fork_asm+0x1a/0x30
[   17.974357] 
[   17.974436] freed by task 330 on cpu 0 at 17.969448s (0.004985s ago):
[   17.974715]  test_corruption+0x131/0x3e0
[   17.974902]  kunit_try_run_case+0x1a5/0x480
[   17.975063]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.975372]  kthread+0x337/0x6f0
[   17.975545]  ret_from_fork+0x116/0x1d0
[   17.975711]  ret_from_fork_asm+0x1a/0x30
[   17.975881] 
[   17.975979] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.976382] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.976586] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.977058] ==================================================================
[   18.073550] ==================================================================
[   18.073931] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.073931] 
[   18.074352] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#83):
[   18.074734]  test_corruption+0x216/0x3e0
[   18.074892]  kunit_try_run_case+0x1a5/0x480
[   18.075052]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.075528]  kthread+0x337/0x6f0
[   18.075705]  ret_from_fork+0x116/0x1d0
[   18.075841]  ret_from_fork_asm+0x1a/0x30
[   18.076041] 
[   18.076142] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.076142] 
[   18.076565] allocated by task 330 on cpu 0 at 18.073421s (0.003142s ago):
[   18.076856]  test_alloc+0x2a6/0x10f0
[   18.076988]  test_corruption+0x1cb/0x3e0
[   18.077139]  kunit_try_run_case+0x1a5/0x480
[   18.077287]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.077547]  kthread+0x337/0x6f0
[   18.077723]  ret_from_fork+0x116/0x1d0
[   18.077922]  ret_from_fork_asm+0x1a/0x30
[   18.078272] 
[   18.078354] freed by task 330 on cpu 0 at 18.073482s (0.004870s ago):
[   18.078618]  test_corruption+0x216/0x3e0
[   18.078758]  kunit_try_run_case+0x1a5/0x480
[   18.078973]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.079244]  kthread+0x337/0x6f0
[   18.079457]  ret_from_fork+0x116/0x1d0
[   18.079638]  ret_from_fork_asm+0x1a/0x30
[   18.079892] 
[   18.080008] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   18.080485] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.080625] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.080919] ==================================================================
[   17.865622] ==================================================================
[   17.865997] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.865997] 
[   17.866425] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#81):
[   17.866788]  test_corruption+0x2df/0x3e0
[   17.866995]  kunit_try_run_case+0x1a5/0x480
[   17.867206]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.867486]  kthread+0x337/0x6f0
[   17.867719]  ret_from_fork+0x116/0x1d0
[   17.867866]  ret_from_fork_asm+0x1a/0x30
[   17.868080] 
[   17.868173] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.868173] 
[   17.868518] allocated by task 328 on cpu 0 at 17.865391s (0.003126s ago):
[   17.868836]  test_alloc+0x364/0x10f0
[   17.869026]  test_corruption+0x1cb/0x3e0
[   17.869234]  kunit_try_run_case+0x1a5/0x480
[   17.869432]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.869635]  kthread+0x337/0x6f0
[   17.869757]  ret_from_fork+0x116/0x1d0
[   17.869924]  ret_from_fork_asm+0x1a/0x30
[   17.870132] 
[   17.870223] freed by task 328 on cpu 0 at 17.865475s (0.004745s ago):
[   17.870523]  test_corruption+0x2df/0x3e0
[   17.870663]  kunit_try_run_case+0x1a5/0x480
[   17.870853]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.871124]  kthread+0x337/0x6f0
[   17.871306]  ret_from_fork+0x116/0x1d0
[   17.871500]  ret_from_fork_asm+0x1a/0x30
[   17.871675] 
[   17.871797] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.872292] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.872471] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.872824] ==================================================================