Date
June 23, 2025, 7:07 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 45.363494] ================================================================== [ 45.363581] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 45.363581] [ 45.363656] Corrupted memory at 0x00000000df0aed74 [ ! . . . . . . . . . . . . . . . ] (in kfence-#185): [ 45.364015] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 45.364112] kunit_try_run_case+0x170/0x3f0 [ 45.364169] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 45.364224] kthread+0x328/0x630 [ 45.364270] ret_from_fork+0x10/0x20 [ 45.364321] [ 45.364350] kfence-#185: 0x000000008c50db01-0x000000009d0de778, size=73, cache=kmalloc-96 [ 45.364350] [ 45.364414] allocated by task 337 on cpu 1 at 45.363200s (0.001209s ago): [ 45.364488] test_alloc+0x29c/0x628 [ 45.364541] test_kmalloc_aligned_oob_write+0xbc/0x2c0 [ 45.364598] kunit_try_run_case+0x170/0x3f0 [ 45.364650] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 45.364705] kthread+0x328/0x630 [ 45.364750] ret_from_fork+0x10/0x20 [ 45.364798] [ 45.364827] freed by task 337 on cpu 1 at 45.363407s (0.001415s ago): [ 45.364906] test_kmalloc_aligned_oob_write+0x214/0x2c0 [ 45.364962] kunit_try_run_case+0x170/0x3f0 [ 45.365013] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 45.365088] kthread+0x328/0x630 [ 45.365134] ret_from_fork+0x10/0x20 [ 45.365183] [ 45.365229] CPU: 1 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250623 #1 PREEMPT [ 45.365326] Tainted: [B]=BAD_PAGE, [N]=TEST [ 45.365363] Hardware name: linux,dummy-virt (DT) [ 45.365403] ==================================================================
[ 35.101109] ================================================================== [ 35.101364] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.101364] [ 35.101565] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#158): [ 35.101960] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.102204] kunit_try_run_case+0x1a5/0x480 [ 35.102542] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.102937] kthread+0x337/0x6f0 [ 35.103194] ret_from_fork+0x116/0x1d0 [ 35.103416] ret_from_fork_asm+0x1a/0x30 [ 35.103569] [ 35.103703] kfence-#158: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96 [ 35.103703] [ 35.104299] allocated by task 354 on cpu 1 at 35.100834s (0.003460s ago): [ 35.104601] test_alloc+0x364/0x10f0 [ 35.104761] test_kmalloc_aligned_oob_write+0xc8/0x340 [ 35.104971] kunit_try_run_case+0x1a5/0x480 [ 35.105132] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.105477] kthread+0x337/0x6f0 [ 35.105729] ret_from_fork+0x116/0x1d0 [ 35.106066] ret_from_fork_asm+0x1a/0x30 [ 35.106418] [ 35.106594] freed by task 354 on cpu 1 at 35.100973s (0.005601s ago): [ 35.107128] test_kmalloc_aligned_oob_write+0x24f/0x340 [ 35.107389] kunit_try_run_case+0x1a5/0x480 [ 35.107659] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 35.107977] kthread+0x337/0x6f0 [ 35.108193] ret_from_fork+0x116/0x1d0 [ 35.108486] ret_from_fork_asm+0x1a/0x30 [ 35.108701] [ 35.108861] CPU: 1 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250623 #1 PREEMPT(voluntary) [ 35.109216] Tainted: [B]=BAD_PAGE, [N]=TEST [ 35.109354] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 35.109975] ==================================================================