Date
July 1, 2025, 11:08 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 30.039928] ================================================================== [ 30.040042] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 30.040042] [ 30.040113] Corrupted memory at 0x00000000869304e3 [ ! . . . . . . . . . . . . . . . ] (in kfence-#159): [ 30.040465] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 30.040519] kunit_try_run_case+0x170/0x3f0 [ 30.040563] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.040611] kthread+0x328/0x630 [ 30.040652] ret_from_fork+0x10/0x20 [ 30.040695] [ 30.040720] kfence-#159: 0x000000009bb1e06b-0x000000002863331f, size=73, cache=kmalloc-96 [ 30.040720] [ 30.040780] allocated by task 326 on cpu 1 at 30.039648s (0.001128s ago): [ 30.040846] test_alloc+0x29c/0x628 [ 30.040890] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 30.040937] kunit_try_run_case+0x170/0x3f0 [ 30.040980] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.041026] kthread+0x328/0x630 [ 30.041064] ret_from_fork+0x10/0x20 [ 30.041105] [ 30.041142] freed by task 326 on cpu 1 at 30.039825s (0.001301s ago): [ 30.041208] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 30.041255] kunit_try_run_case+0x170/0x3f0 [ 30.041309] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 30.041355] kthread+0x328/0x630 [ 30.041395] ret_from_fork+0x10/0x20 [ 30.041436] [ 30.041483] CPU: 1 UID: 0 PID: 326 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 30.041567] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.041599] Hardware name: linux,dummy-virt (DT) [ 30.041637] ==================================================================
[ 23.585588] ================================================================== [ 23.586091] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 23.586091] [ 23.586543] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#136): [ 23.587224] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 23.587439] kunit_try_run_case+0x1a5/0x480 [ 23.587605] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.587865] kthread+0x337/0x6f0 [ 23.588166] ret_from_fork+0x116/0x1d0 [ 23.588360] ret_from_fork_asm+0x1a/0x30 [ 23.588610] [ 23.588717] kfence-#136: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 23.588717] [ 23.589074] allocated by task 342 on cpu 0 at 23.585302s (0.003769s ago): [ 23.589441] test_alloc+0x364/0x10f0 [ 23.589638] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 23.589806] kunit_try_run_case+0x1a5/0x480 [ 23.590038] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.590312] kthread+0x337/0x6f0 [ 23.590516] ret_from_fork+0x116/0x1d0 [ 23.590719] ret_from_fork_asm+0x1a/0x30 [ 23.590920] [ 23.591010] freed by task 342 on cpu 0 at 23.585462s (0.005545s ago): [ 23.591311] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 23.591575] kunit_try_run_case+0x1a5/0x480 [ 23.591810] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.592068] kthread+0x337/0x6f0 [ 23.592249] ret_from_fork+0x116/0x1d0 [ 23.592464] ret_from_fork_asm+0x1a/0x30 [ 23.592609] [ 23.592720] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 23.593398] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.593687] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.594087] ==================================================================