Date
June 17, 2025, 3:40 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 27.593367] ================================================================== [ 27.593535] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 27.593535] [ 27.594024] Use-after-free read at 0x000000004551e860 (in kfence-#126): [ 27.594388] test_use_after_free_read+0x114/0x248 [ 27.595003] kunit_try_run_case+0x170/0x3f0 [ 27.595509] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.595678] kthread+0x328/0x630 [ 27.595870] ret_from_fork+0x10/0x20 [ 27.595974] [ 27.596500] kfence-#126: 0x000000004551e860-0x00000000abd9f729, size=32, cache=test [ 27.596500] [ 27.596894] allocated by task 299 on cpu 0 at 27.592398s (0.004485s ago): [ 27.597365] test_alloc+0x230/0x628 [ 27.597468] test_use_after_free_read+0xd0/0x248 [ 27.597564] kunit_try_run_case+0x170/0x3f0 [ 27.597660] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.598045] kthread+0x328/0x630 [ 27.598266] ret_from_fork+0x10/0x20 [ 27.598371] [ 27.598841] freed by task 299 on cpu 0 at 27.592553s (0.006277s ago): [ 27.599616] test_use_after_free_read+0xf0/0x248 [ 27.600021] kunit_try_run_case+0x170/0x3f0 [ 27.600407] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.600546] kthread+0x328/0x630 [ 27.601204] ret_from_fork+0x10/0x20 [ 27.601850] [ 27.602216] CPU: 0 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G B N 6.15.3-rc1 #1 PREEMPT [ 27.602534] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.602713] Hardware name: linux,dummy-virt (DT) [ 27.603147] ================================================================== [ 27.486840] ================================================================== [ 27.487334] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x114/0x248 [ 27.487334] [ 27.487868] Use-after-free read at 0x0000000064b1224c (in kfence-#125): [ 27.488460] test_use_after_free_read+0x114/0x248 [ 27.488616] kunit_try_run_case+0x170/0x3f0 [ 27.488742] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.489322] kthread+0x328/0x630 [ 27.489886] ret_from_fork+0x10/0x20 [ 27.490045] [ 27.490108] kfence-#125: 0x0000000064b1224c-0x0000000099a3d578, size=32, cache=kmalloc-32 [ 27.490108] [ 27.490490] allocated by task 297 on cpu 0 at 27.485246s (0.005233s ago): [ 27.490949] test_alloc+0x29c/0x628 [ 27.491057] test_use_after_free_read+0xd0/0x248 [ 27.491161] kunit_try_run_case+0x170/0x3f0 [ 27.491267] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.491852] kthread+0x328/0x630 [ 27.492071] ret_from_fork+0x10/0x20 [ 27.492191] [ 27.492678] freed by task 297 on cpu 0 at 27.486302s (0.006365s ago): [ 27.493108] test_use_after_free_read+0x1c0/0x248 [ 27.493222] kunit_try_run_case+0x170/0x3f0 [ 27.493327] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.493849] kthread+0x328/0x630 [ 27.493951] ret_from_fork+0x10/0x20 [ 27.494027] [ 27.494400] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G B N 6.15.3-rc1 #1 PREEMPT [ 27.494876] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.495069] Hardware name: linux,dummy-virt (DT) [ 27.495424] ==================================================================
[ 27.995985] ================================================================== [ 27.996742] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270 [ 27.996742] [ 27.997464] Use-after-free read at 0x(____ptrval____) (in kfence-#111): [ 27.997943] test_use_after_free_read+0x129/0x270 [ 27.999097] kunit_try_run_case+0x1a5/0x480 [ 27.999834] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 28.000791] kthread+0x337/0x6f0 [ 28.001517] ret_from_fork+0x41/0x80 [ 28.001881] ret_from_fork_asm+0x1a/0x30 [ 28.002646] [ 28.002924] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test [ 28.002924] [ 28.003769] allocated by task 317 on cpu 0 at 27.995647s (0.008116s ago): [ 28.004678] test_alloc+0x2a6/0x10f0 [ 28.005026] test_use_after_free_read+0xdc/0x270 [ 28.005438] kunit_try_run_case+0x1a5/0x480 [ 28.005782] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 28.006708] kthread+0x337/0x6f0 [ 28.007396] ret_from_fork+0x41/0x80 [ 28.008001] ret_from_fork_asm+0x1a/0x30 [ 28.008405] [ 28.008627] freed by task 317 on cpu 0 at 27.995737s (0.012884s ago): [ 28.009173] test_use_after_free_read+0xfb/0x270 [ 28.009693] kunit_try_run_case+0x1a5/0x480 [ 28.010077] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 28.010590] kthread+0x337/0x6f0 [ 28.010968] ret_from_fork+0x41/0x80 [ 28.011348] ret_from_fork_asm+0x1a/0x30 [ 28.011773] [ 28.012095] CPU: 0 UID: 0 PID: 317 Comm: kunit_try_catch Tainted: G B N 6.15.3-rc1 #1 PREEMPT(voluntary) [ 28.013014] Tainted: [B]=BAD_PAGE, [N]=TEST [ 28.013812] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 28.014934] ================================================================== [ 27.891991] ================================================================== [ 27.892714] BUG: KFENCE: use-after-free read in test_use_after_free_read+0x129/0x270 [ 27.892714] [ 27.893504] Use-after-free read at 0x(____ptrval____) (in kfence-#110): [ 27.894074] test_use_after_free_read+0x129/0x270 [ 27.895462] kunit_try_run_case+0x1a5/0x480 [ 27.895890] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 27.896744] kthread+0x337/0x6f0 [ 27.897046] ret_from_fork+0x41/0x80 [ 27.897913] ret_from_fork_asm+0x1a/0x30 [ 27.898506] [ 27.898713] kfence-#110: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32 [ 27.898713] [ 27.899608] allocated by task 315 on cpu 1 at 27.891664s (0.007938s ago): [ 27.900650] test_alloc+0x364/0x10f0 [ 27.900829] test_use_after_free_read+0xdc/0x270 [ 27.901014] kunit_try_run_case+0x1a5/0x480 [ 27.901732] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 27.902773] kthread+0x337/0x6f0 [ 27.903112] ret_from_fork+0x41/0x80 [ 27.903628] ret_from_fork_asm+0x1a/0x30 [ 27.904037] [ 27.904692] freed by task 315 on cpu 1 at 27.891745s (0.012944s ago): [ 27.905365] test_use_after_free_read+0x1e7/0x270 [ 27.906008] kunit_try_run_case+0x1a5/0x480 [ 27.906446] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 27.906962] kthread+0x337/0x6f0 [ 27.907525] ret_from_fork+0x41/0x80 [ 27.908230] ret_from_fork_asm+0x1a/0x30 [ 27.909069] [ 27.909631] CPU: 1 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G B N 6.15.3-rc1 #1 PREEMPT(voluntary) [ 27.910863] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.911267] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 27.912006] ==================================================================