Hay
Date
July 9, 2025, 11:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.436467] ==================================================================
[   22.436561] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   22.436561] 
[   22.436621] Corrupted memory at 0x00000000f83c2a2f [ ! ] (in kfence-#104):
[   22.436752]  test_corruption+0x284/0x378
[   22.436801]  kunit_try_run_case+0x170/0x3f0
[   22.436844]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.436888]  kthread+0x328/0x630
[   22.436925]  ret_from_fork+0x10/0x20
[   22.436967] 
[   22.436990] kfence-#104: 0x00000000d38f4968-0x00000000e4ecd08c, size=32, cache=kmalloc-32
[   22.436990] 
[   22.437046] allocated by task 311 on cpu 1 at 22.436178s (0.000865s ago):
[   22.437109]  test_alloc+0x29c/0x628
[   22.437163]  test_corruption+0x198/0x378
[   22.437205]  kunit_try_run_case+0x170/0x3f0
[   22.437242]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.437285]  kthread+0x328/0x630
[   22.437321]  ret_from_fork+0x10/0x20
[   22.437359] 
[   22.437382] freed by task 311 on cpu 1 at 22.436292s (0.001087s ago):
[   22.437442]  test_corruption+0x284/0x378
[   22.437483]  kunit_try_run_case+0x170/0x3f0
[   22.437529]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.437570]  kthread+0x328/0x630
[   22.437606]  ret_from_fork+0x10/0x20
[   22.437644] 
[   22.437685] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.437761] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.437789] Hardware name: linux,dummy-virt (DT)
[   22.437823] ==================================================================
[   22.332466] ==================================================================
[   22.332581] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   22.332581] 
[   22.332650] Corrupted memory at 0x000000002558b43a [ ! . . . . . . . . . . . . . . . ] (in kfence-#103):
[   22.333762]  test_corruption+0x278/0x378
[   22.333818]  kunit_try_run_case+0x170/0x3f0
[   22.333865]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.333908]  kthread+0x328/0x630
[   22.333949]  ret_from_fork+0x10/0x20
[   22.333990] 
[   22.334014] kfence-#103: 0x00000000c1552790-0x00000000d0ea5d58, size=32, cache=kmalloc-32
[   22.334014] 
[   22.334075] allocated by task 311 on cpu 1 at 22.332163s (0.001908s ago):
[   22.334150]  test_alloc+0x29c/0x628
[   22.334191]  test_corruption+0xdc/0x378
[   22.334231]  kunit_try_run_case+0x170/0x3f0
[   22.334271]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.334314]  kthread+0x328/0x630
[   22.334350]  ret_from_fork+0x10/0x20
[   22.334390] 
[   22.334413] freed by task 311 on cpu 1 at 22.332278s (0.002131s ago):
[   22.334476]  test_corruption+0x278/0x378
[   22.334517]  kunit_try_run_case+0x170/0x3f0
[   22.334557]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.334600]  kthread+0x328/0x630
[   22.334636]  ret_from_fork+0x10/0x20
[   22.334676] 
[   22.334725] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.334805] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.334835] Hardware name: linux,dummy-virt (DT)
[   22.334870] ==================================================================
[   22.748340] ==================================================================
[   22.748433] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   22.748433] 
[   22.748495] Corrupted memory at 0x00000000d869b97b [ ! ] (in kfence-#107):
[   22.748610]  test_corruption+0x1d8/0x378
[   22.748659]  kunit_try_run_case+0x170/0x3f0
[   22.748701]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.748745]  kthread+0x328/0x630
[   22.748784]  ret_from_fork+0x10/0x20
[   22.748823] 
[   22.748846] kfence-#107: 0x00000000c178b0a4-0x00000000f60e5792, size=32, cache=test
[   22.748846] 
[   22.748900] allocated by task 313 on cpu 1 at 22.748168s (0.000728s ago):
[   22.748963]  test_alloc+0x230/0x628
[   22.749001]  test_corruption+0x198/0x378
[   22.749042]  kunit_try_run_case+0x170/0x3f0
[   22.749080]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.749136]  kthread+0x328/0x630
[   22.749171]  ret_from_fork+0x10/0x20
[   22.749211] 
[   22.749234] freed by task 313 on cpu 1 at 22.748247s (0.000984s ago):
[   22.749294]  test_corruption+0x1d8/0x378
[   22.749333]  kunit_try_run_case+0x170/0x3f0
[   22.749372]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.749415]  kthread+0x328/0x630
[   22.749451]  ret_from_fork+0x10/0x20
[   22.749489] 
[   22.749534] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.749611] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.749641] Hardware name: linux,dummy-virt (DT)
[   22.749675] ==================================================================
[   22.644299] ==================================================================
[   22.644406] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   22.644406] 
[   22.644471] Corrupted memory at 0x00000000ae7ffa92 [ ! . . . . . . . . . . . . . . . ] (in kfence-#106):
[   22.644781]  test_corruption+0x120/0x378
[   22.644829]  kunit_try_run_case+0x170/0x3f0
[   22.644874]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.644919]  kthread+0x328/0x630
[   22.644958]  ret_from_fork+0x10/0x20
[   22.644999] 
[   22.645023] kfence-#106: 0x00000000a5efed03-0x000000007bbf17a3, size=32, cache=test
[   22.645023] 
[   22.645079] allocated by task 313 on cpu 1 at 22.644142s (0.000933s ago):
[   22.645154]  test_alloc+0x230/0x628
[   22.645195]  test_corruption+0xdc/0x378
[   22.645235]  kunit_try_run_case+0x170/0x3f0
[   22.645275]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.645320]  kthread+0x328/0x630
[   22.645354]  ret_from_fork+0x10/0x20
[   22.645394] 
[   22.645419] freed by task 313 on cpu 1 at 22.644207s (0.001208s ago):
[   22.645479]  test_corruption+0x120/0x378
[   22.645523]  kunit_try_run_case+0x170/0x3f0
[   22.645562]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.645606]  kthread+0x328/0x630
[   22.645641]  ret_from_fork+0x10/0x20
[   22.645679] 
[   22.645722] CPU: 1 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.645800] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.645830] Hardware name: linux,dummy-virt (DT)
[   22.645864] ==================================================================

