Hay
Date
July 5, 2025, 11:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   26.426860] ==================================================================
[   26.427007] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   26.427007] 
[   26.427088] Corrupted memory at 0x000000003ab2e1b9 [ ! ] (in kfence-#136):
[   26.427212]  test_corruption+0x1d8/0x378
[   26.427265]  kunit_try_run_case+0x170/0x3f0
[   26.427313]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.427382]  kthread+0x328/0x630
[   26.427428]  ret_from_fork+0x10/0x20
[   26.427469] 
[   26.427494] kfence-#136: 0x00000000621378c6-0x00000000435a5ed4, size=32, cache=test
[   26.427494] 
[   26.427554] allocated by task 314 on cpu 1 at 26.426593s (0.000957s ago):
[   26.427618]  test_alloc+0x230/0x628
[   26.427660]  test_corruption+0x198/0x378
[   26.427702]  kunit_try_run_case+0x170/0x3f0
[   26.427742]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.427786]  kthread+0x328/0x630
[   26.427822]  ret_from_fork+0x10/0x20
[   26.427862] 
[   26.427886] freed by task 314 on cpu 1 at 26.426691s (0.001192s ago):
[   26.427947]  test_corruption+0x1d8/0x378
[   26.427989]  kunit_try_run_case+0x170/0x3f0
[   26.428028]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.428072]  kthread+0x328/0x630
[   26.428108]  ret_from_fork+0x10/0x20
[   26.428149] 
[   26.428195] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   26.428273] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.428304] Hardware name: linux,dummy-virt (DT)
[   26.428341] ==================================================================
[   25.482920] ==================================================================
[   25.483211] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   25.483211] 
[   25.483420] Corrupted memory at 0x00000000b4f388e5 [ ! ] (in kfence-#127):
[   25.484556]  test_corruption+0x284/0x378
[   25.484690]  kunit_try_run_case+0x170/0x3f0
[   25.484829]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.484925]  kthread+0x328/0x630
[   25.486754]  ret_from_fork+0x10/0x20
[   25.486889] 
[   25.486943] kfence-#127: 0x000000005d0b16d6-0x00000000990e84dc, size=32, cache=kmalloc-32
[   25.486943] 
[   25.487024] allocated by task 312 on cpu 1 at 25.481037s (0.005982s ago):
[   25.487096]  test_alloc+0x29c/0x628
[   25.487138]  test_corruption+0x198/0x378
[   25.487178]  kunit_try_run_case+0x170/0x3f0
[   25.487219]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.487261]  kthread+0x328/0x630
[   25.487298]  ret_from_fork+0x10/0x20
[   25.487337] 
[   25.487381] freed by task 312 on cpu 1 at 25.481578s (0.005797s ago):
[   25.487495]  test_corruption+0x284/0x378
[   25.487579]  kunit_try_run_case+0x170/0x3f0
[   25.487692]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.487802]  kthread+0x328/0x630
[   25.487972]  ret_from_fork+0x10/0x20
[   25.488059] 
[   25.488159] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   25.488859] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.489303] Hardware name: linux,dummy-virt (DT)
[   25.489596] ==================================================================
[   25.372077] ==================================================================
[   25.372235] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   25.372235] 
[   25.372371] Corrupted memory at 0x000000001b9f67c4 [ ! . . . . . . . . . . . . . . . ] (in kfence-#126):
[   25.372993]  test_corruption+0x278/0x378
[   25.373098]  kunit_try_run_case+0x170/0x3f0
[   25.373193]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.373295]  kthread+0x328/0x630
[   25.373396]  ret_from_fork+0x10/0x20
[   25.373485] 
[   25.373550] kfence-#126: 0x000000008ecbb845-0x00000000650ac9e7, size=32, cache=kmalloc-32
[   25.373550] 
[   25.373666] allocated by task 312 on cpu 1 at 25.371710s (0.001948s ago):
[   25.373797]  test_alloc+0x29c/0x628
[   25.373903]  test_corruption+0xdc/0x378
[   25.374055]  kunit_try_run_case+0x170/0x3f0
[   25.374145]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.374270]  kthread+0x328/0x630
[   25.374431]  ret_from_fork+0x10/0x20
[   25.374581] 
[   25.374658] freed by task 312 on cpu 1 at 25.371911s (0.002735s ago):
[   25.374820]  test_corruption+0x278/0x378
[   25.374899]  kunit_try_run_case+0x170/0x3f0
[   25.374968]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.375066]  kthread+0x328/0x630
[   25.375142]  ret_from_fork+0x10/0x20
[   25.375231] 
[   25.375339] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   25.375512] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.375610] Hardware name: linux,dummy-virt (DT)
[   25.375706] ==================================================================
[   25.903666] ==================================================================
[   25.903889] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   25.903889] 
[   25.904052] Corrupted memory at 0x00000000284f4363 [ ! . . . . . . . . . . . . . . . ] (in kfence-#131):
[   25.904688]  test_corruption+0x120/0x378
[   25.904785]  kunit_try_run_case+0x170/0x3f0
[   25.904885]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.904983]  kthread+0x328/0x630
[   25.905065]  ret_from_fork+0x10/0x20
[   25.905152] 
[   25.905206] kfence-#131: 0x00000000a6d55b77-0x000000005408f938, size=32, cache=test
[   25.905206] 
[   25.905320] allocated by task 314 on cpu 1 at 25.903309s (0.002004s ago):
[   25.905467]  test_alloc+0x230/0x628
[   25.905560]  test_corruption+0xdc/0x378
[   25.905648]  kunit_try_run_case+0x170/0x3f0
[   25.905736]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.905832]  kthread+0x328/0x630
[   25.905916]  ret_from_fork+0x10/0x20
[   25.906001] 
[   25.906052] freed by task 314 on cpu 1 at 25.903422s (0.002624s ago):
[   25.906202]  test_corruption+0x120/0x378
[   25.906308]  kunit_try_run_case+0x170/0x3f0
[   25.906436]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.906561]  kthread+0x328/0x630
[   25.906648]  ret_from_fork+0x10/0x20
[   25.906743] 
[   25.906837] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   25.907023] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.907092] Hardware name: linux,dummy-virt (DT)
[   25.907171] ==================================================================

