Date
May 15, 2025, 10:38 a.m.
Environment | |
---|---|
e850-96 |
[ 99.352323] ================================================================== [ 99.352455] BUG: KFENCE: use-after-free read in test_krealloc+0x51c/0x830 [ 99.352455] [ 99.352596] Use-after-free read at 0x(____ptrval____) (in kfence-#186): [ 99.352704] test_krealloc+0x51c/0x830 [ 99.355855] kunit_try_run_case+0x170/0x3f0 [ 99.360022] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 99.365491] kthread+0x328/0x630 [ 99.368702] ret_from_fork+0x10/0x20 [ 99.372261] [ 99.373741] kfence-#186: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 99.373741] [ 99.383374] allocated by task 382 on cpu 0 at 99.352232s (0.031140s ago): [ 99.390161] test_alloc+0x29c/0x628 [ 99.393615] test_krealloc+0xc0/0x830 [ 99.397261] kunit_try_run_case+0x170/0x3f0 [ 99.401428] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 99.406896] kthread+0x328/0x630 [ 99.410108] ret_from_fork+0x10/0x20 [ 99.413668] [ 99.415145] freed by task 382 on cpu 0 at 99.352262s (0.062880s ago): [ 99.421586] krealloc_noprof+0x148/0x360 [ 99.425472] test_krealloc+0x1dc/0x830 [ 99.429205] kunit_try_run_case+0x170/0x3f0 [ 99.433372] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 99.438842] kthread+0x328/0x630 [ 99.442052] ret_from_fork+0x10/0x20 [ 99.445612] [ 99.447097] CPU: 0 UID: 0 PID: 382 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc6-next-20250515 #1 PREEMPT [ 99.458205] Tainted: [B]=BAD_PAGE, [N]=TEST [ 99.462366] Hardware name: WinLink E850-96 board (DT) [ 99.467403] ==================================================================