Hay
Date
July 24, 2025, 4:41 a.m.

Environment
qemu-arm64
qemu-x86_64

[   38.063519] ==================================================================
[   38.063611] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   38.063611] 
[   38.063671] Corrupted memory at 0x0000000022a9c0af [ ! ] (in kfence-#144):
[   38.063801]  test_corruption+0x1d8/0x378
[   38.063845]  kunit_try_run_case+0x170/0x3f0
[   38.063886]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.063929]  kthread+0x328/0x630
[   38.063970]  ret_from_fork+0x10/0x20
[   38.064012] 
[   38.064038] kfence-#144: 0x00000000bb7dd624-0x000000005d83b3f4, size=32, cache=test
[   38.064038] 
[   38.064092] allocated by task 344 on cpu 0 at 38.063375s (0.000713s ago):
[   38.064152]  test_alloc+0x230/0x628
[   38.064190]  test_corruption+0x198/0x378
[   38.064228]  kunit_try_run_case+0x170/0x3f0
[   38.064267]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.064310]  kthread+0x328/0x630
[   38.064346]  ret_from_fork+0x10/0x20
[   38.064385] 
[   38.064408] freed by task 344 on cpu 0 at 38.063436s (0.000969s ago):
[   38.064467]  test_corruption+0x1d8/0x378
[   38.064505]  kunit_try_run_case+0x170/0x3f0
[   38.064543]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.064586]  kthread+0x328/0x630
[   38.064622]  ret_from_fork+0x10/0x20
[   38.064660] 
[   38.064703] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250724 #1 PREEMPT 
[   38.064793] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.064823] Hardware name: linux,dummy-virt (DT)
[   38.064857] ==================================================================
[   37.959512] ==================================================================
[   37.959606] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   37.959606] 
[   37.959666] Corrupted memory at 0x00000000ed84e9a0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#143):
[   37.959990]  test_corruption+0x120/0x378
[   37.960035]  kunit_try_run_case+0x170/0x3f0
[   37.960077]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.960120]  kthread+0x328/0x630
[   37.960160]  ret_from_fork+0x10/0x20
[   37.960198] 
[   37.960221] kfence-#143: 0x000000005611c5ea-0x000000003ed12cd5, size=32, cache=test
[   37.960221] 
[   37.960274] allocated by task 344 on cpu 0 at 37.959366s (0.000904s ago):
[   37.960333]  test_alloc+0x230/0x628
[   37.960371]  test_corruption+0xdc/0x378
[   37.960408]  kunit_try_run_case+0x170/0x3f0
[   37.960447]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.960487]  kthread+0x328/0x630
[   37.960523]  ret_from_fork+0x10/0x20
[   37.960560] 
[   37.960584] freed by task 344 on cpu 0 at 37.959428s (0.001153s ago):
[   37.960644]  test_corruption+0x120/0x378
[   37.960680]  kunit_try_run_case+0x170/0x3f0
[   37.960718]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.960774]  kthread+0x328/0x630
[   37.960809]  ret_from_fork+0x10/0x20
[   37.960848] 
[   37.960890] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250724 #1 PREEMPT 
[   37.960968] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.960996] Hardware name: linux,dummy-virt (DT)
[   37.961030] ==================================================================
[   37.855727] ==================================================================
[   37.855839] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   37.855839] 
[   37.855899] Corrupted memory at 0x000000004117905b [ ! ] (in kfence-#142):
[   37.856028]  test_corruption+0x284/0x378
[   37.856072]  kunit_try_run_case+0x170/0x3f0
[   37.856114]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.856158]  kthread+0x328/0x630
[   37.856196]  ret_from_fork+0x10/0x20
[   37.856236] 
[   37.856261] kfence-#142: 0x000000005ec2f84c-0x000000000b84dc72, size=32, cache=kmalloc-32
[   37.856261] 
[   37.856316] allocated by task 342 on cpu 0 at 37.855453s (0.000860s ago):
[   37.856377]  test_alloc+0x29c/0x628
[   37.856413]  test_corruption+0x198/0x378
[   37.856451]  kunit_try_run_case+0x170/0x3f0
[   37.856489]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.856531]  kthread+0x328/0x630
[   37.856566]  ret_from_fork+0x10/0x20
[   37.856607] 
[   37.856630] freed by task 342 on cpu 0 at 37.855555s (0.001071s ago):
[   37.856690]  test_corruption+0x284/0x378
[   37.856728]  kunit_try_run_case+0x170/0x3f0
[   37.856780]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.856823]  kthread+0x328/0x630
[   37.856860]  ret_from_fork+0x10/0x20
[   37.856899] 
[   37.856945] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250724 #1 PREEMPT 
[   37.857024] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.857054] Hardware name: linux,dummy-virt (DT)
[   37.857088] ==================================================================
[   37.647644] ==================================================================
[   37.647771] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   37.647771] 
[   37.647838] Corrupted memory at 0x00000000039a2db0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#140):
[   37.648285]  test_corruption+0x278/0x378
[   37.648330]  kunit_try_run_case+0x170/0x3f0
[   37.648375]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.648419]  kthread+0x328/0x630
[   37.648460]  ret_from_fork+0x10/0x20
[   37.648502] 
[   37.648526] kfence-#140: 0x0000000025758105-0x0000000025af0435, size=32, cache=kmalloc-32
[   37.648526] 
[   37.648582] allocated by task 342 on cpu 0 at 37.647346s (0.001232s ago):
[   37.648645]  test_alloc+0x29c/0x628
[   37.648683]  test_corruption+0xdc/0x378
[   37.648721]  kunit_try_run_case+0x170/0x3f0
[   37.648773]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.648816]  kthread+0x328/0x630
[   37.648853]  ret_from_fork+0x10/0x20
[   37.648891] 
[   37.648914] freed by task 342 on cpu 0 at 37.647460s (0.001450s ago):
[   37.648977]  test_corruption+0x278/0x378
[   37.649014]  kunit_try_run_case+0x170/0x3f0
[   37.649051]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.649095]  kthread+0x328/0x630
[   37.649129]  ret_from_fork+0x10/0x20
[   37.649169] 
[   37.649215] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250724 #1 PREEMPT 
[   37.649293] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.649324] Hardware name: linux,dummy-virt (DT)
[   37.649358] ==================================================================

