Hay
Date
July 2, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.594953] ==================================================================
[   22.595247] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.595247] 
[   22.595391] Out-of-bounds write at 0x00000000b3e263b9 (1B left of kfence-#89):
[   22.595484]  test_out_of_bounds_write+0x100/0x240
[   22.595534]  kunit_try_run_case+0x170/0x3f0
[   22.595597]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.595641]  kthread+0x328/0x630
[   22.595946]  ret_from_fork+0x10/0x20
[   22.596040] 
[   22.596066] kfence-#89: 0x00000000cac7a583-0x0000000075321ad4, size=32, cache=test
[   22.596066] 
[   22.596157] allocated by task 293 on cpu 0 at 22.594597s (0.001556s ago):
[   22.596247]  test_alloc+0x230/0x628
[   22.596306]  test_out_of_bounds_write+0xc8/0x240
[   22.596350]  kunit_try_run_case+0x170/0x3f0
[   22.596679]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.596761]  kthread+0x328/0x630
[   22.596803]  ret_from_fork+0x10/0x20
[   22.596850] 
[   22.597198] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.597404] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.597485] Hardware name: linux,dummy-virt (DT)
[   22.597637] ==================================================================
[   22.490668] ==================================================================
[   22.490737] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.490737] 
[   22.490841] Out-of-bounds write at 0x00000000ed1e57f3 (1B left of kfence-#88):
[   22.490896]  test_out_of_bounds_write+0x100/0x240
[   22.490953]  kunit_try_run_case+0x170/0x3f0
[   22.490998]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.491052]  kthread+0x328/0x630
[   22.491092]  ret_from_fork+0x10/0x20
[   22.491133] 
[   22.491157] kfence-#88: 0x00000000a68e4d3d-0x00000000093986f5, size=32, cache=kmalloc-32
[   22.491157] 
[   22.491209] allocated by task 291 on cpu 0 at 22.490044s (0.001161s ago):
[   22.491277]  test_alloc+0x29c/0x628
[   22.491315]  test_out_of_bounds_write+0xc8/0x240
[   22.491357]  kunit_try_run_case+0x170/0x3f0
[   22.491395]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.491438]  kthread+0x328/0x630
[   22.491482]  ret_from_fork+0x10/0x20
[   22.491520] 
[   22.491570] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.491666] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.491696] Hardware name: linux,dummy-virt (DT)
[   22.491730] ==================================================================

[   16.717964] ==================================================================
[   16.718386] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.718386] 
[   16.718946] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#70):
[   16.719215]  test_out_of_bounds_write+0x10d/0x260
[   16.719398]  kunit_try_run_case+0x1a5/0x480
[   16.719614]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.719928]  kthread+0x337/0x6f0
[   16.720073]  ret_from_fork+0x116/0x1d0
[   16.720257]  ret_from_fork_asm+0x1a/0x30
[   16.720443] 
[   16.720543] kfence-#70: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.720543] 
[   16.720902] allocated by task 312 on cpu 1 at 16.717901s (0.002997s ago):
[   16.721207]  test_alloc+0x2a6/0x10f0
[   16.721400]  test_out_of_bounds_write+0xd4/0x260
[   16.721577]  kunit_try_run_case+0x1a5/0x480
[   16.721735]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.721994]  kthread+0x337/0x6f0
[   16.722165]  ret_from_fork+0x116/0x1d0
[   16.722359]  ret_from_fork_asm+0x1a/0x30
[   16.722515] 
[   16.722637] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.723178] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.723369] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.723787] ==================================================================
[   16.510036] ==================================================================
[   16.510456] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.510456] 
[   16.510969] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#68):
[   16.511284]  test_out_of_bounds_write+0x10d/0x260
[   16.511508]  kunit_try_run_case+0x1a5/0x480
[   16.511675]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.512184]  kthread+0x337/0x6f0
[   16.512366]  ret_from_fork+0x116/0x1d0
[   16.512501]  ret_from_fork_asm+0x1a/0x30
[   16.512641] 
[   16.512714] kfence-#68: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.512714] 
[   16.513119] allocated by task 310 on cpu 0 at 16.509904s (0.003213s ago):
[   16.513501]  test_alloc+0x364/0x10f0
[   16.513703]  test_out_of_bounds_write+0xd4/0x260
[   16.513951]  kunit_try_run_case+0x1a5/0x480
[   16.514147]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.514318]  kthread+0x337/0x6f0
[   16.514523]  ret_from_fork+0x116/0x1d0
[   16.514743]  ret_from_fork_asm+0x1a/0x30
[   16.514983] 
[   16.515119] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   16.515565] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.515707] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.515972] ==================================================================