Date
July 9, 2025, 2:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 27.306304] ================================================================== [ 27.306398] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 27.306398] [ 27.306463] Corrupted memory at 0x00000000121fcecc [ ! . . . . . . . . . . . . . . . ] (in kfence-#146): [ 27.306773] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 27.306823] kunit_try_run_case+0x170/0x3f0 [ 27.306866] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.306909] kthread+0x328/0x630 [ 27.306949] ret_from_fork+0x10/0x20 [ 27.306988] [ 27.307014] kfence-#146: 0x00000000b3b47124-0x000000007106f35c, size=73, cache=kmalloc-96 [ 27.307014] [ 27.307069] allocated by task 325 on cpu 0 at 27.306058s (0.001008s ago): [ 27.307147] test_alloc+0x29c/0x628 [ 27.307189] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 27.307232] kunit_try_run_case+0x170/0x3f0 [ 27.307273] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.307316] kthread+0x328/0x630 [ 27.307353] ret_from_fork+0x10/0x20 [ 27.307393] [ 27.307418] freed by task 325 on cpu 0 at 27.306216s (0.001198s ago): [ 27.307481] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 27.307525] kunit_try_run_case+0x170/0x3f0 [ 27.307566] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.307610] kthread+0x328/0x630 [ 27.307647] ret_from_fork+0x10/0x20 [ 27.307688] [ 27.307729] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc5 #1 PREEMPT [ 27.307812] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 27.307843] Hardware name: linux,dummy-virt (DT) [ 27.307877] ==================================================================
[ 22.951362] ================================================================== [ 22.951789] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.951789] [ 22.952194] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#119): [ 22.952907] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.953133] kunit_try_run_case+0x1a5/0x480 [ 22.953351] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.953758] kthread+0x337/0x6f0 [ 22.953966] ret_from_fork+0x116/0x1d0 [ 22.954147] ret_from_fork_asm+0x1a/0x30 [ 22.954357] [ 22.954454] kfence-#119: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 22.954454] [ 22.954889] allocated by task 342 on cpu 0 at 22.951090s (0.003797s ago): [ 22.955137] test_alloc+0x364/0x10f0 [ 22.955346] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 22.955569] kunit_try_run_case+0x1a5/0x480 [ 22.955838] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.956097] kthread+0x337/0x6f0 [ 22.956264] ret_from_fork+0x116/0x1d0 [ 22.956448] ret_from_fork_asm+0x1a/0x30 [ 22.956590] [ 22.956691] freed by task 342 on cpu 0 at 22.951235s (0.005454s ago): [ 22.957136] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 22.957391] kunit_try_run_case+0x1a5/0x480 [ 22.957571] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 22.957828] kthread+0x337/0x6f0 [ 22.958019] ret_from_fork+0x116/0x1d0 [ 22.958226] ret_from_fork_asm+0x1a/0x30 [ 22.958395] [ 22.958520] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 22.959051] Tainted: [B]=BAD_PAGE, [N]=TEST [ 22.959238] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 22.959527] ==================================================================