Hay
Date
July 4, 2025, 3:11 p.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   66.376846] ==================================================================
[   66.376979] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   66.376979] 
[   66.377136] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#115):
[   66.378295]  test_out_of_bounds_write+0x100/0x240
[   66.382982]  kunit_try_run_case+0x170/0x3f0
[   66.387148]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   66.392617]  kthread+0x328/0x630
[   66.395829]  ret_from_fork+0x10/0x20
[   66.399387] 
[   66.400867] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   66.400867] 
[   66.410501] allocated by task 340 on cpu 5 at 66.376812s (0.033687s ago):
[   66.417287]  test_alloc+0x29c/0x628
[   66.420742]  test_out_of_bounds_write+0xc8/0x240
[   66.425342]  kunit_try_run_case+0x170/0x3f0
[   66.429509]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   66.434977]  kthread+0x328/0x630
[   66.438189]  ret_from_fork+0x10/0x20
[   66.441750] 
[   66.443236] CPU: 5 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   66.453131] Tainted: [B]=BAD_PAGE, [N]=TEST
[   66.457289] Hardware name: WinLink E850-96 board (DT)
[   66.462324] ==================================================================
[   66.584835] ==================================================================
[   66.584974] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   66.584974] 
[   66.585130] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#117):
[   66.586290]  test_out_of_bounds_write+0x100/0x240
[   66.590977]  kunit_try_run_case+0x170/0x3f0
[   66.595144]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   66.600612]  kthread+0x328/0x630
[   66.603824]  ret_from_fork+0x10/0x20
[   66.607383] 
[   66.608862] kfence-#117: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   66.608862] 
[   66.617976] allocated by task 342 on cpu 4 at 66.584798s (0.033176s ago):
[   66.624761]  test_alloc+0x230/0x628
[   66.628216]  test_out_of_bounds_write+0xc8/0x240
[   66.632817]  kunit_try_run_case+0x170/0x3f0
[   66.636983]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   66.642452]  kthread+0x328/0x630
[   66.645664]  ret_from_fork+0x10/0x20
[   66.649226] 
[   66.650710] CPU: 4 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   66.660603] Tainted: [B]=BAD_PAGE, [N]=TEST
[   66.664762] Hardware name: WinLink E850-96 board (DT)
[   66.669799] ==================================================================

[   19.737369] ==================================================================
[   19.737533] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.737533] 
[   19.737814] Out-of-bounds write at 0x00000000459332d3 (1B left of kfence-#87):
[   19.737874]  test_out_of_bounds_write+0x100/0x240
[   19.737997]  kunit_try_run_case+0x170/0x3f0
[   19.738051]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.738094]  kthread+0x328/0x630
[   19.738164]  ret_from_fork+0x10/0x20
[   19.738426] 
[   19.738464] kfence-#87: 0x000000000d229729-0x0000000068b3e64b, size=32, cache=kmalloc-32
[   19.738464] 
[   19.738527] allocated by task 296 on cpu 1 at 19.737147s (0.001377s ago):
[   19.738598]  test_alloc+0x29c/0x628
[   19.738651]  test_out_of_bounds_write+0xc8/0x240
[   19.738916]  kunit_try_run_case+0x170/0x3f0
[   19.738998]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.739089]  kthread+0x328/0x630
[   19.739133]  ret_from_fork+0x10/0x20
[   19.739192] 
[   19.739380] CPU: 1 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   19.739557] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.739592] Hardware name: linux,dummy-virt (DT)
[   19.739649] ==================================================================
[   19.844512] ==================================================================
[   19.844803] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.844803] 
[   19.844944] Out-of-bounds write at 0x00000000ae4c71ef (1B left of kfence-#88):
[   19.845077]  test_out_of_bounds_write+0x100/0x240
[   19.845184]  kunit_try_run_case+0x170/0x3f0
[   19.845298]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.845369]  kthread+0x328/0x630
[   19.845471]  ret_from_fork+0x10/0x20
[   19.845547] 
[   19.845572] kfence-#88: 0x000000004094dc35-0x00000000910042df, size=32, cache=test
[   19.845572] 
[   19.845622] allocated by task 298 on cpu 1 at 19.844320s (0.001298s ago):
[   19.845782]  test_alloc+0x230/0x628
[   19.845953]  test_out_of_bounds_write+0xc8/0x240
[   19.846035]  kunit_try_run_case+0x170/0x3f0
[   19.846077]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.846121]  kthread+0x328/0x630
[   19.846180]  ret_from_fork+0x10/0x20
[   19.846220] 
[   19.846284] CPU: 1 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT 
[   19.846363] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.846438] Hardware name: linux,dummy-virt (DT)
[   19.846474] ==================================================================

[   21.485476] ==================================================================
[   21.485955] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   21.485955] 
[   21.486359] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#103):
[   21.486873]  test_out_of_bounds_write+0x10d/0x260
[   21.487141]  kunit_try_run_case+0x1a5/0x480
[   21.487657]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.488104]  kthread+0x337/0x6f0
[   21.488455]  ret_from_fork+0x41/0x80
[   21.488802]  ret_from_fork_asm+0x1a/0x30
[   21.489312] 
[   21.489551] kfence-#103: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   21.489551] 
[   21.490350] allocated by task 312 on cpu 0 at 21.485157s (0.005188s ago):
[   21.490792]  test_alloc+0x364/0x10f0
[   21.491217]  test_out_of_bounds_write+0xd4/0x260
[   21.491528]  kunit_try_run_case+0x1a5/0x480
[   21.491917]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.492287]  kthread+0x337/0x6f0
[   21.492637]  ret_from_fork+0x41/0x80
[   21.493002]  ret_from_fork_asm+0x1a/0x30
[   21.493320] 
[   21.493613] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT(voluntary) 
[   21.494370] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.494646] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.495256] ==================================================================
[   21.796856] ==================================================================
[   21.797766] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   21.797766] 
[   21.798123] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#106):
[   21.798476]  test_out_of_bounds_write+0x10d/0x260
[   21.798904]  kunit_try_run_case+0x1a5/0x480
[   21.799310]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.799798]  kthread+0x337/0x6f0
[   21.800206]  ret_from_fork+0x41/0x80
[   21.800695]  ret_from_fork_asm+0x1a/0x30
[   21.801053] 
[   21.801387] kfence-#106: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   21.801387] 
[   21.801971] allocated by task 314 on cpu 0 at 21.796750s (0.005215s ago):
[   21.802577]  test_alloc+0x2a6/0x10f0
[   21.802908]  test_out_of_bounds_write+0xd4/0x260
[   21.803192]  kunit_try_run_case+0x1a5/0x480
[   21.803661]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.803996]  kthread+0x337/0x6f0
[   21.804521]  ret_from_fork+0x41/0x80
[   21.804772]  ret_from_fork_asm+0x1a/0x30
[   21.805006] 
[   21.805748] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.15.5-rc2 #1 PREEMPT(voluntary) 
[   21.806507] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.806748] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.807415] ==================================================================