[   33.857321] ==================================================================
[   33.857725] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   33.857725] 
[   33.858057] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#110):
[   33.858638]  test_corruption+0x2df/0x3e0
[   33.858858]  kunit_try_run_case+0x1a5/0x480
[   33.859161]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.859347]  kthread+0x337/0x6f0
[   33.859518]  ret_from_fork+0x116/0x1d0
[   33.859722]  ret_from_fork_asm+0x1a/0x30
[   33.859973] 
[   33.860069] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.860069] 
[   33.860552] allocated by task 359 on cpu 1 at 33.857064s (0.003486s ago):
[   33.860829]  test_alloc+0x364/0x10f0
[   33.861025]  test_corruption+0x1cb/0x3e0
[   33.861253]  kunit_try_run_case+0x1a5/0x480
[   33.861405]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.861589]  kthread+0x337/0x6f0
[   33.861755]  ret_from_fork+0x116/0x1d0
[   33.861970]  ret_from_fork_asm+0x1a/0x30
[   33.862220] 
[   33.862312] freed by task 359 on cpu 1 at 33.857159s (0.005151s ago):
[   33.862607]  test_corruption+0x2df/0x3e0
[   33.862742]  kunit_try_run_case+0x1a5/0x480
[   33.863071]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.863316]  kthread+0x337/0x6f0
[   33.863505]  ret_from_fork+0x116/0x1d0
[   33.863646]  ret_from_fork_asm+0x1a/0x30
[   33.863783] 
[   33.863897] CPU: 1 UID: 0 PID: 359 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) 
[   33.864497] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   33.864814] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.865292] ==================================================================
[   34.169276] ==================================================================
[   34.169668] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   34.169668] 
[   34.169957] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#113):
[   34.170618]  test_corruption+0x216/0x3e0
[   34.170766]  kunit_try_run_case+0x1a5/0x480
[   34.170915]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.171398]  kthread+0x337/0x6f0
[   34.171712]  ret_from_fork+0x116/0x1d0
[   34.171919]  ret_from_fork_asm+0x1a/0x30
[   34.172074] 
[   34.172143] kfence-#113: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.172143] 
[   34.172413] allocated by task 361 on cpu 0 at 34.169153s (0.003257s ago):
[   34.172649]  test_alloc+0x2a6/0x10f0
[   34.172778]  test_corruption+0x1cb/0x3e0
[   34.172972]  kunit_try_run_case+0x1a5/0x480
[   34.173186]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.173408]  kthread+0x337/0x6f0
[   34.173562]  ret_from_fork+0x116/0x1d0
[   34.173737]  ret_from_fork_asm+0x1a/0x30
[   34.173908] 
[   34.174037] freed by task 361 on cpu 0 at 34.169198s (0.004836s ago):
[   34.174346]  test_corruption+0x216/0x3e0
[   34.174523]  kunit_try_run_case+0x1a5/0x480
[   34.174713]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.174987]  kthread+0x337/0x6f0
[   34.175149]  ret_from_fork+0x116/0x1d0
[   34.175312]  ret_from_fork_asm+0x1a/0x30
[   34.175456] 
[   34.175542] CPU: 0 UID: 0 PID: 361 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) 
[   34.175959] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   34.176282] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.176624] ==================================================================
[   33.753368] ==================================================================
[   33.753860] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   33.753860] 
[   33.754212] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#109):
[   33.755055]  test_corruption+0x2d2/0x3e0
[   33.755310]  kunit_try_run_case+0x1a5/0x480
[   33.755556]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.755750]  kthread+0x337/0x6f0
[   33.755934]  ret_from_fork+0x116/0x1d0
[   33.756175]  ret_from_fork_asm+0x1a/0x30
[   33.756377] 
[   33.756462] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   33.756462] 
[   33.756901] allocated by task 359 on cpu 1 at 33.753093s (0.003806s ago):
[   33.757135]  test_alloc+0x364/0x10f0
[   33.757388]  test_corruption+0xe6/0x3e0
[   33.757637]  kunit_try_run_case+0x1a5/0x480
[   33.757787]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.758072]  kthread+0x337/0x6f0
[   33.758285]  ret_from_fork+0x116/0x1d0
[   33.758479]  ret_from_fork_asm+0x1a/0x30
[   33.758690] 
[   33.758822] freed by task 359 on cpu 1 at 33.753198s (0.005622s ago):
[   33.759107]  test_corruption+0x2d2/0x3e0
[   33.759241]  kunit_try_run_case+0x1a5/0x480
[   33.759419]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.759710]  kthread+0x337/0x6f0
[   33.759893]  ret_from_fork+0x116/0x1d0
[   33.760101]  ret_from_fork_asm+0x1a/0x30
[   33.760308] 
[   33.760424] CPU: 1 UID: 0 PID: 359 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) 
[   33.760828] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   33.761272] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.761569] ==================================================================
[   34.065273] ==================================================================
[   34.065688] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   34.065688] 
[   34.065960] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#112):
[   34.066607]  test_corruption+0x131/0x3e0
[   34.066815]  kunit_try_run_case+0x1a5/0x480
[   34.067028]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.067283]  kthread+0x337/0x6f0
[   34.067403]  ret_from_fork+0x116/0x1d0
[   34.067606]  ret_from_fork_asm+0x1a/0x30
[   34.067791] 
[   34.067860] kfence-#112: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.067860] 
[   34.068387] allocated by task 361 on cpu 0 at 34.065125s (0.003260s ago):
[   34.068665]  test_alloc+0x2a6/0x10f0
[   34.068847]  test_corruption+0xe6/0x3e0
[   34.069049]  kunit_try_run_case+0x1a5/0x480
[   34.069266]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.069437]  kthread+0x337/0x6f0
[   34.069553]  ret_from_fork+0x116/0x1d0
[   34.069716]  ret_from_fork_asm+0x1a/0x30
[   34.069906] 
[   34.070000] freed by task 361 on cpu 0 at 34.065186s (0.004810s ago):
[   34.070296]  test_corruption+0x131/0x3e0
[   34.070468]  kunit_try_run_case+0x1a5/0x480
[   34.070617]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.070836]  kthread+0x337/0x6f0
[   34.071083]  ret_from_fork+0x116/0x1d0
[   34.071280]  ret_from_fork_asm+0x1a/0x30
[   34.071468] 
[   34.071595] CPU: 0 UID: 0 PID: 361 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) 
[   34.072116] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   34.072316] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.072658] ==================================================================