Hay
Date
July 5, 2025, 5:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.507489] ==================================================================
[   22.508176] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.508176] 
[   22.508267] Out-of-bounds write at 0x00000000e2281e01 (1B left of kfence-#90):
[   22.508592]  test_out_of_bounds_write+0x100/0x240
[   22.508739]  kunit_try_run_case+0x170/0x3f0
[   22.508795]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.508839]  kthread+0x328/0x630
[   22.509019]  ret_from_fork+0x10/0x20
[   22.509063] 
[   22.509090] kfence-#90: 0x00000000219e4bfc-0x00000000dbb11ab0, size=32, cache=test
[   22.509090] 
[   22.509501] allocated by task 293 on cpu 0 at 22.507397s (0.001742s ago):
[   22.509946]  test_alloc+0x230/0x628
[   22.510032]  test_out_of_bounds_write+0xc8/0x240
[   22.510125]  kunit_try_run_case+0x170/0x3f0
[   22.510169]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.510212]  kthread+0x328/0x630
[   22.510555]  ret_from_fork+0x10/0x20
[   22.510690] 
[   22.510775] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.510977] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.511029] Hardware name: linux,dummy-virt (DT)
[   22.511076] ==================================================================
[   22.396237] ==================================================================
[   22.396320] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.396320] 
[   22.396413] Out-of-bounds write at 0x000000009a78d8ef (1B left of kfence-#89):
[   22.396467]  test_out_of_bounds_write+0x100/0x240
[   22.396514]  kunit_try_run_case+0x170/0x3f0
[   22.396558]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.396600]  kthread+0x328/0x630
[   22.396693]  ret_from_fork+0x10/0x20
[   22.396749] 
[   22.396800] kfence-#89: 0x000000009eb0880e-0x000000000f6201e8, size=32, cache=kmalloc-32
[   22.396800] 
[   22.396927] allocated by task 291 on cpu 0 at 22.395754s (0.001095s ago):
[   22.396997]  test_alloc+0x29c/0x628
[   22.397055]  test_out_of_bounds_write+0xc8/0x240
[   22.397117]  kunit_try_run_case+0x170/0x3f0
[   22.397159]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.397436]  kthread+0x328/0x630
[   22.397499]  ret_from_fork+0x10/0x20
[   22.397567] 
[   22.397624] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.397701] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.397729] Hardware name: linux,dummy-virt (DT)
[   22.397764] ==================================================================

[   17.034620] ==================================================================
[   17.035025] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.035025] 
[   17.035524] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#72):
[   17.035845]  test_out_of_bounds_write+0x10d/0x260
[   17.036079]  kunit_try_run_case+0x1a5/0x480
[   17.036283]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.036533]  kthread+0x337/0x6f0
[   17.036737]  ret_from_fork+0x116/0x1d0
[   17.036886]  ret_from_fork_asm+0x1a/0x30
[   17.037068] 
[   17.037174] kfence-#72: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.037174] 
[   17.037528] allocated by task 310 on cpu 0 at 17.034507s (0.003018s ago):
[   17.037881]  test_alloc+0x364/0x10f0
[   17.038124]  test_out_of_bounds_write+0xd4/0x260
[   17.038284]  kunit_try_run_case+0x1a5/0x480
[   17.038895]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.039183]  kthread+0x337/0x6f0
[   17.039359]  ret_from_fork+0x116/0x1d0
[   17.039569]  ret_from_fork_asm+0x1a/0x30
[   17.039872] 
[   17.039979] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.040408] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.040631] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.041070] ==================================================================
[   17.138525] ==================================================================
[   17.139020] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.139020] 
[   17.139502] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#73):
[   17.139878]  test_out_of_bounds_write+0x10d/0x260
[   17.140103]  kunit_try_run_case+0x1a5/0x480
[   17.140317]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.140578]  kthread+0x337/0x6f0
[   17.140715]  ret_from_fork+0x116/0x1d0
[   17.141007]  ret_from_fork_asm+0x1a/0x30
[   17.141323] 
[   17.141424] kfence-#73: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.141424] 
[   17.141851] allocated by task 312 on cpu 1 at 17.138472s (0.003377s ago):
[   17.142321]  test_alloc+0x2a6/0x10f0
[   17.142465]  test_out_of_bounds_write+0xd4/0x260
[   17.142703]  kunit_try_run_case+0x1a5/0x480
[   17.142981]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.143240]  kthread+0x337/0x6f0
[   17.143386]  ret_from_fork+0x116/0x1d0
[   17.143617]  ret_from_fork_asm+0x1a/0x30
[   17.143898] 
[   17.144018] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   17.144516] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.144752] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.145129] ==================================================================