Date
July 22, 2025, 2:40 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 28.299406] ================================================================== [ 28.299496] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 28.299496] [ 28.299558] Corrupted memory at 0x00000000e52464d2 [ ! . . . . . . . . . . . . . . . ] (in kfence-#153): [ 28.299870] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 28.299918] kunit_try_run_case+0x170/0x3f0 [ 28.299962] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.300004] kthread+0x328/0x630 [ 28.300045] ret_from_fork+0x10/0x20 [ 28.300085] [ 28.300109] kfence-#153: 0x00000000119c1287-0x000000008774c94d, size=73, cache=kmalloc-96 [ 28.300109] [ 28.300165] allocated by task 327 on cpu 1 at 28.299148s (0.001013s ago): [ 28.300226] test_alloc+0x29c/0x628 [ 28.300266] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 28.300320] kunit_try_run_case+0x170/0x3f0 [ 28.300360] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.300401] kthread+0x328/0x630 [ 28.300440] ret_from_fork+0x10/0x20 [ 28.300479] [ 28.300502] freed by task 327 on cpu 1 at 28.299306s (0.001192s ago): [ 28.300561] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 28.300603] kunit_try_run_case+0x170/0x3f0 [ 28.300642] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.300683] kthread+0x328/0x630 [ 28.300723] ret_from_fork+0x10/0x20 [ 28.300761] [ 28.300807] CPU: 1 UID: 0 PID: 327 Comm: kunit_try_catch Tainted: G B N 6.15.8-rc1 #1 PREEMPT [ 28.300885] Tainted: [B]=BAD_PAGE, [N]=TEST [ 28.300915] Hardware name: linux,dummy-virt (DT) [ 28.300949] ==================================================================
[ 21.864218] ================================================================== [ 21.864631] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 21.864631] [ 21.865045] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#126): [ 21.865811] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 21.866010] kunit_try_run_case+0x1a5/0x480 [ 21.866404] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 21.866620] kthread+0x337/0x6f0 [ 21.866802] ret_from_fork+0x41/0x80 [ 21.867001] ret_from_fork_asm+0x1a/0x30 [ 21.867203] [ 21.867309] kfence-#126: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 21.867309] [ 21.867746] allocated by task 345 on cpu 1 at 21.863977s (0.003766s ago): [ 21.867971] test_alloc+0x364/0x10f0 [ 21.868175] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 21.868513] kunit_try_run_case+0x1a5/0x480 [ 21.868718] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 21.868954] kthread+0x337/0x6f0 [ 21.869139] ret_from_fork+0x41/0x80 [ 21.869304] ret_from_fork_asm+0x1a/0x30 [ 21.869508] [ 21.869614] freed by task 345 on cpu 1 at 21.864102s (0.005510s ago): [ 21.869904] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 21.870147] kunit_try_run_case+0x1a5/0x480 [ 21.870365] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 21.870657] kthread+0x337/0x6f0 [ 21.870829] ret_from_fork+0x41/0x80 [ 21.870970] ret_from_fork_asm+0x1a/0x30 [ 21.871177] [ 21.871296] CPU: 1 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G B N 6.15.8-rc1 #1 PREEMPT(voluntary) [ 21.871772] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.871951] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 21.872372] ==================================================================