Hay
Date
July 18, 2025, 11:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   19.387260] ==================================================================
[   19.388014] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.388014] 
[   19.389019] Out-of-bounds write at 0x000000009442c1e3 (1B left of kfence-#82):
[   19.389206]  test_out_of_bounds_write+0x100/0x240
[   19.389659]  kunit_try_run_case+0x170/0x3f0
[   19.389889]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.390041]  kthread+0x328/0x630
[   19.390228]  ret_from_fork+0x10/0x20
[   19.390270] 
[   19.390296] kfence-#82: 0x0000000056dea523-0x00000000a3b7b734, size=32, cache=kmalloc-32
[   19.390296] 
[   19.390924] allocated by task 291 on cpu 0 at 19.383478s (0.007424s ago):
[   19.392025]  test_alloc+0x29c/0x628
[   19.392387]  test_out_of_bounds_write+0xc8/0x240
[   19.392440]  kunit_try_run_case+0x170/0x3f0
[   19.392986]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.393157]  kthread+0x328/0x630
[   19.393600]  ret_from_fork+0x10/0x20
[   19.393910] 
[   19.393986] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.394069] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.394098] Hardware name: linux,dummy-virt (DT)
[   19.394134] ==================================================================
[   19.590383] ==================================================================
[   19.590467] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.590467] 
[   19.590552] Out-of-bounds write at 0x00000000a6ae65c2 (1B left of kfence-#84):
[   19.590612]  test_out_of_bounds_write+0x100/0x240
[   19.590669]  kunit_try_run_case+0x170/0x3f0
[   19.590714]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.590760]  kthread+0x328/0x630
[   19.590815]  ret_from_fork+0x10/0x20
[   19.590867] 
[   19.590895] kfence-#84: 0x000000009147d59b-0x000000004cd4c635, size=32, cache=test
[   19.590895] 
[   19.590945] allocated by task 293 on cpu 0 at 19.590287s (0.000655s ago):
[   19.591014]  test_alloc+0x230/0x628
[   19.591054]  test_out_of_bounds_write+0xc8/0x240
[   19.591096]  kunit_try_run_case+0x170/0x3f0
[   19.591144]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.591187]  kthread+0x328/0x630
[   19.591232]  ret_from_fork+0x10/0x20
[   19.591278] 
[   19.591580] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.591789] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.591921] Hardware name: linux,dummy-virt (DT)
[   19.592089] ==================================================================

[   17.534397] ==================================================================
[   17.534806] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.534806] 
[   17.535188] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#70):
[   17.535833]  test_out_of_bounds_write+0x10d/0x260
[   17.536059]  kunit_try_run_case+0x1a5/0x480
[   17.536256]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.536492]  kthread+0x337/0x6f0
[   17.536891]  ret_from_fork+0x116/0x1d0
[   17.537174]  ret_from_fork_asm+0x1a/0x30
[   17.537501] 
[   17.537606] kfence-#70: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.537606] 
[   17.537975] allocated by task 310 on cpu 1 at 17.534285s (0.003688s ago):
[   17.538255]  test_alloc+0x364/0x10f0
[   17.538612]  test_out_of_bounds_write+0xd4/0x260
[   17.538791]  kunit_try_run_case+0x1a5/0x480
[   17.539262]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.539511]  kthread+0x337/0x6f0
[   17.539680]  ret_from_fork+0x116/0x1d0
[   17.539846]  ret_from_fork_asm+0x1a/0x30
[   17.540016] 
[   17.540140] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.540851] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.541036] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.541612] ==================================================================
[   17.638387] ==================================================================
[   17.638920] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.638920] 
[   17.639509] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   17.639833]  test_out_of_bounds_write+0x10d/0x260
[   17.640068]  kunit_try_run_case+0x1a5/0x480
[   17.640218]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.640470]  kthread+0x337/0x6f0
[   17.640786]  ret_from_fork+0x116/0x1d0
[   17.640980]  ret_from_fork_asm+0x1a/0x30
[   17.641208] 
[   17.641328] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.641328] 
[   17.641683] allocated by task 312 on cpu 0 at 17.638319s (0.003363s ago):
[   17.642044]  test_alloc+0x2a6/0x10f0
[   17.642218]  test_out_of_bounds_write+0xd4/0x260
[   17.642455]  kunit_try_run_case+0x1a5/0x480
[   17.642637]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.643020]  kthread+0x337/0x6f0
[   17.643205]  ret_from_fork+0x116/0x1d0
[   17.643384]  ret_from_fork_asm+0x1a/0x30
[   17.643646] 
[   17.643830] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.644330] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.644535] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.644970] ==================================================================