[   21.108221] ==================================================================
[   21.108683] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   21.108683] 
[   21.109070] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#93):
[   21.109548]  test_corruption+0x216/0x3e0
[   21.109841]  kunit_try_run_case+0x1a5/0x480
[   21.110036]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.110343]  kthread+0x337/0x6f0
[   21.110560]  ret_from_fork+0x116/0x1d0
[   21.110788]  ret_from_fork_asm+0x1a/0x30
[   21.110992] 
[   21.111113] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   21.111113] 
[   21.111546] allocated by task 331 on cpu 1 at 21.108081s (0.003462s ago):
[   21.111834]  test_alloc+0x2a6/0x10f0
[   21.112059]  test_corruption+0x1cb/0x3e0
[   21.112306]  kunit_try_run_case+0x1a5/0x480
[   21.112560]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.113008]  kthread+0x337/0x6f0
[   21.113167]  ret_from_fork+0x116/0x1d0
[   21.113395]  ret_from_fork_asm+0x1a/0x30
[   21.113592] 
[   21.113722] freed by task 331 on cpu 1 at 21.108145s (0.005574s ago):
[   21.114081]  test_corruption+0x216/0x3e0
[   21.114281]  kunit_try_run_case+0x1a5/0x480
[   21.114463]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.114800]  kthread+0x337/0x6f0
[   21.115014]  ret_from_fork+0x116/0x1d0
[   21.115229]  ret_from_fork_asm+0x1a/0x30
[   21.115462] 
[   21.115610] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   21.116025] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.116195] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.116683] ==================================================================
[   20.692430] ==================================================================
[   20.693215] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   20.693215] 
[   20.693561] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#89):
[   20.694084]  test_corruption+0x2df/0x3e0
[   20.694335]  kunit_try_run_case+0x1a5/0x480
[   20.694579]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.694810]  kthread+0x337/0x6f0
[   20.695025]  ret_from_fork+0x116/0x1d0
[   20.695266]  ret_from_fork_asm+0x1a/0x30
[   20.695498] 
[   20.695624] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.695624] 
[   20.696086] allocated by task 329 on cpu 1 at 20.692129s (0.003955s ago):
[   20.696447]  test_alloc+0x364/0x10f0
[   20.696689]  test_corruption+0x1cb/0x3e0
[   20.696974]  kunit_try_run_case+0x1a5/0x480
[   20.697222]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.697442]  kthread+0x337/0x6f0
[   20.697588]  ret_from_fork+0x116/0x1d0
[   20.697894]  ret_from_fork_asm+0x1a/0x30
[   20.698138] 
[   20.698246] freed by task 329 on cpu 1 at 20.692238s (0.006005s ago):
[   20.698594]  test_corruption+0x2df/0x3e0
[   20.698789]  kunit_try_run_case+0x1a5/0x480
[   20.699073]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.699381]  kthread+0x337/0x6f0
[   20.699590]  ret_from_fork+0x116/0x1d0
[   20.699814]  ret_from_fork_asm+0x1a/0x30
[   20.700057] 
[   20.700208] CPU: 1 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   20.700726] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.700896] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.701279] ==================================================================
[   21.004305] ==================================================================
[   21.004804] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   21.004804] 
[   21.005172] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#92):
[   21.005996]  test_corruption+0x131/0x3e0
[   21.006179]  kunit_try_run_case+0x1a5/0x480
[   21.006485]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.006922]  kthread+0x337/0x6f0
[   21.007108]  ret_from_fork+0x116/0x1d0
[   21.007272]  ret_from_fork_asm+0x1a/0x30
[   21.007512] 
[   21.007635] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   21.007635] 
[   21.008137] allocated by task 331 on cpu 1 at 21.004155s (0.003979s ago):
[   21.008463]  test_alloc+0x2a6/0x10f0
[   21.008705]  test_corruption+0xe6/0x3e0
[   21.009084]  kunit_try_run_case+0x1a5/0x480
[   21.009309]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.009568]  kthread+0x337/0x6f0
[   21.009792]  ret_from_fork+0x116/0x1d0
[   21.010023]  ret_from_fork_asm+0x1a/0x30
[   21.010256] 
[   21.010361] freed by task 331 on cpu 1 at 21.004219s (0.006139s ago):
[   21.010655]  test_corruption+0x131/0x3e0
[   21.010823]  kunit_try_run_case+0x1a5/0x480
[   21.011015]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.011419]  kthread+0x337/0x6f0
[   21.011618]  ret_from_fork+0x116/0x1d0
[   21.011789]  ret_from_fork_asm+0x1a/0x30
[   21.011958] 
[   21.012078] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   21.012681] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.012928] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.013488] ==================================================================
[   20.484450] ==================================================================
[   20.485043] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   20.485043] 
[   20.485461] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#87):
[   20.486382]  test_corruption+0x2d2/0x3e0
[   20.486658]  kunit_try_run_case+0x1a5/0x480
[   20.486902]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.487199]  kthread+0x337/0x6f0
[   20.487353]  ret_from_fork+0x116/0x1d0
[   20.487571]  ret_from_fork_asm+0x1a/0x30
[   20.487909] 
[   20.488054] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.488054] 
[   20.488578] allocated by task 329 on cpu 1 at 20.484162s (0.004414s ago):
[   20.489012]  test_alloc+0x364/0x10f0
[   20.489244]  test_corruption+0xe6/0x3e0
[   20.489437]  kunit_try_run_case+0x1a5/0x480
[   20.489734]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.490060]  kthread+0x337/0x6f0
[   20.490253]  ret_from_fork+0x116/0x1d0
[   20.490517]  ret_from_fork_asm+0x1a/0x30
[   20.490777] 
[   20.490898] freed by task 329 on cpu 1 at 20.484263s (0.006632s ago):
[   20.491230]  test_corruption+0x2d2/0x3e0
[   20.491485]  kunit_try_run_case+0x1a5/0x480
[   20.491754]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.491962]  kthread+0x337/0x6f0
[   20.492106]  ret_from_fork+0x116/0x1d0
[   20.492264]  ret_from_fork_asm+0x1a/0x30
[   20.493176] 
[   20.493335] CPU: 1 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   20.494257] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.494572] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.495092] ==================================================================