Hay
Date
July 19, 2025, 11:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   19.448830] ==================================================================
[   19.449650] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.449650] 
[   19.449793] Out-of-bounds write at 0x00000000ac6c062c (1B left of kfence-#83):
[   19.449973]  test_out_of_bounds_write+0x100/0x240
[   19.450041]  kunit_try_run_case+0x170/0x3f0
[   19.450268]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.450330]  kthread+0x328/0x630
[   19.450679]  ret_from_fork+0x10/0x20
[   19.450891] 
[   19.450918] kfence-#83: 0x000000000276c7ae-0x00000000a69e17b4, size=32, cache=test
[   19.450918] 
[   19.451253] allocated by task 293 on cpu 1 at 19.448584s (0.002659s ago):
[   19.451362]  test_alloc+0x230/0x628
[   19.451790]  test_out_of_bounds_write+0xc8/0x240
[   19.451918]  kunit_try_run_case+0x170/0x3f0
[   19.452002]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.452155]  kthread+0x328/0x630
[   19.452201]  ret_from_fork+0x10/0x20
[   19.452267] 
[   19.452469] CPU: 1 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.452558] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.452650] Hardware name: linux,dummy-virt (DT)
[   19.452866] ==================================================================
[   19.242232] ==================================================================
[   19.242306] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.242306] 
[   19.242451] Out-of-bounds write at 0x00000000dcc29d1f (1B left of kfence-#81):
[   19.242536]  test_out_of_bounds_write+0x100/0x240
[   19.242605]  kunit_try_run_case+0x170/0x3f0
[   19.242649]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.242707]  kthread+0x328/0x630
[   19.242748]  ret_from_fork+0x10/0x20
[   19.242826] 
[   19.242852] kfence-#81: 0x0000000026ade198-0x000000008e8d9837, size=32, cache=kmalloc-32
[   19.242852] 
[   19.242923] allocated by task 291 on cpu 1 at 19.241943s (0.000958s ago):
[   19.242994]  test_alloc+0x29c/0x628
[   19.243037]  test_out_of_bounds_write+0xc8/0x240
[   19.243077]  kunit_try_run_case+0x170/0x3f0
[   19.243118]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.243346]  kthread+0x328/0x630
[   19.243425]  ret_from_fork+0x10/0x20
[   19.243466] 
[   19.243515] CPU: 1 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.243699] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.243767] Hardware name: linux,dummy-virt (DT)
[   19.243803] ==================================================================

[   17.484804] ==================================================================
[   17.485266] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.485266] 
[   17.485758] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#69):
[   17.486102]  test_out_of_bounds_write+0x10d/0x260
[   17.486316]  kunit_try_run_case+0x1a5/0x480
[   17.486590]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.486774]  kthread+0x337/0x6f0
[   17.486908]  ret_from_fork+0x116/0x1d0
[   17.487115]  ret_from_fork_asm+0x1a/0x30
[   17.487320] 
[   17.487438] kfence-#69: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.487438] 
[   17.487869] allocated by task 309 on cpu 0 at 17.484688s (0.003179s ago):
[   17.488123]  test_alloc+0x364/0x10f0
[   17.488356]  test_out_of_bounds_write+0xd4/0x260
[   17.488589]  kunit_try_run_case+0x1a5/0x480
[   17.488795]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.489026]  kthread+0x337/0x6f0
[   17.489201]  ret_from_fork+0x116/0x1d0
[   17.489333]  ret_from_fork_asm+0x1a/0x30
[   17.489475] 
[   17.489635] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.490136] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.490275] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.490828] ==================================================================
[   17.692636] ==================================================================
[   17.693079] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.693079] 
[   17.693628] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   17.693981]  test_out_of_bounds_write+0x10d/0x260
[   17.694197]  kunit_try_run_case+0x1a5/0x480
[   17.694419]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.694618]  kthread+0x337/0x6f0
[   17.694769]  ret_from_fork+0x116/0x1d0
[   17.694937]  ret_from_fork_asm+0x1a/0x30
[   17.695154] 
[   17.695265] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.695265] 
[   17.695683] allocated by task 311 on cpu 1 at 17.692573s (0.003108s ago):
[   17.696170]  test_alloc+0x2a6/0x10f0
[   17.696361]  test_out_of_bounds_write+0xd4/0x260
[   17.696597]  kunit_try_run_case+0x1a5/0x480
[   17.696804]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.697073]  kthread+0x337/0x6f0
[   17.697201]  ret_from_fork+0x116/0x1d0
[   17.697328]  ret_from_fork_asm+0x1a/0x30
[   17.697739] 
[   17.697865] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.698306] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.698525] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.698919] ==================================================================