Hay
Date
July 8, 2025, 4:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   21.829680] ==================================================================
[   21.829741] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.829741] 
[   21.829826] Out-of-bounds write at 0x000000003c5ff46e (1B left of kfence-#86):
[   21.829882]  test_out_of_bounds_write+0x100/0x240
[   21.829982]  kunit_try_run_case+0x170/0x3f0
[   21.830035]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.830089]  kthread+0x328/0x630
[   21.830134]  ret_from_fork+0x10/0x20
[   21.830173] 
[   21.830199] kfence-#86: 0x00000000678b480e-0x00000000416a7623, size=32, cache=kmalloc-32
[   21.830199] 
[   21.830261] allocated by task 293 on cpu 0 at 21.829273s (0.000976s ago):
[   21.830346]  test_alloc+0x29c/0x628
[   21.830397]  test_out_of_bounds_write+0xc8/0x240
[   21.830439]  kunit_try_run_case+0x170/0x3f0
[   21.830481]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.830526]  kthread+0x328/0x630
[   21.830564]  ret_from_fork+0x10/0x20
[   21.830611] 
[   21.830664] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   21.830744] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.830774] Hardware name: linux,dummy-virt (DT)
[   21.830816] ==================================================================
[   21.933077] ==================================================================
[   21.933170] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   21.933170] 
[   21.933269] Out-of-bounds write at 0x00000000c7eaa656 (1B left of kfence-#87):
[   21.933352]  test_out_of_bounds_write+0x100/0x240
[   21.933420]  kunit_try_run_case+0x170/0x3f0
[   21.933466]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.933528]  kthread+0x328/0x630
[   21.933582]  ret_from_fork+0x10/0x20
[   21.933623] 
[   21.933649] kfence-#87: 0x000000002694d68b-0x00000000b9c1e956, size=32, cache=test
[   21.933649] 
[   21.933723] allocated by task 295 on cpu 0 at 21.932931s (0.000781s ago):
[   21.934042]  test_alloc+0x230/0x628
[   21.934102]  test_out_of_bounds_write+0xc8/0x240
[   21.934161]  kunit_try_run_case+0x170/0x3f0
[   21.934206]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.934264]  kthread+0x328/0x630
[   21.934322]  ret_from_fork+0x10/0x20
[   21.934377] 
[   21.934450] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   21.934551] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.934599] Hardware name: linux,dummy-virt (DT)
[   21.934633] ==================================================================

[   16.061488] ==================================================================
[   16.061926] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.061926] 
[   16.063046] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#66):
[   16.063758]  test_out_of_bounds_write+0x10d/0x260
[   16.063957]  kunit_try_run_case+0x1a5/0x480
[   16.064111]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.064288]  kthread+0x337/0x6f0
[   16.064414]  ret_from_fork+0x41/0x80
[   16.064571]  ret_from_fork_asm+0x1a/0x30
[   16.064841] 
[   16.064993] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.064993] 
[   16.065322] allocated by task 311 on cpu 1 at 16.061373s (0.003947s ago):
[   16.065645]  test_alloc+0x364/0x10f0
[   16.065895]  test_out_of_bounds_write+0xd4/0x260
[   16.066215]  kunit_try_run_case+0x1a5/0x480
[   16.066370]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.066702]  kthread+0x337/0x6f0
[   16.066890]  ret_from_fork+0x41/0x80
[   16.067079]  ret_from_fork_asm+0x1a/0x30
[   16.067219] 
[   16.067345] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   16.067920] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.068062] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.068404] ==================================================================
[   16.165253] ==================================================================
[   16.165724] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.165724] 
[   16.166147] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#67):
[   16.166442]  test_out_of_bounds_write+0x10d/0x260
[   16.166649]  kunit_try_run_case+0x1a5/0x480
[   16.167002]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.167231]  kthread+0x337/0x6f0
[   16.167466]  ret_from_fork+0x41/0x80
[   16.167733]  ret_from_fork_asm+0x1a/0x30
[   16.167985] 
[   16.168083] kfence-#67: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.168083] 
[   16.168468] allocated by task 313 on cpu 0 at 16.165186s (0.003279s ago):
[   16.168788]  test_alloc+0x2a6/0x10f0
[   16.168936]  test_out_of_bounds_write+0xd4/0x260
[   16.169097]  kunit_try_run_case+0x1a5/0x480
[   16.169369]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.169640]  kthread+0x337/0x6f0
[   16.169810]  ret_from_fork+0x41/0x80
[   16.170116]  ret_from_fork_asm+0x1a/0x30
[   16.170380] 
[   16.170502] CPU: 0 UID: 0 PID: 313 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   16.170864] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.171116] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.171684] ==================================================================