Hay
Date
July 8, 2025, 4:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.180716] ==================================================================
[   23.180802] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   23.180802] 
[   23.180863] Corrupted memory at 0x000000006488ceb2 [ ! . . . . . . . . . . . . . . . ] (in kfence-#99):
[   23.181172]  test_corruption+0x120/0x378
[   23.181218]  kunit_try_run_case+0x170/0x3f0
[   23.181263]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.181308]  kthread+0x328/0x630
[   23.181365]  ret_from_fork+0x10/0x20
[   23.181406] 
[   23.181431] kfence-#99: 0x00000000a554197e-0x00000000fa346432, size=32, cache=test
[   23.181431] 
[   23.181484] allocated by task 315 on cpu 0 at 23.180586s (0.000894s ago):
[   23.181545]  test_alloc+0x230/0x628
[   23.181585]  test_corruption+0xdc/0x378
[   23.181624]  kunit_try_run_case+0x170/0x3f0
[   23.181666]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.181711]  kthread+0x328/0x630
[   23.181750]  ret_from_fork+0x10/0x20
[   23.181789] 
[   23.181813] freed by task 315 on cpu 0 at 23.180639s (0.001170s ago):
[   23.181873]  test_corruption+0x120/0x378
[   23.181912]  kunit_try_run_case+0x170/0x3f0
[   23.181953]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.181997]  kthread+0x328/0x630
[   23.182038]  ret_from_fork+0x10/0x20
[   23.182077] 
[   23.182117] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   23.182192] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.182221] Hardware name: linux,dummy-virt (DT)
[   23.182254] ==================================================================
[   23.284780] ==================================================================
[   23.284861] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   23.284861] 
[   23.284918] Corrupted memory at 0x000000001d323dea [ ! ] (in kfence-#100):
[   23.285030]  test_corruption+0x1d8/0x378
[   23.285076]  kunit_try_run_case+0x170/0x3f0
[   23.285120]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.285166]  kthread+0x328/0x630
[   23.285209]  ret_from_fork+0x10/0x20
[   23.285248] 
[   23.285271] kfence-#100: 0x00000000cffc47e5-0x00000000dd1e58a6, size=32, cache=test
[   23.285271] 
[   23.285325] allocated by task 315 on cpu 0 at 23.284655s (0.000666s ago):
[   23.285399]  test_alloc+0x230/0x628
[   23.285439]  test_corruption+0x198/0x378
[   23.285479]  kunit_try_run_case+0x170/0x3f0
[   23.285519]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.285564]  kthread+0x328/0x630
[   23.285602]  ret_from_fork+0x10/0x20
[   23.285641] 
[   23.285664] freed by task 315 on cpu 0 at 23.284707s (0.000953s ago):
[   23.285723]  test_corruption+0x1d8/0x378
[   23.285762]  kunit_try_run_case+0x170/0x3f0
[   23.285802]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.285846]  kthread+0x328/0x630
[   23.285884]  ret_from_fork+0x10/0x20
[   23.285924] 
[   23.285961] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   23.286035] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.286064] Hardware name: linux,dummy-virt (DT)
[   23.286097] ==================================================================
[   22.973085] ==================================================================
[   22.973193] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   22.973193] 
[   22.973258] Corrupted memory at 0x000000009cb05031 [ ! . . . . . . . . . . . . . . . ] (in kfence-#97):
[   22.974392]  test_corruption+0x278/0x378
[   22.974445]  kunit_try_run_case+0x170/0x3f0
[   22.974492]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.974539]  kthread+0x328/0x630
[   22.974581]  ret_from_fork+0x10/0x20
[   22.974620] 
[   22.974646] kfence-#97: 0x000000008183efa2-0x0000000097b7f504, size=32, cache=kmalloc-32
[   22.974646] 
[   22.974703] allocated by task 313 on cpu 0 at 22.972793s (0.001906s ago):
[   22.974767]  test_alloc+0x29c/0x628
[   22.974807]  test_corruption+0xdc/0x378
[   22.974853]  kunit_try_run_case+0x170/0x3f0
[   22.974895]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.974940]  kthread+0x328/0x630
[   22.974979]  ret_from_fork+0x10/0x20
[   22.975019] 
[   22.975042] freed by task 313 on cpu 0 at 22.972891s (0.002148s ago):
[   22.975100]  test_corruption+0x278/0x378
[   22.975140]  kunit_try_run_case+0x170/0x3f0
[   22.975181]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.975226]  kthread+0x328/0x630
[   22.975266]  ret_from_fork+0x10/0x20
[   22.975306] 
[   22.975361] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   22.975442] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.975472] Hardware name: linux,dummy-virt (DT)
[   22.975508] ==================================================================
[   23.076933] ==================================================================
[   23.077014] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.077014] 
[   23.077076] Corrupted memory at 0x000000006b3f10f4 [ ! ] (in kfence-#98):
[   23.077199]  test_corruption+0x284/0x378
[   23.077247]  kunit_try_run_case+0x170/0x3f0
[   23.077292]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.077352]  kthread+0x328/0x630
[   23.077396]  ret_from_fork+0x10/0x20
[   23.077435] 
[   23.077459] kfence-#98: 0x00000000cc89e796-0x00000000133de5d9, size=32, cache=kmalloc-32
[   23.077459] 
[   23.077515] allocated by task 313 on cpu 0 at 23.076673s (0.000838s ago):
[   23.077576]  test_alloc+0x29c/0x628
[   23.077614]  test_corruption+0x198/0x378
[   23.077654]  kunit_try_run_case+0x170/0x3f0
[   23.077696]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.077741]  kthread+0x328/0x630
[   23.077781]  ret_from_fork+0x10/0x20
[   23.077819] 
[   23.077843] freed by task 313 on cpu 0 at 23.076773s (0.001066s ago):
[   23.077901]  test_corruption+0x284/0x378
[   23.077941]  kunit_try_run_case+0x170/0x3f0
[   23.077981]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.078026]  kthread+0x328/0x630
[   23.078065]  ret_from_fork+0x10/0x20
[   23.078103] 
[   23.078146] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   23.078221] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.078251] Hardware name: linux,dummy-virt (DT)
[   23.078283] ==================================================================

