Hay
Date
July 20, 2025, 11:12 a.m.

Environment
qemu-arm64
qemu-x86_64

[   20.759571] ==================================================================
[   20.759678] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   20.759678] 
[   20.759741] Corrupted memory at 0x00000000085ed3ea [ ! . . . . . . . . . . . . . . . ] (in kfence-#95):
[   20.760060]  test_corruption+0x120/0x378
[   20.760110]  kunit_try_run_case+0x170/0x3f0
[   20.760154]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.760199]  kthread+0x328/0x630
[   20.760237]  ret_from_fork+0x10/0x20
[   20.760278] 
[   20.760301] kfence-#95: 0x00000000c49bcd82-0x00000000175abd41, size=32, cache=test
[   20.760301] 
[   20.760356] allocated by task 313 on cpu 0 at 20.759419s (0.000934s ago):
[   20.760424]  test_alloc+0x230/0x628
[   20.760463]  test_corruption+0xdc/0x378
[   20.760502]  kunit_try_run_case+0x170/0x3f0
[   20.760542]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.760586]  kthread+0x328/0x630
[   20.760621]  ret_from_fork+0x10/0x20
[   20.760660] 
[   20.760694] freed by task 313 on cpu 0 at 20.759484s (0.001206s ago):
[   20.760755]  test_corruption+0x120/0x378
[   20.760795]  kunit_try_run_case+0x170/0x3f0
[   20.760834]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.760877]  kthread+0x328/0x630
[   20.760912]  ret_from_fork+0x10/0x20
[   20.760951] 
[   20.760992] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.761069] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.761098] Hardware name: linux,dummy-virt (DT)
[   20.761133] ==================================================================
[   20.655827] ==================================================================
[   20.655917] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   20.655917] 
[   20.655980] Corrupted memory at 0x000000001f877959 [ ! ] (in kfence-#94):
[   20.656115]  test_corruption+0x284/0x378
[   20.656161]  kunit_try_run_case+0x170/0x3f0
[   20.656203]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.656249]  kthread+0x328/0x630
[   20.656286]  ret_from_fork+0x10/0x20
[   20.656327] 
[   20.656350] kfence-#94: 0x00000000c7330e99-0x00000000fd4b6b4b, size=32, cache=kmalloc-32
[   20.656350] 
[   20.656413] allocated by task 311 on cpu 0 at 20.655526s (0.000884s ago):
[   20.656475]  test_alloc+0x29c/0x628
[   20.656515]  test_corruption+0x198/0x378
[   20.656554]  kunit_try_run_case+0x170/0x3f0
[   20.656595]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.656639]  kthread+0x328/0x630
[   20.656686]  ret_from_fork+0x10/0x20
[   20.656725] 
[   20.656749] freed by task 311 on cpu 0 at 20.655630s (0.001116s ago):
[   20.656809]  test_corruption+0x284/0x378
[   20.656848]  kunit_try_run_case+0x170/0x3f0
[   20.656888]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.656931]  kthread+0x328/0x630
[   20.656965]  ret_from_fork+0x10/0x20
[   20.657003] 
[   20.657044] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.657120] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.657150] Hardware name: linux,dummy-virt (DT)
[   20.657184] ==================================================================
[   20.551627] ==================================================================
[   20.551734] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   20.551734] 
[   20.551799] Corrupted memory at 0x00000000d69ff65d [ ! . . . . . . . . . . . . . . . ] (in kfence-#93):
[   20.552114]  test_corruption+0x278/0x378
[   20.552159]  kunit_try_run_case+0x170/0x3f0
[   20.552203]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.552248]  kthread+0x328/0x630
[   20.552287]  ret_from_fork+0x10/0x20
[   20.552328] 
[   20.552355] kfence-#93: 0x0000000044facffe-0x000000002178a230, size=32, cache=kmalloc-32
[   20.552355] 
[   20.552558] allocated by task 311 on cpu 0 at 20.551430s (0.001125s ago):
[   20.552620]  test_alloc+0x29c/0x628
[   20.552659]  test_corruption+0xdc/0x378
[   20.552711]  kunit_try_run_case+0x170/0x3f0
[   20.552750]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.552794]  kthread+0x328/0x630
[   20.552830]  ret_from_fork+0x10/0x20
[   20.552869] 
[   20.552891] freed by task 311 on cpu 0 at 20.551539s (0.001349s ago):
[   20.552952]  test_corruption+0x278/0x378
[   20.552992]  kunit_try_run_case+0x170/0x3f0
[   20.553031]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.553074]  kthread+0x328/0x630
[   20.553110]  ret_from_fork+0x10/0x20
[   20.553149] 
[   20.553195] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.553270] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.553300] Hardware name: linux,dummy-virt (DT)
[   20.553336] ==================================================================
[   21.071616] ==================================================================
[   21.071728] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   21.071728] 
[   21.071792] Corrupted memory at 0x000000003fd02db8 [ ! ] (in kfence-#98):
[   21.071910]  test_corruption+0x1d8/0x378
[   21.071955]  kunit_try_run_case+0x170/0x3f0
[   21.071998]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.072042]  kthread+0x328/0x630
[   21.072079]  ret_from_fork+0x10/0x20
[   21.072119] 
[   21.072144] kfence-#98: 0x0000000077e5fc7a-0x00000000b44e9e9c, size=32, cache=test
[   21.072144] 
[   21.072197] allocated by task 313 on cpu 0 at 21.071466s (0.000728s ago):
[   21.072259]  test_alloc+0x230/0x628
[   21.072299]  test_corruption+0x198/0x378
[   21.072340]  kunit_try_run_case+0x170/0x3f0
[   21.072383]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.072426]  kthread+0x328/0x630
[   21.072462]  ret_from_fork+0x10/0x20
[   21.072499] 
[   21.072523] freed by task 313 on cpu 0 at 21.071528s (0.000992s ago):
[   21.072583]  test_corruption+0x1d8/0x378
[   21.072622]  kunit_try_run_case+0x170/0x3f0
[   21.072661]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.072712]  kthread+0x328/0x630
[   21.072748]  ret_from_fork+0x10/0x20
[   21.072785] 
[   21.072826] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.072904] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.072933] Hardware name: linux,dummy-virt (DT)
[   21.072967] ==================================================================

