Hay
Date
May 26, 2025, 9:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   23.498283] ==================================================================
[   23.498479] BUG: KFENCE: memory corruption in test_corruption+0x278/0x378
[   23.498479] 
[   23.498802] Corrupted memory at 0x000000002d44de56 [ ! . . . . . . . . . . . . . . . ] (in kfence-#113):
[   23.500069]  test_corruption+0x278/0x378
[   23.500158]  kunit_try_run_case+0x170/0x3f0
[   23.500393]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.500467]  kthread+0x328/0x630
[   23.500520]  ret_from_fork+0x10/0x20
[   23.500580] 
[   23.500609] kfence-#113: 0x0000000027f97248-0x000000009c1f9c55, size=32, cache=kmalloc-32
[   23.500609] 
[   23.500675] allocated by task 311 on cpu 0 at 23.497442s (0.003228s ago):
[   23.501224]  test_alloc+0x29c/0x628
[   23.501441]  test_corruption+0xdc/0x378
[   23.501574]  kunit_try_run_case+0x170/0x3f0
[   23.501623]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.502011]  kthread+0x328/0x630
[   23.502054]  ret_from_fork+0x10/0x20
[   23.502351] 
[   23.502445] freed by task 311 on cpu 0 at 23.497572s (0.004864s ago):
[   23.502742]  test_corruption+0x278/0x378
[   23.502791]  kunit_try_run_case+0x170/0x3f0
[   23.502837]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.503270]  kthread+0x328/0x630
[   23.503543]  ret_from_fork+0x10/0x20
[   23.503617] 
[   23.503796] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT 
[   23.503927] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.503970] Hardware name: linux,dummy-virt (DT)
[   23.504132] ==================================================================
[   23.807890] ==================================================================
[   23.808011] BUG: KFENCE: memory corruption in test_corruption+0x120/0x378
[   23.808011] 
[   23.808091] Corrupted memory at 0x0000000007b932bc [ ! . . . . . . . . . . . . . . . ] (in kfence-#116):
[   23.808450]  test_corruption+0x120/0x378
[   23.808520]  kunit_try_run_case+0x170/0x3f0
[   23.808574]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.808625]  kthread+0x328/0x630
[   23.808668]  ret_from_fork+0x10/0x20
[   23.808712] 
[   23.808741] kfence-#116: 0x00000000a151ee2a-0x0000000005d026de, size=32, cache=test
[   23.808741] 
[   23.808802] allocated by task 313 on cpu 0 at 23.807720s (0.001078s ago):
[   23.808874]  test_alloc+0x230/0x628
[   23.808918]  test_corruption+0xdc/0x378
[   23.808963]  kunit_try_run_case+0x170/0x3f0
[   23.809006]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.809053]  kthread+0x328/0x630
[   23.809093]  ret_from_fork+0x10/0x20
[   23.809136] 
[   23.809162] freed by task 313 on cpu 0 at 23.807787s (0.001371s ago):
[   23.809224]  test_corruption+0x120/0x378
[   23.809265]  kunit_try_run_case+0x170/0x3f0
[   23.809306]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.809363]  kthread+0x328/0x630
[   23.809402]  ret_from_fork+0x10/0x20
[   23.809442] 
[   23.809490] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT 
[   23.809573] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.809606] Hardware name: linux,dummy-virt (DT)
[   23.809642] ==================================================================
[   24.119774] ==================================================================
[   24.119932] BUG: KFENCE: memory corruption in test_corruption+0x1d8/0x378
[   24.119932] 
[   24.120008] Corrupted memory at 0x00000000c54a0522 [ ! ] (in kfence-#119):
[   24.120142]  test_corruption+0x1d8/0x378
[   24.120196]  kunit_try_run_case+0x170/0x3f0
[   24.120245]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.120296]  kthread+0x328/0x630
[   24.120364]  ret_from_fork+0x10/0x20
[   24.120410] 
[   24.120437] kfence-#119: 0x00000000ca1c910e-0x00000000ca49a93f, size=32, cache=test
[   24.120437] 
[   24.120514] allocated by task 313 on cpu 0 at 24.119515s (0.000994s ago):
[   24.120588]  test_alloc+0x230/0x628
[   24.120636]  test_corruption+0x198/0x378
[   24.120681]  kunit_try_run_case+0x170/0x3f0
[   24.120725]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.120772]  kthread+0x328/0x630
[   24.120811]  ret_from_fork+0x10/0x20
[   24.120854] 
[   24.120880] freed by task 313 on cpu 0 at 24.119614s (0.001262s ago):
[   24.120948]  test_corruption+0x1d8/0x378
[   24.120992]  kunit_try_run_case+0x170/0x3f0
[   24.121033]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.121081]  kthread+0x328/0x630
[   24.121120]  ret_from_fork+0x10/0x20
[   24.121162] 
[   24.121211] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT 
[   24.121302] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.121347] Hardware name: linux,dummy-virt (DT)
[   24.121388] ==================================================================
[   23.599831] ==================================================================
[   23.599956] BUG: KFENCE: memory corruption in test_corruption+0x284/0x378
[   23.599956] 
[   23.600030] Corrupted memory at 0x000000007da9dd45 [ ! ] (in kfence-#114):
[   23.600175]  test_corruption+0x284/0x378
[   23.600230]  kunit_try_run_case+0x170/0x3f0
[   23.600278]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.600338]  kthread+0x328/0x630
[   23.600386]  ret_from_fork+0x10/0x20
[   23.600431] 
[   23.600467] kfence-#114: 0x00000000d7ed66a0-0x0000000007007fd7, size=32, cache=kmalloc-32
[   23.600467] 
[   23.600541] allocated by task 311 on cpu 0 at 23.599494s (0.001042s ago):
[   23.600613]  test_alloc+0x29c/0x628
[   23.600661]  test_corruption+0x198/0x378
[   23.600702]  kunit_try_run_case+0x170/0x3f0
[   23.600746]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.600793]  kthread+0x328/0x630
[   23.600833]  ret_from_fork+0x10/0x20
[   23.600873] 
[   23.600898] freed by task 311 on cpu 0 at 23.599617s (0.001277s ago):
[   23.600962]  test_corruption+0x284/0x378
[   23.601005]  kunit_try_run_case+0x170/0x3f0
[   23.601049]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.601094]  kthread+0x328/0x630
[   23.601131]  ret_from_fork+0x10/0x20
[   23.601172] 
[   23.601218] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT 
[   23.601306] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.601349] Hardware name: linux,dummy-virt (DT)
[   23.601388] ==================================================================