[   19.155621] ==================================================================
[   19.156037] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   19.156037] 
[   19.156388] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#83):
[   19.157265]  test_corruption+0x2df/0x3e0
[   19.157483]  kunit_try_run_case+0x1a5/0x480
[   19.157823]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.158196]  kthread+0x337/0x6f0
[   19.158379]  ret_from_fork+0x116/0x1d0
[   19.158727]  ret_from_fork_asm+0x1a/0x30
[   19.159032] 
[   19.159241] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.159241] 
[   19.159630] allocated by task 328 on cpu 0 at 19.155372s (0.004256s ago):
[   19.159960]  test_alloc+0x364/0x10f0
[   19.160201]  test_corruption+0x1cb/0x3e0
[   19.160753]  kunit_try_run_case+0x1a5/0x480
[   19.161057]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.161395]  kthread+0x337/0x6f0
[   19.161646]  ret_from_fork+0x116/0x1d0
[   19.161928]  ret_from_fork_asm+0x1a/0x30
[   19.162255] 
[   19.162347] freed by task 328 on cpu 0 at 19.155461s (0.006884s ago):
[   19.162803]  test_corruption+0x2df/0x3e0
[   19.162998]  kunit_try_run_case+0x1a5/0x480
[   19.163344]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.163683]  kthread+0x337/0x6f0
[   19.163884]  ret_from_fork+0x116/0x1d0
[   19.164237]  ret_from_fork_asm+0x1a/0x30
[   19.164542] 
[   19.164655] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.165339] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.165622] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.166147] ==================================================================
[   19.363504] ==================================================================
[   19.363881] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   19.363881] 
[   19.364477] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#85):
[   19.365437]  test_corruption+0x131/0x3e0
[   19.365623]  kunit_try_run_case+0x1a5/0x480
[   19.365860]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.366064]  kthread+0x337/0x6f0
[   19.366352]  ret_from_fork+0x116/0x1d0
[   19.366545]  ret_from_fork_asm+0x1a/0x30
[   19.366773] 
[   19.366879] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.366879] 
[   19.367244] allocated by task 330 on cpu 1 at 19.363371s (0.003871s ago):
[   19.367624]  test_alloc+0x2a6/0x10f0
[   19.367862]  test_corruption+0xe6/0x3e0
[   19.368074]  kunit_try_run_case+0x1a5/0x480
[   19.368290]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.368544]  kthread+0x337/0x6f0
[   19.368716]  ret_from_fork+0x116/0x1d0
[   19.368849]  ret_from_fork_asm+0x1a/0x30
[   19.369059] 
[   19.369158] freed by task 330 on cpu 1 at 19.363426s (0.005730s ago):
[   19.369469]  test_corruption+0x131/0x3e0
[   19.369610]  kunit_try_run_case+0x1a5/0x480
[   19.369826]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.370100]  kthread+0x337/0x6f0
[   19.370268]  ret_from_fork+0x116/0x1d0
[   19.370424]  ret_from_fork_asm+0x1a/0x30
[   19.370651] 
[   19.370765] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.372563] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.372747] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.373019] ==================================================================
[   19.051502] ==================================================================
[   19.051920] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   19.051920] 
[   19.052306] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#82):
[   19.053475]  test_corruption+0x2d2/0x3e0
[   19.053691]  kunit_try_run_case+0x1a5/0x480
[   19.054055]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.054335]  kthread+0x337/0x6f0
[   19.054502]  ret_from_fork+0x116/0x1d0
[   19.054687]  ret_from_fork_asm+0x1a/0x30
[   19.054881] 
[   19.054955] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.054955] 
[   19.055695] allocated by task 328 on cpu 0 at 19.051333s (0.004359s ago):
[   19.056176]  test_alloc+0x364/0x10f0
[   19.056480]  test_corruption+0xe6/0x3e0
[   19.056784]  kunit_try_run_case+0x1a5/0x480
[   19.057098]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.057353]  kthread+0x337/0x6f0
[   19.057717]  ret_from_fork+0x116/0x1d0
[   19.058001]  ret_from_fork_asm+0x1a/0x30
[   19.058242] 
[   19.058459] freed by task 328 on cpu 0 at 19.051425s (0.007032s ago):
[   19.058833]  test_corruption+0x2d2/0x3e0
[   19.059028]  kunit_try_run_case+0x1a5/0x480
[   19.059387]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.059726]  kthread+0x337/0x6f0
[   19.060020]  ret_from_fork+0x116/0x1d0
[   19.060243]  ret_from_fork_asm+0x1a/0x30
[   19.060565] 
[   19.060723] CPU: 0 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.061279] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.061573] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.061969] ==================================================================
[   19.467464] ==================================================================
[   19.467857] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   19.467857] 
[   19.468213] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#86):
[   19.468560]  test_corruption+0x216/0x3e0
[   19.468739]  kunit_try_run_case+0x1a5/0x480
[   19.468967]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.469206]  kthread+0x337/0x6f0
[   19.469410]  ret_from_fork+0x116/0x1d0
[   19.469615]  ret_from_fork_asm+0x1a/0x30
[   19.469777] 
[   19.469852] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.469852] 
[   19.470458] allocated by task 330 on cpu 1 at 19.467347s (0.003110s ago):
[   19.470810]  test_alloc+0x2a6/0x10f0
[   19.470951]  test_corruption+0x1cb/0x3e0
[   19.471132]  kunit_try_run_case+0x1a5/0x480
[   19.471350]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.471613]  kthread+0x337/0x6f0
[   19.471769]  ret_from_fork+0x116/0x1d0
[   19.471945]  ret_from_fork_asm+0x1a/0x30
[   19.472087] 
[   19.472161] freed by task 330 on cpu 1 at 19.467399s (0.004761s ago):
[   19.472525]  test_corruption+0x216/0x3e0
[   19.472723]  kunit_try_run_case+0x1a5/0x480
[   19.472937]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.473180]  kthread+0x337/0x6f0
[   19.473359]  ret_from_fork+0x116/0x1d0
[   19.473543]  ret_from_fork_asm+0x1a/0x30
[   19.473686] 
[   19.473795] CPU: 1 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   19.474272] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.474451] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.474918] ==================================================================