Date
July 10, 2025, 11:10 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 49.067022] ================================================================== [ 49.067129] BUG: KFENCE: use-after-free read in test_krealloc+0x51c/0x830 [ 49.067129] [ 49.067227] Use-after-free read at 0x00000000c3e6c6ca (in kfence-#144): [ 49.067280] test_krealloc+0x51c/0x830 [ 49.067328] kunit_try_run_case+0x170/0x3f0 [ 49.067375] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 49.067421] kthread+0x328/0x630 [ 49.067463] ret_from_fork+0x10/0x20 [ 49.067505] [ 49.067529] kfence-#144: 0x00000000c3e6c6ca-0x00000000ef86631b, size=32, cache=kmalloc-32 [ 49.067529] [ 49.067584] allocated by task 337 on cpu 0 at 49.066380s (0.001200s ago): [ 49.067656] test_alloc+0x29c/0x628 [ 49.067699] test_krealloc+0xc0/0x830 [ 49.067739] kunit_try_run_case+0x170/0x3f0 [ 49.067781] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 49.067827] kthread+0x328/0x630 [ 49.067865] ret_from_fork+0x10/0x20 [ 49.067906] [ 49.067929] freed by task 337 on cpu 0 at 49.066615s (0.001310s ago): [ 49.067990] krealloc_noprof+0x148/0x360 [ 49.068031] test_krealloc+0x1dc/0x830 [ 49.068072] kunit_try_run_case+0x170/0x3f0 [ 49.068123] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 49.068169] kthread+0x328/0x630 [ 49.068205] ret_from_fork+0x10/0x20 [ 49.068246] [ 49.068295] CPU: 0 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 49.068375] Tainted: [B]=BAD_PAGE, [N]=TEST [ 49.068406] Hardware name: linux,dummy-virt (DT) [ 49.068442] ==================================================================
[ 49.502289] ================================================================== [ 49.502641] BUG: KFENCE: use-after-free read in test_krealloc+0x6fc/0xbe0 [ 49.502641] [ 49.503074] Use-after-free read at 0x(____ptrval____) (in kfence-#139): [ 49.503374] test_krealloc+0x6fc/0xbe0 [ 49.503615] kunit_try_run_case+0x1a5/0x480 [ 49.503784] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 49.504074] kthread+0x337/0x6f0 [ 49.504277] ret_from_fork+0x116/0x1d0 [ 49.504726] ret_from_fork_asm+0x1a/0x30 [ 49.504915] [ 49.504995] kfence-#139: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 49.504995] [ 49.505860] allocated by task 355 on cpu 0 at 49.501621s (0.004236s ago): [ 49.506198] test_alloc+0x364/0x10f0 [ 49.506634] test_krealloc+0xad/0xbe0 [ 49.506829] kunit_try_run_case+0x1a5/0x480 [ 49.507035] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 49.507293] kthread+0x337/0x6f0 [ 49.507499] ret_from_fork+0x116/0x1d0 [ 49.507701] ret_from_fork_asm+0x1a/0x30 [ 49.507917] [ 49.508018] freed by task 355 on cpu 0 at 49.501879s (0.006136s ago): [ 49.508294] krealloc_noprof+0x108/0x340 [ 49.508563] test_krealloc+0x226/0xbe0 [ 49.508741] kunit_try_run_case+0x1a5/0x480 [ 49.508952] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 49.509234] kthread+0x337/0x6f0 [ 49.509410] ret_from_fork+0x116/0x1d0 [ 49.509592] ret_from_fork_asm+0x1a/0x30 [ 49.509758] [ 49.509901] CPU: 0 UID: 0 PID: 355 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 49.510375] Tainted: [B]=BAD_PAGE, [N]=TEST [ 49.510601] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 49.510956] ==================================================================