Hay
Date
July 8, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   24.074921] ==================================================================
[   24.075026] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   24.075026] 
[   24.075590] Corrupted memory at 0x00000000beb8f5fa [ ! . . . . . . . . . . . . . . . ] (in kfence-#92):
[   24.082029]  test_corruption+0x278/0x378
[   24.082265]  kunit_try_run_case+0x170/0x3f0
[   24.082541]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.082799]  kthread+0x328/0x630
[   24.082941]  ret_from_fork+0x10/0x20
[   24.083476] 
[   24.083807] kfence-#92: 0x000000005dc5e2c6-0x00000000c743b721, size=32, cache=kmalloc-32
[   24.083807] 
[   24.084069] allocated by task 311 on cpu 0 at 24.073624s (0.010388s ago):
[   24.084190]  test_alloc+0x29c/0x628
[   24.084323]  test_corruption+0xdc/0x378
[   24.084530]  kunit_try_run_case+0x170/0x3f0
[   24.084641]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.084798]  kthread+0x328/0x630
[   24.085011]  ret_from_fork+0x10/0x20
[   24.085200] 
[   24.085229] freed by task 311 on cpu 0 at 24.073973s (0.011252s ago):
[   24.085744]  test_corruption+0x278/0x378
[   24.085854]  kunit_try_run_case+0x170/0x3f0
[   24.086104]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.086306]  kthread+0x328/0x630
[   24.086510]  ret_from_fork+0x10/0x20
[   24.086613] 
[   24.086781] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.087062] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.087225] Hardware name: linux,dummy-virt (DT)
[   24.087268] ==================================================================
[   24.384331] ==================================================================
[   24.384429] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   24.384429] 
[   24.384491] Corrupted memory at 0x0000000031e1a4e6 [ ! ] (in kfence-#95):
[   24.384621]  test_corruption+0x284/0x378
[   24.384670]  kunit_try_run_case+0x170/0x3f0
[   24.384713]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.384757]  kthread+0x328/0x630
[   24.384796]  ret_from_fork+0x10/0x20
[   24.384838] 
[   24.384861] kfence-#95: 0x00000000e9862e77-0x00000000378f7e0f, size=32, cache=kmalloc-32
[   24.384861] 
[   24.384918] allocated by task 311 on cpu 0 at 24.384042s (0.000873s ago):
[   24.384980]  test_alloc+0x29c/0x628
[   24.385020]  test_corruption+0x198/0x378
[   24.385061]  kunit_try_run_case+0x170/0x3f0
[   24.385099]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.385143]  kthread+0x328/0x630
[   24.385194]  ret_from_fork+0x10/0x20
[   24.385232] 
[   24.385255] freed by task 311 on cpu 0 at 24.384143s (0.001108s ago):
[   24.385316]  test_corruption+0x284/0x378
[   24.385356]  kunit_try_run_case+0x170/0x3f0
[   24.385408]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.385454]  kthread+0x328/0x630
[   24.385492]  ret_from_fork+0x10/0x20
[   24.385530] 
[   24.385572] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.385651] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.385679] Hardware name: linux,dummy-virt (DT)
[   24.385713] ==================================================================
[   24.592108] ==================================================================
[   24.592205] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   24.592205] 
[   24.592265] Corrupted memory at 0x000000003f8792ae [ ! ] (in kfence-#97):
[   24.592378]  test_corruption+0x1d8/0x378
[   24.592424]  kunit_try_run_case+0x170/0x3f0
[   24.592466]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.592511]  kthread+0x328/0x630
[   24.592550]  ret_from_fork+0x10/0x20
[   24.592589] 
[   24.592612] kfence-#97: 0x00000000b86b48cb-0x000000007c3414cb, size=32, cache=test
[   24.592612] 
[   24.592666] allocated by task 313 on cpu 1 at 24.591974s (0.000688s ago):
[   24.592727]  test_alloc+0x230/0x628
[   24.592768]  test_corruption+0x198/0x378
[   24.592808]  kunit_try_run_case+0x170/0x3f0
[   24.592846]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.592890]  kthread+0x328/0x630
[   24.592925]  ret_from_fork+0x10/0x20
[   24.592964] 
[   24.592987] freed by task 313 on cpu 1 at 24.592029s (0.000954s ago):
[   24.593047]  test_corruption+0x1d8/0x378
[   24.593086]  kunit_try_run_case+0x170/0x3f0
[   24.593126]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.593179]  kthread+0x328/0x630
[   24.593214]  ret_from_fork+0x10/0x20
[   24.593254] 
[   24.593293] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.593366] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.593396] Hardware name: linux,dummy-virt (DT)
[   24.593429] ==================================================================
[   24.488053] ==================================================================
[   24.488140] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   24.488140] 
[   24.488219] Corrupted memory at 0x00000000df6bf333 [ ! . . . . . . . . . . . . . . . ] (in kfence-#96):
[   24.488530]  test_corruption+0x120/0x378
[   24.488578]  kunit_try_run_case+0x170/0x3f0
[   24.488624]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.488669]  kthread+0x328/0x630
[   24.488709]  ret_from_fork+0x10/0x20
[   24.488751] 
[   24.488773] kfence-#96: 0x0000000053055db7-0x00000000636f9fa4, size=32, cache=test
[   24.488773] 
[   24.488828] allocated by task 313 on cpu 1 at 24.487900s (0.000925s ago):
[   24.488892]  test_alloc+0x230/0x628
[   24.488933]  test_corruption+0xdc/0x378
[   24.488974]  kunit_try_run_case+0x170/0x3f0
[   24.489015]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.489058]  kthread+0x328/0x630
[   24.489094]  ret_from_fork+0x10/0x20
[   24.489133] 
[   24.489169] freed by task 313 on cpu 1 at 24.487966s (0.001187s ago):
[   24.489232]  test_corruption+0x120/0x378
[   24.489273]  kunit_try_run_case+0x170/0x3f0
[   24.489313]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.489358]  kthread+0x328/0x630
[   24.489394]  ret_from_fork+0x10/0x20
[   24.489433] 
[   24.489478] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.489554] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.489582] Hardware name: linux,dummy-virt (DT)
[   24.489616] ==================================================================

