Hay
Date
July 5, 2025, 11:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.529612] ==================================================================
[   22.529682] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.529682] 
[   22.530058] Out-of-bounds write at 0x0000000042bf6dc4 (1B left of kfence-#85):
[   22.530173]  test_out_of_bounds_write+0x100/0x240
[   22.530271]  kunit_try_run_case+0x170/0x3f0
[   22.530421]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.530476]  kthread+0x328/0x630
[   22.530544]  ret_from_fork+0x10/0x20
[   22.530799] 
[   22.530869] kfence-#85: 0x00000000bd56f7f8-0x0000000087c0bc8a, size=32, cache=kmalloc-32
[   22.530869] 
[   22.530947] allocated by task 291 on cpu 0 at 22.529411s (0.001524s ago):
[   22.531022]  test_alloc+0x29c/0x628
[   22.531071]  test_out_of_bounds_write+0xc8/0x240
[   22.531114]  kunit_try_run_case+0x170/0x3f0
[   22.531167]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.531209]  kthread+0x328/0x630
[   22.531286]  ret_from_fork+0x10/0x20
[   22.531327] 
[   22.531407] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.531716] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.531773] Hardware name: linux,dummy-virt (DT)
[   22.531990] ==================================================================
[   22.637447] ==================================================================
[   22.637529] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   22.637529] 
[   22.637611] Out-of-bounds write at 0x0000000000b1cd3d (1B left of kfence-#86):
[   22.637666]  test_out_of_bounds_write+0x100/0x240
[   22.637713]  kunit_try_run_case+0x170/0x3f0
[   22.637755]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.637798]  kthread+0x328/0x630
[   22.637845]  ret_from_fork+0x10/0x20
[   22.637894] 
[   22.637920] kfence-#86: 0x00000000a387b0cf-0x000000005896e4fc, size=32, cache=test
[   22.637920] 
[   22.637970] allocated by task 293 on cpu 0 at 22.637275s (0.000691s ago):
[   22.638037]  test_alloc+0x230/0x628
[   22.638077]  test_out_of_bounds_write+0xc8/0x240
[   22.638125]  kunit_try_run_case+0x170/0x3f0
[   22.638177]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.638229]  kthread+0x328/0x630
[   22.638266]  ret_from_fork+0x10/0x20
[   22.638306] 
[   22.638347] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT 
[   22.638423] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.638451] Hardware name: linux,dummy-virt (DT)
[   22.638484] ==================================================================

[   19.351614] ==================================================================
[   19.352229] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   19.352229] 
[   19.352745] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#81):
[   19.353061]  test_out_of_bounds_write+0x10d/0x260
[   19.353753]  kunit_try_run_case+0x1a5/0x480
[   19.354010]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.354634]  kthread+0x337/0x6f0
[   19.354842]  ret_from_fork+0x116/0x1d0
[   19.355094]  ret_from_fork_asm+0x1a/0x30
[   19.355597] 
[   19.355738] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.355738] 
[   19.356436] allocated by task 309 on cpu 0 at 19.351499s (0.004934s ago):
[   19.356838]  test_alloc+0x364/0x10f0
[   19.357018]  test_out_of_bounds_write+0xd4/0x260
[   19.357340]  kunit_try_run_case+0x1a5/0x480
[   19.357631]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.357944]  kthread+0x337/0x6f0
[   19.358230]  ret_from_fork+0x116/0x1d0
[   19.358421]  ret_from_fork_asm+0x1a/0x30
[   19.358654] 
[   19.358807] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   19.359311] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.359554] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.359892] ==================================================================
[   19.663594] ==================================================================
[   19.664082] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   19.664082] 
[   19.664560] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#84):
[   19.664910]  test_out_of_bounds_write+0x10d/0x260
[   19.665656]  kunit_try_run_case+0x1a5/0x480
[   19.665939]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.666165]  kthread+0x337/0x6f0
[   19.666420]  ret_from_fork+0x116/0x1d0
[   19.666993]  ret_from_fork_asm+0x1a/0x30
[   19.667358] 
[   19.667460] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.667460] 
[   19.668104] allocated by task 311 on cpu 1 at 19.663526s (0.004574s ago):
[   19.668551]  test_alloc+0x2a6/0x10f0
[   19.668756]  test_out_of_bounds_write+0xd4/0x260
[   19.669009]  kunit_try_run_case+0x1a5/0x480
[   19.669482]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.669730]  kthread+0x337/0x6f0
[   19.670106]  ret_from_fork+0x116/0x1d0
[   19.670411]  ret_from_fork_asm+0x1a/0x30
[   19.670717] 
[   19.670865] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4 #1 PREEMPT(voluntary) 
[   19.671648] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.671983] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.672560] ==================================================================