Hay
Date
June 7, 2025, 10:40 a.m.

Environment
qemu-arm64
qemu-x86_64

[   29.688947] ==================================================================
[   29.689157] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   29.689157] 
[   29.689363] Corrupted memory at 0x00000000bc35e02c [ ! ] (in kfence-#147):
[   29.689764]  test_corruption+0x284/0x378
[   29.689886]  kunit_try_run_case+0x170/0x3f0
[   29.690003]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.690171]  kthread+0x328/0x630
[   29.690338]  ret_from_fork+0x10/0x20
[   29.690506] 
[   29.690588] kfence-#147: 0x00000000ab8de585-0x000000001bec32bb, size=32, cache=kmalloc-32
[   29.690588] 
[   29.690743] allocated by task 315 on cpu 1 at 29.688231s (0.002503s ago):
[   29.690929]  test_alloc+0x29c/0x628
[   29.691052]  test_corruption+0x198/0x378
[   29.691154]  kunit_try_run_case+0x170/0x3f0
[   29.691284]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.691430]  kthread+0x328/0x630
[   29.691537]  ret_from_fork+0x10/0x20
[   29.691631] 
[   29.691691] freed by task 315 on cpu 1 at 29.688500s (0.003182s ago):
[   29.691858]  test_corruption+0x284/0x378
[   29.691969]  kunit_try_run_case+0x170/0x3f0
[   29.692090]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.692235]  kthread+0x328/0x630
[   29.692417]  ret_from_fork+0x10/0x20
[   29.692570] 
[   29.692693] CPU: 1 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT 
[   29.692848] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.692904] Hardware name: linux,dummy-virt (DT)
[   29.693477] ==================================================================
[   29.793796] ==================================================================
[   29.793953] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   29.793953] 
[   29.794085] Corrupted memory at 0x000000005c535158 [ ! . . . . . . . . . . . . . . . ] (in kfence-#148):
[   29.799126]  test_corruption+0x120/0x378
[   29.799820]  kunit_try_run_case+0x170/0x3f0
[   29.799933]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.800032]  kthread+0x328/0x630
[   29.800785]  ret_from_fork+0x10/0x20
[   29.801360] 
[   29.801431] kfence-#148: 0x000000008067dfa7-0x000000004be2cd57, size=32, cache=test
[   29.801431] 
[   29.802168] allocated by task 317 on cpu 1 at 29.793528s (0.008596s ago):
[   29.802784]  test_alloc+0x230/0x628
[   29.802892]  test_corruption+0xdc/0x378
[   29.803772]  kunit_try_run_case+0x170/0x3f0
[   29.803915]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.804136]  kthread+0x328/0x630
[   29.804264]  ret_from_fork+0x10/0x20
[   29.804901] 
[   29.805096] freed by task 317 on cpu 1 at 29.793629s (0.011458s ago):
[   29.805469]  test_corruption+0x120/0x378
[   29.806086]  kunit_try_run_case+0x170/0x3f0
[   29.806369]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.806809]  kthread+0x328/0x630
[   29.807117]  ret_from_fork+0x10/0x20
[   29.807449] 
[   29.807982] CPU: 1 UID: 0 PID: 317 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT 
[   29.808302] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.808375] Hardware name: linux,dummy-virt (DT)
[   29.808467] ==================================================================
[   30.209081] ==================================================================
[   30.209239] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   30.209239] 
[   30.209365] Corrupted memory at 0x00000000623d45dd [ ! ] (in kfence-#152):
[   30.209618]  test_corruption+0x1d8/0x378
[   30.209731]  kunit_try_run_case+0x170/0x3f0
[   30.209838]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.209946]  kthread+0x328/0x630
[   30.210048]  ret_from_fork+0x10/0x20
[   30.210139] 
[   30.210190] kfence-#152: 0x000000008e622d5c-0x0000000005ff74d6, size=32, cache=test
[   30.210190] 
[   30.210334] allocated by task 317 on cpu 1 at 30.208813s (0.001512s ago):
[   30.213297]  test_alloc+0x230/0x628
[   30.213885]  test_corruption+0x198/0x378
[   30.214002]  kunit_try_run_case+0x170/0x3f0
[   30.214093]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.214194]  kthread+0x328/0x630
[   30.214280]  ret_from_fork+0x10/0x20
[   30.215182] 
[   30.215259] freed by task 317 on cpu 1 at 30.208914s (0.006334s ago):
[   30.215453]  test_corruption+0x1d8/0x378
[   30.215534]  kunit_try_run_case+0x170/0x3f0
[   30.215591]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.215708]  kthread+0x328/0x630
[   30.215857]  ret_from_fork+0x10/0x20
[   30.216012] 
[   30.216161] CPU: 1 UID: 0 PID: 317 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT 
[   30.216452] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.216581] Hardware name: linux,dummy-virt (DT)
[   30.216860] ==================================================================
[   29.585185] ==================================================================
[   29.585439] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   29.585439] 
[   29.585979] Corrupted memory at 0x0000000023fe767c [ ! . . . . . . . . . . . . . . . ] (in kfence-#146):
[   29.587671]  test_corruption+0x278/0x378
[   29.587917]  kunit_try_run_case+0x170/0x3f0
[   29.588173]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.588646]  kthread+0x328/0x630
[   29.589014]  ret_from_fork+0x10/0x20
[   29.589133] 
[   29.589417] kfence-#146: 0x000000006faa87ef-0x00000000ab1c8154, size=32, cache=kmalloc-32
[   29.589417] 
[   29.589730] allocated by task 315 on cpu 1 at 29.584528s (0.005178s ago):
[   29.590037]  test_alloc+0x29c/0x628
[   29.590286]  test_corruption+0xdc/0x378
[   29.590413]  kunit_try_run_case+0x170/0x3f0
[   29.590527]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.590650]  kthread+0x328/0x630
[   29.591364]  ret_from_fork+0x10/0x20
[   29.591591] 
[   29.591655] freed by task 315 on cpu 1 at 29.584716s (0.006929s ago):
[   29.592270]  test_corruption+0x278/0x378
[   29.592679]  kunit_try_run_case+0x170/0x3f0
[   29.592799]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.593067]  kthread+0x328/0x630
[   29.593282]  ret_from_fork+0x10/0x20
[   29.593564] 
[   29.593816] CPU: 1 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT 
[   29.594427] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.594509] Hardware name: linux,dummy-virt (DT)
[   29.594665] ==================================================================

