Hay
Date
June 26, 2025, 11:12 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   75.821159] ==================================================================
[   75.821303] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0
[   75.821303] 
[   75.821452] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#188):
[   75.825134]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   75.830342]  kunit_try_run_case+0x170/0x3f0
[   75.834509]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   75.839978]  kthread+0x328/0x630
[   75.843189]  ret_from_fork+0x10/0x20
[   75.846748] 
[   75.848227] kfence-#188: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   75.848227] 
[   75.857861] allocated by task 374 on cpu 0 at 75.821090s (0.036769s ago):
[   75.864642]  test_alloc+0x29c/0x628
[   75.868102]  test_kmalloc_aligned_oob_write+0xbc/0x2c0
[   75.873223]  kunit_try_run_case+0x170/0x3f0
[   75.877390]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   75.882859]  kthread+0x328/0x630
[   75.886070]  ret_from_fork+0x10/0x20
[   75.889631] 
[   75.891107] freed by task 374 on cpu 0 at 75.821107s (0.069997s ago):
[   75.897539]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   75.902737]  kunit_try_run_case+0x170/0x3f0
[   75.906903]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   75.912372]  kthread+0x328/0x630
[   75.915584]  ret_from_fork+0x10/0x20
[   75.919145] 
[   75.920629] CPU: 0 UID: 0 PID: 374 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   75.930530] Tainted: [B]=BAD_PAGE, [N]=TEST
[   75.934682] Hardware name: WinLink E850-96 board (DT)
[   75.939719] ==================================================================

[   27.921398] ==================================================================
[   27.921491] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x214/0x2c0
[   27.921491] 
[   27.921553] Corrupted memory at 0x00000000b5c89fe9 [ ! . . . . . . . . . . . . . . . ] (in kfence-#143):
[   27.921880]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   27.921929]  kunit_try_run_case+0x170/0x3f0
[   27.921974]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.922019]  kthread+0x328/0x630
[   27.922060]  ret_from_fork+0x10/0x20
[   27.922101] 
[   27.922126] kfence-#143: 0x000000008e33ff6b-0x0000000039ecd8f1, size=73, cache=kmalloc-96
[   27.922126] 
[   27.922180] allocated by task 327 on cpu 0 at 27.921171s (0.001005s ago):
[   27.922244]  test_alloc+0x29c/0x628
[   27.922282]  test_kmalloc_aligned_oob_write+0xbc/0x2c0
[   27.922324]  kunit_try_run_case+0x170/0x3f0
[   27.922365]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.922410]  kthread+0x328/0x630
[   27.922449]  ret_from_fork+0x10/0x20
[   27.922489] 
[   27.922511] freed by task 327 on cpu 0 at 27.921312s (0.001196s ago):
[   27.922571]  test_kmalloc_aligned_oob_write+0x214/0x2c0
[   27.922612]  kunit_try_run_case+0x170/0x3f0
[   27.922654]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.922699]  kthread+0x328/0x630
[   27.922737]  ret_from_fork+0x10/0x20
[   27.922777] 
[   27.922817] CPU: 0 UID: 0 PID: 327 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT 
[   27.922908] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.922937] Hardware name: linux,dummy-virt (DT)
[   27.922972] ==================================================================

[   23.365331] ==================================================================
[   23.366173] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340
[   23.366173] 
[   23.366494] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#142):
[   23.367493]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   23.367896]  kunit_try_run_case+0x1a5/0x480
[   23.368196]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.368430]  kthread+0x337/0x6f0
[   23.368743]  ret_from_fork+0x41/0x80
[   23.368938]  ret_from_fork_asm+0x1a/0x30
[   23.369245] 
[   23.369339] kfence-#142: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   23.369339] 
[   23.370010] allocated by task 344 on cpu 1 at 23.365083s (0.004924s ago):
[   23.370328]  test_alloc+0x364/0x10f0
[   23.370500]  test_kmalloc_aligned_oob_write+0xc8/0x340
[   23.371021]  kunit_try_run_case+0x1a5/0x480
[   23.371227]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.371455]  kthread+0x337/0x6f0
[   23.371794]  ret_from_fork+0x41/0x80
[   23.371961]  ret_from_fork_asm+0x1a/0x30
[   23.372295] 
[   23.372387] freed by task 344 on cpu 1 at 23.365212s (0.007173s ago):
[   23.372852]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   23.373100]  kunit_try_run_case+0x1a5/0x480
[   23.373295]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.373522]  kthread+0x337/0x6f0
[   23.373662]  ret_from_fork+0x41/0x80
[   23.373824]  ret_from_fork_asm+0x1a/0x30
[   23.374018] 
[   23.374150] CPU: 1 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.15.4-rc3 #1 PREEMPT(voluntary) 
[   23.375031] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.375220] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.375696] ==================================================================