Hay
Date
July 1, 2025, 3:08 p.m.

Environment
qemu-arm64

[   16.946218] ==================================================================
[   16.946416] BUG: KFENCE: invalid free in krealloc_noprof+0x148/0x360
[   16.946416] 
[   16.946735] Invalid free of 0x00000000dcf6472e (in kfence-#55):
[   16.946791]  krealloc_noprof+0x148/0x360
[   16.946835]  krealloc_uaf+0x180/0x520
[   16.947142]  kunit_try_run_case+0x170/0x3f0
[   16.947276]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   16.947319]  kthread+0x328/0x630
[   16.947368]  ret_from_fork+0x10/0x20
[   16.947410] 
[   16.947504] kfence-#55: 0x00000000dcf6472e-0x00000000a7c9e69c, size=201, cache=kmalloc-256
[   16.947504] 
[   16.947655] allocated by task 165 on cpu 1 at 16.932817s (0.014834s ago):
[   16.947717]  krealloc_uaf+0xc8/0x520
[   16.947758]  kunit_try_run_case+0x170/0x3f0
[   16.947863]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   16.947960]  kthread+0x328/0x630
[   16.948092]  ret_from_fork+0x10/0x20
[   16.948195] 
[   16.948218] freed by task 165 on cpu 1 at 16.932882s (0.015327s ago):
[   16.948340]  krealloc_uaf+0x12c/0x520
[   16.948379]  kunit_try_run_case+0x170/0x3f0
[   16.948463]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   16.948606]  kthread+0x328/0x630
[   16.948695]  ret_from_fork+0x10/0x20
[   16.948767] 
[   16.948847] CPU: 1 UID: 0 PID: 165 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   16.948927] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.948958] Hardware name: linux,dummy-virt (DT)
[   16.949026] ==================================================================