Hay
Date
June 17, 2025, 3:40 p.m.

Environment
qemu-arm64

[   21.399719] ==================================================================
[   21.400774] BUG: KFENCE: memory corruption in krealloc_less_oob_helper+0x4d0/0xc50
[   21.400774] 
[   21.401131] Corrupted memory at 0x0000000086bf710b [ ! . . . . . . . . . . . . . . . ] (in kfence-#80):
[   21.407724]  krealloc_less_oob_helper+0x4d0/0xc50
[   21.408137]  krealloc_less_oob+0x20/0x38
[   21.408580]  kunit_try_run_case+0x170/0x3f0
[   21.408716]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.408832]  kthread+0x328/0x630
[   21.408926]  ret_from_fork+0x10/0x20
[   21.409039] 
[   21.409402] kfence-#80: 0x00000000d4b349e7-0x0000000099c4d645, size=235, cache=kmalloc-256
[   21.409402] 
[   21.411143] allocated by task 160 on cpu 0 at 21.383363s (0.027315s ago):
[   21.411458]  krealloc_less_oob_helper+0x108/0xc50
[   21.411625]  krealloc_less_oob+0x20/0x38
[   21.411714]  kunit_try_run_case+0x170/0x3f0
[   21.412130]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.412249]  kthread+0x328/0x630
[   21.412336]  ret_from_fork+0x10/0x20
[   21.412583] 
[   21.413674] freed by task 160 on cpu 0 at 21.397081s (0.015639s ago):
[   21.413927]  krealloc_less_oob_helper+0x4d0/0xc50
[   21.414034]  krealloc_less_oob+0x20/0x38
[   21.414114]  kunit_try_run_case+0x170/0x3f0
[   21.414188]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.414877]  kthread+0x328/0x630
[   21.415121]  ret_from_fork+0x10/0x20
[   21.416112] 
[   21.416465] CPU: 0 UID: 0 PID: 160 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT 
[   21.416944] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.417233] Hardware name: linux,dummy-virt (DT)
[   21.417430] ==================================================================