Date
July 18, 2025, 11:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 48.718365] ================================================================== [ 48.718420] BUG: KFENCE: use-after-free read in test_krealloc+0x51c/0x830 [ 48.718420] [ 48.718507] Use-after-free read at 0x00000000f22d2a73 (in kfence-#143): [ 48.718559] test_krealloc+0x51c/0x830 [ 48.718605] kunit_try_run_case+0x170/0x3f0 [ 48.718650] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 48.718696] kthread+0x328/0x630 [ 48.718737] ret_from_fork+0x10/0x20 [ 48.718779] [ 48.718805] kfence-#143: 0x00000000f22d2a73-0x000000003940418d, size=32, cache=kmalloc-32 [ 48.718805] [ 48.718860] allocated by task 337 on cpu 1 at 48.717729s (0.001127s ago): [ 48.718930] test_alloc+0x29c/0x628 [ 48.718970] test_krealloc+0xc0/0x830 [ 48.719011] kunit_try_run_case+0x170/0x3f0 [ 48.719051] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 48.719096] kthread+0x328/0x630 [ 48.719131] ret_from_fork+0x10/0x20 [ 48.719170] [ 48.719194] freed by task 337 on cpu 1 at 48.717941s (0.001249s ago): [ 48.719257] krealloc_noprof+0x148/0x360 [ 48.719297] test_krealloc+0x1dc/0x830 [ 48.719349] kunit_try_run_case+0x170/0x3f0 [ 48.719390] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 48.719433] kthread+0x328/0x630 [ 48.719471] ret_from_fork+0x10/0x20 [ 48.719510] [ 48.719554] CPU: 1 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 48.719634] Tainted: [B]=BAD_PAGE, [N]=TEST [ 48.719665] Hardware name: linux,dummy-virt (DT) [ 48.719703] ==================================================================
[ 49.151024] ================================================================== [ 49.151386] BUG: KFENCE: use-after-free read in test_krealloc+0x6fc/0xbe0 [ 49.151386] [ 49.151813] Use-after-free read at 0x(____ptrval____) (in kfence-#135): [ 49.152082] test_krealloc+0x6fc/0xbe0 [ 49.152295] kunit_try_run_case+0x1a5/0x480 [ 49.152517] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 49.152769] kthread+0x337/0x6f0 [ 49.152958] ret_from_fork+0x116/0x1d0 [ 49.153150] ret_from_fork_asm+0x1a/0x30 [ 49.153521] [ 49.153623] kfence-#135: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 49.153623] [ 49.154333] allocated by task 356 on cpu 1 at 49.150328s (0.004003s ago): [ 49.154667] test_alloc+0x364/0x10f0 [ 49.154853] test_krealloc+0xad/0xbe0 [ 49.155274] kunit_try_run_case+0x1a5/0x480 [ 49.155631] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 49.156079] kthread+0x337/0x6f0 [ 49.156270] ret_from_fork+0x116/0x1d0 [ 49.156446] ret_from_fork_asm+0x1a/0x30 [ 49.156620] [ 49.156720] freed by task 356 on cpu 1 at 49.150596s (0.006111s ago): [ 49.156982] krealloc_noprof+0x108/0x340 [ 49.157134] test_krealloc+0x226/0xbe0 [ 49.157266] kunit_try_run_case+0x1a5/0x480 [ 49.157477] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 49.157744] kthread+0x337/0x6f0 [ 49.157877] ret_from_fork+0x116/0x1d0 [ 49.158050] ret_from_fork_asm+0x1a/0x30 [ 49.158332] [ 49.158456] CPU: 1 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 49.158879] Tainted: [B]=BAD_PAGE, [N]=TEST [ 49.159093] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 49.159351] ==================================================================