Hay
Date
June 3, 2025, 7:38 a.m.

Environment
qemu-arm64
qemu-x86_64

[   24.088133] ==================================================================
[   24.088231] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   24.088231] 
[   24.088294] Corrupted memory at 0x00000000057d2b75 [ ! ] (in kfence-#102):
[   24.088443]  test_corruption+0x284/0x378
[   24.088490]  kunit_try_run_case+0x170/0x3f0
[   24.088536]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.088581]  kthread+0x328/0x630
[   24.088619]  ret_from_fork+0x10/0x20
[   24.088660] 
[   24.088684] kfence-#102: 0x000000007834d2bf-0x000000006af668ba, size=32, cache=kmalloc-32
[   24.088684] 
[   24.088743] allocated by task 311 on cpu 1 at 24.087848s (0.000890s ago):
[   24.088805]  test_alloc+0x29c/0x628
[   24.088850]  test_corruption+0x198/0x378
[   24.088889]  kunit_try_run_case+0x170/0x3f0
[   24.088929]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.088972]  kthread+0x328/0x630
[   24.089007]  ret_from_fork+0x10/0x20
[   24.089046] 
[   24.089069] freed by task 311 on cpu 1 at 24.087957s (0.001108s ago):
[   24.089129]  test_corruption+0x284/0x378
[   24.089167]  kunit_try_run_case+0x170/0x3f0
[   24.089207]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.089250]  kthread+0x328/0x630
[   24.089284]  ret_from_fork+0x10/0x20
[   24.089321] 
[   24.089368] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT 
[   24.089456] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.089486] Hardware name: linux,dummy-virt (DT)
[   24.089522] ==================================================================
[   23.464146] ==================================================================
[   23.464251] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   23.464251] 
[   23.464319] Corrupted memory at 0x0000000049129c9c [ ! . . . . . . . . . . . . . . . ] (in kfence-#96):
[   23.465457]  test_corruption+0x278/0x378
[   23.465512]  kunit_try_run_case+0x170/0x3f0
[   23.465560]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.465605]  kthread+0x328/0x630
[   23.465644]  ret_from_fork+0x10/0x20
[   23.465686] 
[   23.465711] kfence-#96: 0x000000000f52b70a-0x0000000048f0aafc, size=32, cache=kmalloc-32
[   23.465711] 
[   23.465770] allocated by task 311 on cpu 1 at 23.463862s (0.001903s ago):
[   23.465834]  test_alloc+0x29c/0x628
[   23.465875]  test_corruption+0xdc/0x378
[   23.465915]  kunit_try_run_case+0x170/0x3f0
[   23.465955]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.465999]  kthread+0x328/0x630
[   23.466033]  ret_from_fork+0x10/0x20
[   23.466072] 
[   23.466097] freed by task 311 on cpu 1 at 23.463968s (0.002125s ago):
[   23.466157]  test_corruption+0x278/0x378
[   23.466197]  kunit_try_run_case+0x170/0x3f0
[   23.466237]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.466281]  kthread+0x328/0x630
[   23.466315]  ret_from_fork+0x10/0x20
[   23.466354] 
[   23.466399] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT 
[   23.466489] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.466517] Hardware name: linux,dummy-virt (DT)
[   23.466552] ==================================================================
[   24.192083] ==================================================================
[   24.192181] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   24.192181] 
[   24.192243] Corrupted memory at 0x0000000036029ed6 [ ! . . . . . . . . . . . . . . . ] (in kfence-#103):
[   24.192579]  test_corruption+0x120/0x378
[   24.192629]  kunit_try_run_case+0x170/0x3f0
[   24.192673]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.192718]  kthread+0x328/0x630
[   24.192756]  ret_from_fork+0x10/0x20
[   24.192796] 
[   24.192828] kfence-#103: 0x00000000dc7d01ba-0x00000000e3ad14c8, size=32, cache=test
[   24.192828] 
[   24.192885] allocated by task 313 on cpu 1 at 24.191920s (0.000960s ago):
[   24.192949]  test_alloc+0x230/0x628
[   24.192989]  test_corruption+0xdc/0x378
[   24.193029]  kunit_try_run_case+0x170/0x3f0
[   24.193070]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.193114]  kthread+0x328/0x630
[   24.193149]  ret_from_fork+0x10/0x20
[   24.193188] 
[   24.193211] freed by task 313 on cpu 1 at 24.191989s (0.001218s ago):
[   24.193271]  test_corruption+0x120/0x378
[   24.193312]  kunit_try_run_case+0x170/0x3f0
[   24.193351]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.193395]  kthread+0x328/0x630
[   24.193439]  ret_from_fork+0x10/0x20
[   24.193478] 
[   24.193522] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT 
[   24.193602] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.193632] Hardware name: linux,dummy-virt (DT)
[   24.193665] ==================================================================
[   24.399974] ==================================================================
[   24.400067] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   24.400067] 
[   24.400128] Corrupted memory at 0x00000000ba8a0396 [ ! ] (in kfence-#105):
[   24.400243]  test_corruption+0x1d8/0x378
[   24.400290]  kunit_try_run_case+0x170/0x3f0
[   24.400333]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.400377]  kthread+0x328/0x630
[   24.400415]  ret_from_fork+0x10/0x20
[   24.400470] 
[   24.400493] kfence-#105: 0x0000000006a011a7-0x0000000044831441, size=32, cache=test
[   24.400493] 
[   24.400548] allocated by task 313 on cpu 1 at 24.399822s (0.000722s ago):
[   24.400610]  test_alloc+0x230/0x628
[   24.400649]  test_corruption+0x198/0x378
[   24.400690]  kunit_try_run_case+0x170/0x3f0
[   24.400730]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.400773]  kthread+0x328/0x630
[   24.400808]  ret_from_fork+0x10/0x20
[   24.400854] 
[   24.400879] freed by task 313 on cpu 1 at 24.399882s (0.000992s ago):
[   24.400940]  test_corruption+0x1d8/0x378
[   24.400982]  kunit_try_run_case+0x170/0x3f0
[   24.401022]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.401065]  kthread+0x328/0x630
[   24.401101]  ret_from_fork+0x10/0x20
[   24.401140] 
[   24.401184] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT 
[   24.401265] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.401296] Hardware name: linux,dummy-virt (DT)
[   24.401330] ==================================================================


