Hay
Date
Feb. 5, 2025, 2:09 p.m.

Environment
qemu-x86_64

[   53.188136] ==================================================================
[   53.188891] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0xd9/0x1a0
[   53.188891] 
[   53.190143] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#151):
[   53.191490]  test_out_of_bounds_write+0xd9/0x1a0
[   53.192216]  kunit_try_run_case+0x126/0x290
[   53.192880]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   53.193621]  kthread+0x19e/0x1e0
[   53.194160]  ret_from_fork+0x41/0x70
[   53.194714]  ret_from_fork_asm+0x1b/0x30
[   53.195294] 
[   53.195585] kfence-#151: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   53.195585] 
[   53.196567] allocated by task 253 on cpu 1 at 53.187911s:
[   53.197406]  test_alloc+0x2a0/0x8d0
[   53.197941]  test_out_of_bounds_write+0xc9/0x1a0
[   53.198650]  kunit_try_run_case+0x126/0x290
[   53.199268]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   53.200021]  kthread+0x19e/0x1e0
[   53.200460]  ret_from_fork+0x41/0x70
[   53.201055]  ret_from_fork_asm+0x1b/0x30
[   53.201629] 
[   53.201950] CPU: 1 PID: 253 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   53.202759] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   53.203648] ==================================================================
[   53.291905] ==================================================================
[   53.292594] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0xd9/0x1a0
[   53.292594] 
[   53.293392] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#152):
[   53.294448]  test_out_of_bounds_write+0xd9/0x1a0
[   53.295528]  kunit_try_run_case+0x126/0x290
[   53.296289]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   53.296834]  kthread+0x19e/0x1e0
[   53.297351]  ret_from_fork+0x41/0x70
[   53.297923]  ret_from_fork_asm+0x1b/0x30
[   53.298389] 
[   53.298675] kfence-#152: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   53.298675] 
[   53.299441] allocated by task 255 on cpu 0 at 53.291797s:
[   53.300175]  test_alloc+0x1e8/0x8d0
[   53.300690]  test_out_of_bounds_write+0xc9/0x1a0
[   53.301163]  kunit_try_run_case+0x126/0x290
[   53.301670]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   53.302370]  kthread+0x19e/0x1e0
[   53.302883]  ret_from_fork+0x41/0x70
[   53.303425]  ret_from_fork_asm+0x1b/0x30
[   53.303993] 
[   53.304315] CPU: 0 PID: 255 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   53.304964] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   53.305650] ==================================================================