Hay
Date
June 23, 2025, 1:39 p.m.

Environment
qemu-arm64

[   24.357725] ==================================================================
[   24.357825] BUG: KFENCE: memory corruption in krealloc_less_oob_helper+0x4d0/0xc50
[   24.357825] 
[   24.357947] Corrupted memory at 0x00000000aa102d2c [ ! . . . . . . . . . . . . . . . ] (in kfence-#78):
[   24.359551]  krealloc_less_oob_helper+0x4d0/0xc50
[   24.359661]  krealloc_less_oob+0x20/0x38
[   24.359925]  kunit_try_run_case+0x170/0x3f0
[   24.360026]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.360134]  kthread+0x328/0x630
[   24.360230]  ret_from_fork+0x10/0x20
[   24.360323] 
[   24.360381] kfence-#78: 0x0000000032e0c8e6-0x0000000088398e65, size=235, cache=kmalloc-256
[   24.360381] 
[   24.360725] allocated by task 160 on cpu 0 at 24.343610s (0.017106s ago):
[   24.360865]  krealloc_less_oob_helper+0x108/0xc50
[   24.361013]  krealloc_less_oob+0x20/0x38
[   24.361281]  kunit_try_run_case+0x170/0x3f0
[   24.361378]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.361503]  kthread+0x328/0x630
[   24.361645]  ret_from_fork+0x10/0x20
[   24.361810] 
[   24.361861] freed by task 160 on cpu 0 at 24.357593s (0.004259s ago):
[   24.362067]  krealloc_less_oob_helper+0x4d0/0xc50
[   24.362447]  krealloc_less_oob+0x20/0x38
[   24.362857]  kunit_try_run_case+0x170/0x3f0
[   24.363053]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.363164]  kthread+0x328/0x630
[   24.363257]  ret_from_fork+0x10/0x20
[   24.363342] 
[   24.363438] CPU: 0 UID: 0 PID: 160 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc1 #1 PREEMPT 
[   24.363625] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.363709] Hardware name: linux,dummy-virt (DT)
[   24.363797] ==================================================================