[   18.833552] ==================================================================
[   18.833963] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   18.833963] 
[   18.834418] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#79):
[   18.834908]  test_corruption+0x2df/0x3e0
[   18.835061]  kunit_try_run_case+0x1a5/0x480
[   18.835215]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.835391]  kthread+0x337/0x6f0
[   18.835518]  ret_from_fork+0x116/0x1d0
[   18.835667]  ret_from_fork_asm+0x1a/0x30
[   18.835812] 
[   18.835904] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.835904] 
[   18.836253] allocated by task 329 on cpu 0 at 18.833290s (0.002961s ago):
[   18.836574]  test_alloc+0x364/0x10f0
[   18.836836]  test_corruption+0x1cb/0x3e0
[   18.837083]  kunit_try_run_case+0x1a5/0x480
[   18.837258]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.837435]  kthread+0x337/0x6f0
[   18.837576]  ret_from_fork+0x116/0x1d0
[   18.837726]  ret_from_fork_asm+0x1a/0x30
[   18.837867] 
[   18.837938] freed by task 329 on cpu 0 at 18.833391s (0.004544s ago):
[   18.838180]  test_corruption+0x2df/0x3e0
[   18.838371]  kunit_try_run_case+0x1a5/0x480
[   18.838582]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.838841]  kthread+0x337/0x6f0
[   18.839006]  ret_from_fork+0x116/0x1d0
[   18.839194]  ret_from_fork_asm+0x1a/0x30
[   18.839353] 
[   18.839470] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.839868] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.840009] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.840347] ==================================================================
[   18.937438] ==================================================================
[   18.937846] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   18.937846] 
[   18.938209] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#80):
[   18.939152]  test_corruption+0x131/0x3e0
[   18.939372]  kunit_try_run_case+0x1a5/0x480
[   18.939886]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.940136]  kthread+0x337/0x6f0
[   18.940457]  ret_from_fork+0x116/0x1d0
[   18.940840]  ret_from_fork_asm+0x1a/0x30
[   18.941142] 
[   18.941343] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.941343] 
[   18.941911] allocated by task 331 on cpu 0 at 18.937307s (0.004601s ago):
[   18.942387]  test_alloc+0x2a6/0x10f0
[   18.942690]  test_corruption+0xe6/0x3e0
[   18.942900]  kunit_try_run_case+0x1a5/0x480
[   18.943218]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.943550]  kthread+0x337/0x6f0
[   18.943742]  ret_from_fork+0x116/0x1d0
[   18.944047]  ret_from_fork_asm+0x1a/0x30
[   18.944338] 
[   18.944460] freed by task 331 on cpu 0 at 18.937366s (0.007092s ago):
[   18.944923]  test_corruption+0x131/0x3e0
[   18.945221]  kunit_try_run_case+0x1a5/0x480
[   18.945525]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.945816]  kthread+0x337/0x6f0
[   18.946106]  ret_from_fork+0x116/0x1d0
[   18.946378]  ret_from_fork_asm+0x1a/0x30
[   18.946679] 
[   18.946828] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.947440] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.947802] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.948180] ==================================================================
[   18.729490] ==================================================================
[   18.729959] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   18.729959] 
[   18.730311] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#78):
[   18.731140]  test_corruption+0x2d2/0x3e0
[   18.731447]  kunit_try_run_case+0x1a5/0x480
[   18.731635]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.731816]  kthread+0x337/0x6f0
[   18.731942]  ret_from_fork+0x116/0x1d0
[   18.732080]  ret_from_fork_asm+0x1a/0x30
[   18.732222] 
[   18.732298] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.732298] 
[   18.732619] allocated by task 329 on cpu 0 at 18.729219s (0.003398s ago):
[   18.732930]  test_alloc+0x364/0x10f0
[   18.733124]  test_corruption+0xe6/0x3e0
[   18.733313]  kunit_try_run_case+0x1a5/0x480
[   18.733497]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.733745]  kthread+0x337/0x6f0
[   18.733870]  ret_from_fork+0x116/0x1d0
[   18.734006]  ret_from_fork_asm+0x1a/0x30
[   18.734213] 
[   18.734311] freed by task 329 on cpu 0 at 18.729321s (0.004988s ago):
[   18.734622]  test_corruption+0x2d2/0x3e0
[   18.734876]  kunit_try_run_case+0x1a5/0x480
[   18.735024]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.735442]  kthread+0x337/0x6f0
[   18.735778]  ret_from_fork+0x116/0x1d0
[   18.735942]  ret_from_fork_asm+0x1a/0x30
[   18.736116] 
[   18.736211] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.736653] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.736827] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.737094] ==================================================================
[   19.042482] ==================================================================
[   19.042896] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   19.042896] 
[   19.043298] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#81):
[   19.044260]  test_corruption+0x216/0x3e0
[   19.044702]  kunit_try_run_case+0x1a5/0x480
[   19.044934]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.045332]  kthread+0x337/0x6f0
[   19.045633]  ret_from_fork+0x116/0x1d0
[   19.045837]  ret_from_fork_asm+0x1a/0x30
[   19.046171] 
[   19.046296] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.046296] 
[   19.046847] allocated by task 331 on cpu 0 at 19.042349s (0.004496s ago):
[   19.047328]  test_alloc+0x2a6/0x10f0
[   19.047623]  test_corruption+0x1cb/0x3e0
[   19.047913]  kunit_try_run_case+0x1a5/0x480
[   19.048219]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.048473]  kthread+0x337/0x6f0
[   19.048617]  ret_from_fork+0x116/0x1d0
[   19.048753]  ret_from_fork_asm+0x1a/0x30
[   19.048895] 
[   19.048968] freed by task 331 on cpu 0 at 19.042410s (0.006557s ago):
[   19.049186]  test_corruption+0x216/0x3e0
[   19.049328]  kunit_try_run_case+0x1a5/0x480
[   19.049477]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.049764]  kthread+0x337/0x6f0
[   19.049899]  ret_from_fork+0x116/0x1d0
[   19.050035]  ret_from_fork_asm+0x1a/0x30
[   19.050177] 
[   19.050273] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.050594] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.050745] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.051121] ==================================================================