[   17.443572] ==================================================================
[   17.443982] BUG: KFENCE: memory corruption in test_corruption+0x2df/0x3e0
[   17.443982] 
[   17.444298] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#82):
[   17.444663]  test_corruption+0x2df/0x3e0
[   17.444970]  kunit_try_run_case+0x1a5/0x480
[   17.445166]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.445369]  kthread+0x337/0x6f0
[   17.445557]  ret_from_fork+0x116/0x1d0
[   17.445800]  ret_from_fork_asm+0x1a/0x30
[   17.445962] 
[   17.446065] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.446065] 
[   17.446410] allocated by task 329 on cpu 0 at 17.443318s (0.003090s ago):
[   17.446736]  test_alloc+0x364/0x10f0
[   17.446951]  test_corruption+0x1cb/0x3e0
[   17.447126]  kunit_try_run_case+0x1a5/0x480
[   17.447291]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.447570]  kthread+0x337/0x6f0
[   17.447790]  ret_from_fork+0x116/0x1d0
[   17.447950]  ret_from_fork_asm+0x1a/0x30
[   17.448134] 
[   17.448230] freed by task 329 on cpu 0 at 17.443420s (0.004808s ago):
[   17.448521]  test_corruption+0x2df/0x3e0
[   17.448695]  kunit_try_run_case+0x1a5/0x480
[   17.448844]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.449031]  kthread+0x337/0x6f0
[   17.449205]  ret_from_fork+0x116/0x1d0
[   17.449455]  ret_from_fork_asm+0x1a/0x30
[   17.449634] 
[   17.449727] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) 
[   17.450245] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.450445] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.450886] ==================================================================
[   17.963498] ==================================================================
[   17.963992] BUG: KFENCE: memory corruption in test_corruption+0x216/0x3e0
[   17.963992] 
[   17.964285] Corrupted memory at 0x(____ptrval____) [ ! ] (in kfence-#87):
[   17.964690]  test_corruption+0x216/0x3e0
[   17.964851]  kunit_try_run_case+0x1a5/0x480
[   17.965133]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.965383]  kthread+0x337/0x6f0
[   17.965554]  ret_from_fork+0x116/0x1d0
[   17.965695]  ret_from_fork_asm+0x1a/0x30
[   17.965913] 
[   17.966014] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.966014] 
[   17.966415] allocated by task 331 on cpu 0 at 17.963349s (0.003065s ago):
[   17.966689]  test_alloc+0x2a6/0x10f0
[   17.966888]  test_corruption+0x1cb/0x3e0
[   17.967066]  kunit_try_run_case+0x1a5/0x480
[   17.967275]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.967466]  kthread+0x337/0x6f0
[   17.967589]  ret_from_fork+0x116/0x1d0
[   17.967826]  ret_from_fork_asm+0x1a/0x30
[   17.968220] 
[   17.968319] freed by task 331 on cpu 0 at 17.963421s (0.004896s ago):
[   17.968571]  test_corruption+0x216/0x3e0
[   17.968714]  kunit_try_run_case+0x1a5/0x480
[   17.968915]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.969177]  kthread+0x337/0x6f0
[   17.969360]  ret_from_fork+0x116/0x1d0
[   17.969586]  ret_from_fork_asm+0x1a/0x30
[   17.969780] 
[   17.969875] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) 
[   17.970426] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.970589] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.970981] ==================================================================
[   17.651422] ==================================================================
[   17.651878] BUG: KFENCE: memory corruption in test_corruption+0x131/0x3e0
[   17.651878] 
[   17.652212] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#84):
[   17.652893]  test_corruption+0x131/0x3e0
[   17.653094]  kunit_try_run_case+0x1a5/0x480
[   17.653305]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.653550]  kthread+0x337/0x6f0
[   17.653739]  ret_from_fork+0x116/0x1d0
[   17.653904]  ret_from_fork_asm+0x1a/0x30
[   17.654074] 
[   17.654178] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.654178] 
[   17.654560] allocated by task 331 on cpu 0 at 17.651294s (0.003263s ago):
[   17.654985]  test_alloc+0x2a6/0x10f0
[   17.655181]  test_corruption+0xe6/0x3e0
[   17.655356]  kunit_try_run_case+0x1a5/0x480
[   17.655564]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.655809]  kthread+0x337/0x6f0
[   17.655966]  ret_from_fork+0x116/0x1d0
[   17.656135]  ret_from_fork_asm+0x1a/0x30
[   17.656278] 
[   17.656350] freed by task 331 on cpu 0 at 17.651337s (0.005012s ago):
[   17.656648]  test_corruption+0x131/0x3e0
[   17.656845]  kunit_try_run_case+0x1a5/0x480
[   17.657015]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.657196]  kthread+0x337/0x6f0
[   17.657390]  ret_from_fork+0x116/0x1d0
[   17.657582]  ret_from_fork_asm+0x1a/0x30
[   17.657873] 
[   17.657998] CPU: 0 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) 
[   17.658491] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.658683] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.659056] ==================================================================
[   17.339552] ==================================================================
[   17.340083] BUG: KFENCE: memory corruption in test_corruption+0x2d2/0x3e0
[   17.340083] 
[   17.340463] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#81):
[   17.341228]  test_corruption+0x2d2/0x3e0
[   17.341431]  kunit_try_run_case+0x1a5/0x480
[   17.341613]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.341827]  kthread+0x337/0x6f0
[   17.342096]  ret_from_fork+0x116/0x1d0
[   17.342274]  ret_from_fork_asm+0x1a/0x30
[   17.342460] 
[   17.342562] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.342562] 
[   17.343037] allocated by task 329 on cpu 0 at 17.339287s (0.003749s ago):
[   17.343294]  test_alloc+0x364/0x10f0
[   17.343467]  test_corruption+0xe6/0x3e0
[   17.343658]  kunit_try_run_case+0x1a5/0x480
[   17.343833]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.344054]  kthread+0x337/0x6f0
[   17.344228]  ret_from_fork+0x116/0x1d0
[   17.344382]  ret_from_fork_asm+0x1a/0x30
[   17.344573] 
[   17.344673] freed by task 329 on cpu 0 at 17.339395s (0.005275s ago):
[   17.344928]  test_corruption+0x2d2/0x3e0
[   17.345119]  kunit_try_run_case+0x1a5/0x480
[   17.345332]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.345599]  kthread+0x337/0x6f0
[   17.345742]  ret_from_fork+0x116/0x1d0
[   17.345931]  ret_from_fork_asm+0x1a/0x30
[   17.346122] 
[   17.346239] CPU: 0 UID: 0 PID: 329 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc7-next-20250526 #1 PREEMPT(voluntary) 
[   17.346629] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.346788] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.347192] ==================================================================