[   22.237563] ==================================================================
[   22.238017] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   22.238017] 
[   22.238306] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#104):
[   22.239605]  test_corruption+0x131/0x3e0
[   22.239939]  kunit_try_run_case+0x1a5/0x480
[   22.240180]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.240625]  kthread+0x337/0x6f0
[   22.241021]  ret_from_fork+0x116/0x1d0
[   22.241329]  ret_from_fork_asm+0x1a/0x30
[   22.241610] 
[   22.241771] kfence-#104: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   22.241771] 
[   22.242376] allocated by task 330 on cpu 1 at 22.237319s (0.005051s ago):
[   22.242901]  test_alloc+0x2a6/0x10f0
[   22.243095]  test_corruption+0xe6/0x3e0
[   22.244196]  kunit_try_run_case+0x1a5/0x480
[   22.244666]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.245067]  kthread+0x337/0x6f0
[   22.245640]  ret_from_fork+0x116/0x1d0
[   22.245887]  ret_from_fork_asm+0x1a/0x30
[   22.246109] 
[   22.246565] freed by task 330 on cpu 1 at 22.237419s (0.009137s ago):
[   22.247019]  test_corruption+0x131/0x3e0
[   22.247204]  kunit_try_run_case+0x1a5/0x480
[   22.247619]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.247917]  kthread+0x337/0x6f0
[   22.248168]  ret_from_fork+0x116/0x1d0
[   22.248564]  ret_from_fork_asm+0x1a/0x30
[   22.248862] 
[   22.249091] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT(voluntary) 
[   22.249878] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.250087] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.250693] ==================================================================
[   22.653544] ==================================================================
[   22.654000] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   22.654000] 
[   22.654287] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#108):
[   22.654930]  test_corruption+0x216/0x3e0
[   22.655312]  kunit_try_run_case+0x1a5/0x480
[   22.655595]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.655973]  kthread+0x337/0x6f0
[   22.656245]  ret_from_fork+0x116/0x1d0
[   22.656480]  ret_from_fork_asm+0x1a/0x30
[   22.656744] 
[   22.656913] kfence-#108: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   22.656913] 
[   22.657643] allocated by task 330 on cpu 1 at 22.653315s (0.004323s ago):
[   22.658229]  test_alloc+0x2a6/0x10f0
[   22.658483]  test_corruption+0x1cb/0x3e0
[   22.658756]  kunit_try_run_case+0x1a5/0x480
[   22.659101]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.659484]  kthread+0x337/0x6f0
[   22.659679]  ret_from_fork+0x116/0x1d0
[   22.659874]  ret_from_fork_asm+0x1a/0x30
[   22.660116] 
[   22.660283] freed by task 330 on cpu 1 at 22.653400s (0.006878s ago):
[   22.660865]  test_corruption+0x216/0x3e0
[   22.661221]  kunit_try_run_case+0x1a5/0x480
[   22.661594]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.661949]  kthread+0x337/0x6f0
[   22.662106]  ret_from_fork+0x116/0x1d0
[   22.662298]  ret_from_fork_asm+0x1a/0x30
[   22.662519] 
[   22.662698] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT(voluntary) 
[   22.663175] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.663466] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.664011] ==================================================================
[   22.029764] ==================================================================
[   22.030197] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   22.030197] 
[   22.030539] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#102):
[   22.031195]  test_corruption+0x2df/0x3e0
[   22.031430]  kunit_try_run_case+0x1a5/0x480
[   22.031653]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.032175]  kthread+0x337/0x6f0
[   22.032501]  ret_from_fork+0x116/0x1d0
[   22.032796]  ret_from_fork_asm+0x1a/0x30
[   22.033132] 
[   22.033260] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   22.033260] 
[   22.033632] allocated by task 328 on cpu 0 at 22.029358s (0.004270s ago):
[   22.034306]  test_alloc+0x364/0x10f0
[   22.034645]  test_corruption+0x1cb/0x3e0
[   22.034997]  kunit_try_run_case+0x1a5/0x480
[   22.035227]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.035621]  kthread+0x337/0x6f0
[   22.035811]  ret_from_fork+0x116/0x1d0
[   22.036007]  ret_from_fork_asm+0x1a/0x30
[   22.036352] 
[   22.036567] freed by task 328 on cpu 0 at 22.029521s (0.007041s ago):
[   22.037053]  test_corruption+0x2df/0x3e0
[   22.037501]  kunit_try_run_case+0x1a5/0x480
[   22.037862]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.038254]  kthread+0x337/0x6f0
[   22.038438]  ret_from_fork+0x116/0x1d0
[   22.038769]  ret_from_fork_asm+0x1a/0x30
[   22.039018] 
[   22.039207] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT(voluntary) 
[   22.039985] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.040320] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.040928] ==================================================================
[   21.925727] ==================================================================
[   21.926160] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   21.926160] 
[   21.926903] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#101):
[   21.928706]  test_corruption+0x2d2/0x3e0
[   21.929019]  kunit_try_run_case+0x1a5/0x480
[   21.929587]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.929854]  kthread+0x337/0x6f0
[   21.930331]  ret_from_fork+0x116/0x1d0
[   21.930605]  ret_from_fork_asm+0x1a/0x30
[   21.930886] 
[   21.931027] kfence-#101: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   21.931027] 
[   21.931903] allocated by task 328 on cpu 0 at 21.925434s (0.006462s ago):
[   21.932517]  test_alloc+0x364/0x10f0
[   21.932713]  test_corruption+0xe6/0x3e0
[   21.933056]  kunit_try_run_case+0x1a5/0x480
[   21.933285]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.933608]  kthread+0x337/0x6f0
[   21.933920]  ret_from_fork+0x116/0x1d0
[   21.934330]  ret_from_fork_asm+0x1a/0x30
[   21.934719] 
[   21.934925] freed by task 328 on cpu 0 at 21.925584s (0.009336s ago):
[   21.935319]  test_corruption+0x2d2/0x3e0
[   21.935714]  kunit_try_run_case+0x1a5/0x480
[   21.936074]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.936436]  kthread+0x337/0x6f0
[   21.936785]  ret_from_fork+0x116/0x1d0
[   21.937149]  ret_from_fork_asm+0x1a/0x30
[   21.937489] 
[   21.937750] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-next-20250603 #1 PREEMPT(voluntary) 
[   21.938383] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.938756] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.939407] ==================================================================