Hay
Date
July 5, 2025, 11:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   24.199394] ==================================================================
[   24.199713] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   24.199713] 
[   24.199885] Out-of-bounds write at 0x000000006c7acb7f (1B left of kfence-#115):
[   24.200247]  test_out_of_bounds_write+0x100/0x240
[   24.200436]  kunit_try_run_case+0x170/0x3f0
[   24.200545]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.200703]  kthread+0x328/0x630
[   24.200870]  ret_from_fork+0x10/0x20
[   24.201190] 
[   24.201258] kfence-#115: 0x000000000bcb79dc-0x000000002342c2b0, size=32, cache=kmalloc-32
[   24.201258] 
[   24.201456] allocated by task 292 on cpu 1 at 24.199162s (0.002285s ago):
[   24.201672]  test_alloc+0x29c/0x628
[   24.201827]  test_out_of_bounds_write+0xc8/0x240
[   24.201920]  kunit_try_run_case+0x170/0x3f0
[   24.202351]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.202760]  kthread+0x328/0x630
[   24.202899]  ret_from_fork+0x10/0x20
[   24.203303] 
[   24.203432] CPU: 1 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.203807] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.204049] Hardware name: linux,dummy-virt (DT)
[   24.204213] ==================================================================
[   24.304968] ==================================================================
[   24.305072] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   24.305072] 
[   24.305225] Out-of-bounds write at 0x000000000d44f7ea (1B left of kfence-#116):
[   24.305341]  test_out_of_bounds_write+0x100/0x240
[   24.305460]  kunit_try_run_case+0x170/0x3f0
[   24.305559]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.305659]  kthread+0x328/0x630
[   24.305739]  ret_from_fork+0x10/0x20
[   24.305826] 
[   24.305883] kfence-#116: 0x000000003dc0b80a-0x0000000059dc8f93, size=32, cache=test
[   24.305883] 
[   24.306005] allocated by task 294 on cpu 1 at 24.304828s (0.001161s ago):
[   24.306153]  test_alloc+0x230/0x628
[   24.306243]  test_out_of_bounds_write+0xc8/0x240
[   24.306339]  kunit_try_run_case+0x170/0x3f0
[   24.306865]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.306965]  kthread+0x328/0x630
[   24.307037]  ret_from_fork+0x10/0x20
[   24.307120] 
[   24.307205] CPU: 1 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   24.307429] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.307494] Hardware name: linux,dummy-virt (DT)
[   24.307793] ==================================================================

[   19.444288] ==================================================================
[   19.444789] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   19.444789] 
[   19.445268] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#77):
[   19.445599]  test_out_of_bounds_write+0x10d/0x260
[   19.446201]  kunit_try_run_case+0x1a5/0x480
[   19.446503]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.447602]  kthread+0x337/0x6f0
[   19.447804]  ret_from_fork+0x116/0x1d0
[   19.447969]  ret_from_fork_asm+0x1a/0x30
[   19.448136] 
[   19.448227] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.448227] 
[   19.448543] allocated by task 311 on cpu 1 at 19.444215s (0.004325s ago):
[   19.449444]  test_alloc+0x2a6/0x10f0
[   19.449620]  test_out_of_bounds_write+0xd4/0x260
[   19.450130]  kunit_try_run_case+0x1a5/0x480
[   19.450588]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.451187]  kthread+0x337/0x6f0
[   19.452736]  ret_from_fork+0x116/0x1d0
[   19.453542]  ret_from_fork_asm+0x1a/0x30
[   19.453751] 
[   19.453877] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   19.455701] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.456267] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.456592] ==================================================================
[   19.340341] ==================================================================
[   19.340849] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   19.340849] 
[   19.341394] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#76):
[   19.341734]  test_out_of_bounds_write+0x10d/0x260
[   19.342080]  kunit_try_run_case+0x1a5/0x480
[   19.342427]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.342706]  kthread+0x337/0x6f0
[   19.343150]  ret_from_fork+0x116/0x1d0
[   19.344007]  ret_from_fork_asm+0x1a/0x30
[   19.344267] 
[   19.344375] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.344375] 
[   19.344867] allocated by task 309 on cpu 0 at 19.340210s (0.004654s ago):
[   19.345585]  test_alloc+0x364/0x10f0
[   19.345954]  test_out_of_bounds_write+0xd4/0x260
[   19.346235]  kunit_try_run_case+0x1a5/0x480
[   19.346641]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.347085]  kthread+0x337/0x6f0
[   19.347305]  ret_from_fork+0x116/0x1d0
[   19.347693]  ret_from_fork_asm+0x1a/0x30
[   19.348095] 
[   19.348284] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   19.349053] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.349328] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.350002] ==================================================================