[   21.848436] ==================================================================
[   21.848894] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   21.848894] 
[   21.849148] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#112):
[   21.849638]  test_corruption+0x216/0x3e0
[   21.849953]  kunit_try_run_case+0x1a5/0x480
[   21.850162]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.850536]  kthread+0x337/0x6f0
[   21.850758]  ret_from_fork+0x41/0x80
[   21.850933]  ret_from_fork_asm+0x1a/0x30
[   21.851249] 
[   21.851416] kfence-#112: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   21.851416] 
[   21.851959] allocated by task 333 on cpu 0 at 21.848227s (0.003727s ago):
[   21.852242]  test_alloc+0x2a6/0x10f0
[   21.852422]  test_corruption+0x1cb/0x3e0
[   21.852741]  kunit_try_run_case+0x1a5/0x480
[   21.853058]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.853441]  kthread+0x337/0x6f0
[   21.853770]  ret_from_fork+0x41/0x80
[   21.854066]  ret_from_fork_asm+0x1a/0x30
[   21.854258] 
[   21.854373] freed by task 333 on cpu 0 at 21.848314s (0.006055s ago):
[   21.854886]  test_corruption+0x216/0x3e0
[   21.855213]  kunit_try_run_case+0x1a5/0x480
[   21.855421]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.855649]  kthread+0x337/0x6f0
[   21.855813]  ret_from_fork+0x41/0x80
[   21.856004]  ret_from_fork_asm+0x1a/0x30
[   21.856306] 
[   21.856584] CPU: 0 UID: 0 PID: 333 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT(voluntary) 
[   21.857377] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.857669] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.857999] ==================================================================
[   21.432654] ==================================================================
[   21.433055] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   21.433055] 
[   21.433291] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#108):
[   21.433848]  test_corruption+0x2df/0x3e0
[   21.434162]  kunit_try_run_case+0x1a5/0x480
[   21.434498]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.434701]  kthread+0x337/0x6f0
[   21.434863]  ret_from_fork+0x41/0x80
[   21.435165]  ret_from_fork_asm+0x1a/0x30
[   21.435450] 
[   21.435620] kfence-#108: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   21.435620] 
[   21.436044] allocated by task 331 on cpu 1 at 21.432239s (0.003800s ago):
[   21.436466]  test_alloc+0x364/0x10f0
[   21.436686]  test_corruption+0x1cb/0x3e0
[   21.436859]  kunit_try_run_case+0x1a5/0x480
[   21.437047]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.437450]  kthread+0x337/0x6f0
[   21.437711]  ret_from_fork+0x41/0x80
[   21.438009]  ret_from_fork_asm+0x1a/0x30
[   21.438307] 
[   21.438426] freed by task 331 on cpu 1 at 21.432387s (0.006034s ago):
[   21.438692]  test_corruption+0x2df/0x3e0
[   21.438995]  kunit_try_run_case+0x1a5/0x480
[   21.439337]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.439749]  kthread+0x337/0x6f0
[   21.439946]  ret_from_fork+0x41/0x80
[   21.440113]  ret_from_fork_asm+0x1a/0x30
[   21.440287] 
[   21.440444] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT(voluntary) 
[   21.441136] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.441525] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.442318] ==================================================================
[   21.744430] ==================================================================
[   21.744940] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   21.744940] 
[   21.745220] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#111):
[   21.746185]  test_corruption+0x131/0x3e0
[   21.746531]  kunit_try_run_case+0x1a5/0x480
[   21.746724]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.746941]  kthread+0x337/0x6f0
[   21.747212]  ret_from_fork+0x41/0x80
[   21.747497]  ret_from_fork_asm+0x1a/0x30
[   21.747837] 
[   21.747951] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   21.747951] 
[   21.748480] allocated by task 333 on cpu 0 at 21.744212s (0.004262s ago):
[   21.748823]  test_alloc+0x2a6/0x10f0
[   21.749114]  test_corruption+0xe6/0x3e0
[   21.749405]  kunit_try_run_case+0x1a5/0x480
[   21.749700]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.749983]  kthread+0x337/0x6f0
[   21.750178]  ret_from_fork+0x41/0x80
[   21.750366]  ret_from_fork_asm+0x1a/0x30
[   21.750546] 
[   21.750665] freed by task 333 on cpu 0 at 21.744302s (0.006358s ago):
[   21.751113]  test_corruption+0x131/0x3e0
[   21.751448]  kunit_try_run_case+0x1a5/0x480
[   21.751815]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.752029]  kthread+0x337/0x6f0
[   21.752272]  ret_from_fork+0x41/0x80
[   21.752550]  ret_from_fork_asm+0x1a/0x30
[   21.752971] 
[   21.753172] CPU: 0 UID: 0 PID: 333 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT(voluntary) 
[   21.753768] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.754144] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.754488] ==================================================================
[   21.224604] ==================================================================
[   21.225061] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   21.225061] 
[   21.225321] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#106):
[   21.226517]  test_corruption+0x2d2/0x3e0
[   21.226756]  kunit_try_run_case+0x1a5/0x480
[   21.226950]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.227334]  kthread+0x337/0x6f0
[   21.227606]  ret_from_fork+0x41/0x80
[   21.227834]  ret_from_fork_asm+0x1a/0x30
[   21.228018] 
[   21.228126] kfence-#106: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   21.228126] 
[   21.228881] allocated by task 331 on cpu 1 at 21.224206s (0.004670s ago):
[   21.229225]  test_alloc+0x364/0x10f0
[   21.229404]  test_corruption+0xe6/0x3e0
[   21.229692]  kunit_try_run_case+0x1a5/0x480
[   21.230107]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.230473]  kthread+0x337/0x6f0
[   21.230703]  ret_from_fork+0x41/0x80
[   21.230899]  ret_from_fork_asm+0x1a/0x30
[   21.231087] 
[   21.231251] freed by task 331 on cpu 1 at 21.224362s (0.006884s ago):
[   21.231744]  test_corruption+0x2d2/0x3e0
[   21.232032]  kunit_try_run_case+0x1a5/0x480
[   21.232268]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.232610]  kthread+0x337/0x6f0
[   21.232815]  ret_from_fork+0x41/0x80
[   21.232976]  ret_from_fork_asm+0x1a/0x30
[   21.233148] 
[   21.233306] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.2-rc1 #1 PREEMPT(voluntary) 
[   21.233783] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.234088] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.234719] ==================================================================