[   17.517429] ==================================================================
[   17.517804] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.517804] 
[   17.518202] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#80):
[   17.518630]  test_corruption+0x2df/0x3e0
[   17.518959]  kunit_try_run_case+0x1a5/0x480
[   17.519149]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.519425]  kthread+0x337/0x6f0
[   17.519596]  ret_from_fork+0x41/0x80
[   17.519795]  ret_from_fork_asm+0x1a/0x30
[   17.519949] 
[   17.520052] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.520052] 
[   17.520528] allocated by task 331 on cpu 1 at 17.517170s (0.003355s ago):
[   17.520841]  test_alloc+0x364/0x10f0
[   17.521036]  test_corruption+0x1cb/0x3e0
[   17.521255]  kunit_try_run_case+0x1a5/0x480
[   17.521469]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.521733]  kthread+0x337/0x6f0
[   17.521952]  ret_from_fork+0x41/0x80
[   17.522087]  ret_from_fork_asm+0x1a/0x30
[   17.522247] 
[   17.522347] freed by task 331 on cpu 1 at 17.517262s (0.005083s ago):
[   17.522843]  test_corruption+0x2df/0x3e0
[   17.523048]  kunit_try_run_case+0x1a5/0x480
[   17.523250]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.523505]  kthread+0x337/0x6f0
[   17.523680]  ret_from_fork+0x41/0x80
[   17.523896]  ret_from_fork_asm+0x1a/0x30
[   17.524115] 
[   17.524237] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   17.524675] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.524813] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.525252] ==================================================================
[   18.245260] ==================================================================
[   18.245699] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   18.245699] 
[   18.246022] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#87):
[   18.246425]  test_corruption+0x216/0x3e0
[   18.246595]  kunit_try_run_case+0x1a5/0x480
[   18.246818]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.247051]  kthread+0x337/0x6f0
[   18.247240]  ret_from_fork+0x41/0x80
[   18.247441]  ret_from_fork_asm+0x1a/0x30
[   18.247646] 
[   18.247748] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.247748] 
[   18.248114] allocated by task 333 on cpu 0 at 18.245123s (0.002988s ago):
[   18.248412]  test_alloc+0x2a6/0x10f0
[   18.248557]  test_corruption+0x1cb/0x3e0
[   18.248775]  kunit_try_run_case+0x1a5/0x480
[   18.248987]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.249189]  kthread+0x337/0x6f0
[   18.249315]  ret_from_fork+0x41/0x80
[   18.249466]  ret_from_fork_asm+0x1a/0x30
[   18.249671] 
[   18.249776] freed by task 333 on cpu 0 at 18.245173s (0.004600s ago):
[   18.250103]  test_corruption+0x216/0x3e0
[   18.250291]  kunit_try_run_case+0x1a5/0x480
[   18.250442]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.250667]  kthread+0x337/0x6f0
[   18.250925]  ret_from_fork+0x41/0x80
[   18.251107]  ret_from_fork_asm+0x1a/0x30
[   18.251306] 
[   18.251429] CPU: 0 UID: 0 PID: 333 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   18.251860] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.252082] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.252417] ==================================================================
[   17.413413] ==================================================================
[   17.413767] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.413767] 
[   17.414149] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#79):
[   17.414738]  test_corruption+0x2d2/0x3e0
[   17.414919]  kunit_try_run_case+0x1a5/0x480
[   17.415145]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.415405]  kthread+0x337/0x6f0
[   17.415585]  ret_from_fork+0x41/0x80
[   17.415763]  ret_from_fork_asm+0x1a/0x30
[   17.415936] 
[   17.416014] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.416014] 
[   17.416297] allocated by task 331 on cpu 1 at 17.413260s (0.003034s ago):
[   17.416581]  test_alloc+0x364/0x10f0
[   17.416768]  test_corruption+0xe6/0x3e0
[   17.417024]  kunit_try_run_case+0x1a5/0x480
[   17.417400]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.417573]  kthread+0x337/0x6f0
[   17.417692]  ret_from_fork+0x41/0x80
[   17.418036]  ret_from_fork_asm+0x1a/0x30
[   17.418242] 
[   17.418364] freed by task 331 on cpu 1 at 17.413339s (0.005023s ago):
[   17.418734]  test_corruption+0x2d2/0x3e0
[   17.418974]  kunit_try_run_case+0x1a5/0x480
[   17.419196]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.419443]  kthread+0x337/0x6f0
[   17.419708]  ret_from_fork+0x41/0x80
[   17.419909]  ret_from_fork_asm+0x1a/0x30
[   17.420124] 
[   17.420225] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   17.420542] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.420765] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.421230] ==================================================================
[   17.829314] ==================================================================
[   17.829789] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   17.829789] 
[   17.830099] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#83):
[   17.830744]  test_corruption+0x131/0x3e0
[   17.830969]  kunit_try_run_case+0x1a5/0x480
[   17.831196]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.831411]  kthread+0x337/0x6f0
[   17.831648]  ret_from_fork+0x41/0x80
[   17.831812]  ret_from_fork_asm+0x1a/0x30
[   17.832032] 
[   17.832138] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.832138] 
[   17.832501] allocated by task 333 on cpu 0 at 17.829175s (0.003323s ago):
[   17.832793]  test_alloc+0x2a6/0x10f0
[   17.832986]  test_corruption+0xe6/0x3e0
[   17.833137]  kunit_try_run_case+0x1a5/0x480
[   17.833290]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.833535]  kthread+0x337/0x6f0
[   17.833722]  ret_from_fork+0x41/0x80
[   17.833933]  ret_from_fork_asm+0x1a/0x30
[   17.834138] 
[   17.834221] freed by task 333 on cpu 0 at 17.829237s (0.004981s ago):
[   17.834468]  test_corruption+0x131/0x3e0
[   17.834904]  kunit_try_run_case+0x1a5/0x480
[   17.835093]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.835318]  kthread+0x337/0x6f0
[   17.835489]  ret_from_fork+0x41/0x80
[   17.835703]  ret_from_fork_asm+0x1a/0x30
[   17.835853] 
[   17.835962] CPU: 0 UID: 0 PID: 333 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   17.836451] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.836663] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.836998] ==================================================================