Hay
Date
June 19, 2025, 12:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   36.105156] ==================================================================
[   36.105398] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   36.105398] 
[   36.105625] Out-of-bounds write at 0x000000005d071ed7 (1B left of kfence-#121):
[   36.105845]  test_out_of_bounds_write+0x100/0x240
[   36.106185]  kunit_try_run_case+0x170/0x3f0
[   36.106306]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.106527]  kthread+0x328/0x630
[   36.106628]  ret_from_fork+0x10/0x20
[   36.106918] 
[   36.107000] kfence-#121: 0x0000000059a1dc5c-0x00000000266452cf, size=32, cache=test
[   36.107000] 
[   36.107183] allocated by task 304 on cpu 0 at 36.104776s (0.002396s ago):
[   36.107442]  test_alloc+0x230/0x628
[   36.107657]  test_out_of_bounds_write+0xc8/0x240
[   36.107763]  kunit_try_run_case+0x170/0x3f0
[   36.108144]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.108276]  kthread+0x328/0x630
[   36.108460]  ret_from_fork+0x10/0x20
[   36.108591] 
[   36.108721] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT 
[   36.108929] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.109037] Hardware name: linux,dummy-virt (DT)
[   36.109152] ==================================================================
[   35.998601] ==================================================================
[   35.998758] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   35.998758] 
[   35.998970] Out-of-bounds write at 0x000000006559e837 (1B left of kfence-#120):
[   35.999097]  test_out_of_bounds_write+0x100/0x240
[   35.999196]  kunit_try_run_case+0x170/0x3f0
[   35.999302]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.999404]  kthread+0x328/0x630
[   35.999483]  ret_from_fork+0x10/0x20
[   35.999576] 
[   35.999627] kfence-#120: 0x00000000b2c772c6-0x000000001537b9c5, size=32, cache=kmalloc-32
[   35.999627] 
[   35.999749] allocated by task 302 on cpu 0 at 35.998327s (0.001413s ago):
[   36.000648]  test_alloc+0x29c/0x628
[   36.000772]  test_out_of_bounds_write+0xc8/0x240
[   36.000881]  kunit_try_run_case+0x170/0x3f0
[   36.001014]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.001138]  kthread+0x328/0x630
[   36.001260]  ret_from_fork+0x10/0x20
[   36.001359] 
[   36.001508] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT 
[   36.001691] Tainted: [B]=BAD_PAGE, [N]=TEST
[   36.001771] Hardware name: linux,dummy-virt (DT)
[   36.001903] ==================================================================

[   32.308898] ==================================================================
[   32.309609] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   32.309609] 
[   32.310287] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#109):
[   32.310510]  test_out_of_bounds_write+0x10d/0x260
[   32.310718]  kunit_try_run_case+0x1a5/0x480
[   32.310923]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.312321]  kthread+0x337/0x6f0
[   32.312515]  ret_from_fork+0x116/0x1d0
[   32.312784]  ret_from_fork_asm+0x1a/0x30
[   32.313407] 
[   32.313621] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   32.313621] 
[   32.314191] allocated by task 320 on cpu 1 at 32.308689s (0.005496s ago):
[   32.314576]  test_alloc+0x364/0x10f0
[   32.314944]  test_out_of_bounds_write+0xd4/0x260
[   32.315338]  kunit_try_run_case+0x1a5/0x480
[   32.315673]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.316234]  kthread+0x337/0x6f0
[   32.316532]  ret_from_fork+0x116/0x1d0
[   32.316896]  ret_from_fork_asm+0x1a/0x30
[   32.317276] 
[   32.317481] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT(voluntary) 
[   32.318216] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.318521] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.319237] ==================================================================
[   32.516725] ==================================================================
[   32.517709] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   32.517709] 
[   32.518225] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#111):
[   32.519158]  test_out_of_bounds_write+0x10d/0x260
[   32.519561]  kunit_try_run_case+0x1a5/0x480
[   32.519852]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.520324]  kthread+0x337/0x6f0
[   32.520535]  ret_from_fork+0x116/0x1d0
[   32.520837]  ret_from_fork_asm+0x1a/0x30
[   32.521256] 
[   32.521374] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.521374] 
[   32.522042] allocated by task 322 on cpu 1 at 32.516619s (0.005417s ago):
[   32.522418]  test_alloc+0x2a6/0x10f0
[   32.522657]  test_out_of_bounds_write+0xd4/0x260
[   32.522996]  kunit_try_run_case+0x1a5/0x480
[   32.523311]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.523565]  kthread+0x337/0x6f0
[   32.523755]  ret_from_fork+0x116/0x1d0
[   32.523984]  ret_from_fork_asm+0x1a/0x30
[   32.524282] 
[   32.524521] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250619 #1 PREEMPT(voluntary) 
[   32.525485] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.525849] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.526618] ==================================================================