Hay
Date
May 15, 2025, 10:38 a.m.

Environment
qemu-arm64
qemu-x86_64

[   21.815540] ==================================================================
[   21.815662] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.815662] 
[   21.816119] Out-of-bounds write at 0x00000000692ce2bd (1B left of kfence-#86):
[   21.816292]  test_out_of_bounds_write+0x100/0x240
[   21.816425]  kunit_try_run_case+0x170/0x3f0
[   21.816476]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.816908]  kthread+0x328/0x630
[   21.816970]  ret_from_fork+0x10/0x20
[   21.817141] 
[   21.817189] kfence-#86: 0x000000001d58a2f2-0x00000000347cd8f9, size=32, cache=test
[   21.817189] 
[   21.817486] allocated by task 293 on cpu 0 at 21.815401s (0.001839s ago):
[   21.817898]  test_alloc+0x230/0x628
[   21.818115]  test_out_of_bounds_write+0xc8/0x240
[   21.818174]  kunit_try_run_case+0x170/0x3f0
[   21.818359]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.818685]  kthread+0x328/0x630
[   21.818813]  ret_from_fork+0x10/0x20
[   21.818964] 
[   21.819078] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   21.819289] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.819343] Hardware name: linux,dummy-virt (DT)
[   21.819728] ==================================================================
[   21.708716] ==================================================================
[   21.708962] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.708962] 
[   21.709065] Out-of-bounds write at 0x0000000065b761bb (1B left of kfence-#85):
[   21.709421]  test_out_of_bounds_write+0x100/0x240
[   21.709522]  kunit_try_run_case+0x170/0x3f0
[   21.709927]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.710129]  kthread+0x328/0x630
[   21.710212]  ret_from_fork+0x10/0x20
[   21.710436] 
[   21.710568] kfence-#85: 0x00000000af1f5610-0x000000005607c3d3, size=32, cache=kmalloc-32
[   21.710568] 
[   21.710762] allocated by task 291 on cpu 0 at 21.708083s (0.002657s ago):
[   21.710843]  test_alloc+0x29c/0x628
[   21.710900]  test_out_of_bounds_write+0xc8/0x240
[   21.711124]  kunit_try_run_case+0x170/0x3f0
[   21.711381]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.711502]  kthread+0x328/0x630
[   21.711567]  ret_from_fork+0x10/0x20
[   21.711943] 
[   21.712364] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   21.712875] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.713000] Hardware name: linux,dummy-virt (DT)
[   21.713078] ==================================================================


[   19.043104] ==================================================================
[   19.043443] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   19.043443] 
[   19.043694] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#84):
[   19.043841]  test_out_of_bounds_write+0x10d/0x260
[   19.044136]  kunit_try_run_case+0x1a5/0x480
[   19.044393]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.044636]  kthread+0x337/0x6f0
[   19.044735]  ret_from_fork+0x116/0x1d0
[   19.044985]  ret_from_fork_asm+0x1a/0x30
[   19.045206] 
[   19.045278] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.045278] 
[   19.045662] allocated by task 311 on cpu 0 at 19.043032s (0.002627s ago):
[   19.045937]  test_alloc+0x2a6/0x10f0
[   19.046045]  test_out_of_bounds_write+0xd4/0x260
[   19.046206]  kunit_try_run_case+0x1a5/0x480
[   19.046317]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.046440]  kthread+0x337/0x6f0
[   19.046660]  ret_from_fork+0x116/0x1d0
[   19.046902]  ret_from_fork_asm+0x1a/0x30
[   19.047150] 
[   19.047294] CPU: 0 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   19.047613] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.047793] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.047948] ==================================================================
[   18.939117] ==================================================================
[   18.939488] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.939488] 
[   18.939709] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#83):
[   18.939846]  test_out_of_bounds_write+0x10d/0x260
[   18.940101]  kunit_try_run_case+0x1a5/0x480
[   18.940342]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.940590]  kthread+0x337/0x6f0
[   18.940681]  ret_from_fork+0x116/0x1d0
[   18.940770]  ret_from_fork_asm+0x1a/0x30
[   18.940977] 
[   18.941090] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.941090] 
[   18.941468] allocated by task 309 on cpu 1 at 18.938991s (0.002475s ago):
[   18.941612]  test_alloc+0x364/0x10f0
[   18.941813]  test_out_of_bounds_write+0xd4/0x260
[   18.942046]  kunit_try_run_case+0x1a5/0x480
[   18.942249]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.942450]  kthread+0x337/0x6f0
[   18.942535]  ret_from_fork+0x116/0x1d0
[   18.942620]  ret_from_fork_asm+0x1a/0x30
[   18.942709] 
[   18.942788] CPU: 1 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   18.943405] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.943600] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.943947] ==================================================================