[   19.007868] ==================================================================
[   19.008280] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   19.008280] 
[   19.008589] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#82):
[   19.009093]  test_corruption+0x2df/0x3e0
[   19.009273]  kunit_try_run_case+0x1a5/0x480
[   19.009444]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.009704]  kthread+0x337/0x6f0
[   19.009914]  ret_from_fork+0x116/0x1d0
[   19.010113]  ret_from_fork_asm+0x1a/0x30
[   19.010291] 
[   19.010370] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.010370] 
[   19.010820] allocated by task 329 on cpu 0 at 19.007621s (0.003197s ago):
[   19.011132]  test_alloc+0x364/0x10f0
[   19.011314]  test_corruption+0x1cb/0x3e0
[   19.011485]  kunit_try_run_case+0x1a5/0x480
[   19.011634]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.011821]  kthread+0x337/0x6f0
[   19.011999]  ret_from_fork+0x116/0x1d0
[   19.012204]  ret_from_fork_asm+0x1a/0x30
[   19.012456] 
[   19.012544] freed by task 329 on cpu 0 at 19.007708s (0.004834s ago):
[   19.012944]  test_corruption+0x2df/0x3e0
[   19.013135]  kunit_try_run_case+0x1a5/0x480
[   19.013316]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.013491]  kthread+0x337/0x6f0
[   19.013656]  ret_from_fork+0x116/0x1d0
[   19.013853]  ret_from_fork_asm+0x1a/0x30
[   19.014059] 
[   19.014178] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.014610] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.014853] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.015171] ==================================================================
[   18.487949] ==================================================================
[   18.488367] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.488367] 
[   18.488654] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#77):
[   18.489434]  test_corruption+0x2d2/0x3e0
[   18.489605]  kunit_try_run_case+0x1a5/0x480
[   18.489886]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.490097]  kthread+0x337/0x6f0
[   18.490273]  ret_from_fork+0x116/0x1d0
[   18.490447]  ret_from_fork_asm+0x1a/0x30
[   18.490629] 
[   18.490719] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.490719] 
[   18.491188] allocated by task 329 on cpu 0 at 18.487701s (0.003485s ago):
[   18.491433]  test_alloc+0x364/0x10f0
[   18.491567]  test_corruption+0xe6/0x3e0
[   18.491752]  kunit_try_run_case+0x1a5/0x480
[   18.492047]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.492230]  kthread+0x337/0x6f0
[   18.492351]  ret_from_fork+0x116/0x1d0
[   18.492942]  ret_from_fork_asm+0x1a/0x30
[   18.493160] 
[   18.493699] freed by task 329 on cpu 0 at 18.487785s (0.005911s ago):
[   18.494031]  test_corruption+0x2d2/0x3e0
[   18.494216]  kunit_try_run_case+0x1a5/0x480
[   18.494405]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.494620]  kthread+0x337/0x6f0
[   18.495211]  ret_from_fork+0x116/0x1d0
[   18.495476]  ret_from_fork_asm+0x1a/0x30
[   18.495653] 
[   18.495773] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.496213] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.496417] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.496792] ==================================================================
[   19.215750] ==================================================================
[   19.216157] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   19.216157] 
[   19.216522] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#84):
[   19.217767]  test_corruption+0x131/0x3e0
[   19.218022]  kunit_try_run_case+0x1a5/0x480
[   19.218355]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.218689]  kthread+0x337/0x6f0
[   19.218944]  ret_from_fork+0x116/0x1d0
[   19.219266]  ret_from_fork_asm+0x1a/0x30
[   19.219476] 
[   19.219557] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.219557] 
[   19.220147] allocated by task 331 on cpu 1 at 19.215648s (0.004496s ago):
[   19.220478]  test_alloc+0x2a6/0x10f0
[   19.220853]  test_corruption+0xe6/0x3e0
[   19.221078]  kunit_try_run_case+0x1a5/0x480
[   19.221395]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.221654]  kthread+0x337/0x6f0
[   19.221978]  ret_from_fork+0x116/0x1d0
[   19.222262]  ret_from_fork_asm+0x1a/0x30
[   19.222446] 
[   19.222529] freed by task 331 on cpu 1 at 19.215678s (0.006849s ago):
[   19.223073]  test_corruption+0x131/0x3e0
[   19.223234]  kunit_try_run_case+0x1a5/0x480
[   19.223613]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.223917]  kthread+0x337/0x6f0
[   19.224207]  ret_from_fork+0x116/0x1d0
[   19.224487]  ret_from_fork_asm+0x1a/0x30
[   19.224661] 
[   19.224943] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.225423] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.225622] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.226187] ==================================================================
[   19.319790] ==================================================================
[   19.320181] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   19.320181] 
[   19.320542] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#85):
[   19.321056]  test_corruption+0x216/0x3e0
[   19.321510]  kunit_try_run_case+0x1a5/0x480
[   19.321678]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.321945]  kthread+0x337/0x6f0
[   19.322498]  ret_from_fork+0x116/0x1d0
[   19.322814]  ret_from_fork_asm+0x1a/0x30
[   19.322988] 
[   19.323092] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.323092] 
[   19.323458] allocated by task 331 on cpu 1 at 19.319678s (0.003778s ago):
[   19.323739]  test_alloc+0x2a6/0x10f0
[   19.323939]  test_corruption+0x1cb/0x3e0
[   19.324112]  kunit_try_run_case+0x1a5/0x480
[   19.324327]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.324558]  kthread+0x337/0x6f0
[   19.325160]  ret_from_fork+0x116/0x1d0
[   19.325407]  ret_from_fork_asm+0x1a/0x30
[   19.325600] 
[   19.325766] freed by task 331 on cpu 1 at 19.319724s (0.006040s ago):
[   19.326161]  test_corruption+0x216/0x3e0
[   19.326414]  kunit_try_run_case+0x1a5/0x480
[   19.326598]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.327063]  kthread+0x337/0x6f0
[   19.327308]  ret_from_fork+0x116/0x1d0
[   19.327575]  ret_from_fork_asm+0x1a/0x30
[   19.327775] 
[   19.328089] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.328614] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.328893] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.329343] ==================================================================