Hay
Date
July 8, 2025, 7:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   23.821508] ==================================================================
[   23.821588] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.821588] 
[   23.821955] Out-of-bounds write at 0x00000000a37231ef (1B left of kfence-#88):
[   23.822027]  test_out_of_bounds_write+0x100/0x240
[   23.822078]  kunit_try_run_case+0x170/0x3f0
[   23.822233]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.822286]  kthread+0x328/0x630
[   23.822335]  ret_from_fork+0x10/0x20
[   23.822633] 
[   23.822702] kfence-#88: 0x00000000739abab5-0x000000001b85e7c6, size=32, cache=test
[   23.822702] 
[   23.822786] allocated by task 293 on cpu 0 at 23.821361s (0.001412s ago):
[   23.822858]  test_alloc+0x230/0x628
[   23.823131]  test_out_of_bounds_write+0xc8/0x240
[   23.823201]  kunit_try_run_case+0x170/0x3f0
[   23.823263]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.823374]  kthread+0x328/0x630
[   23.823436]  ret_from_fork+0x10/0x20
[   23.823493] 
[   23.823540] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   23.823919] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.824039] Hardware name: linux,dummy-virt (DT)
[   23.824199] ==================================================================
[   23.717889] ==================================================================
[   23.717975] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   23.717975] 
[   23.718193] Out-of-bounds write at 0x00000000a758121f (1B left of kfence-#87):
[   23.718263]  test_out_of_bounds_write+0x100/0x240
[   23.718402]  kunit_try_run_case+0x170/0x3f0
[   23.718455]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.718500]  kthread+0x328/0x630
[   23.718605]  ret_from_fork+0x10/0x20
[   23.718670] 
[   23.718695] kfence-#87: 0x000000001ac3167a-0x000000001fb590fe, size=32, cache=kmalloc-32
[   23.718695] 
[   23.718800] allocated by task 291 on cpu 0 at 23.717192s (0.001593s ago):
[   23.718901]  test_alloc+0x29c/0x628
[   23.719195]  test_out_of_bounds_write+0xc8/0x240
[   23.719256]  kunit_try_run_case+0x170/0x3f0
[   23.719301]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.719458]  kthread+0x328/0x630
[   23.719593]  ret_from_fork+0x10/0x20
[   23.719736] 
[   23.719888] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   23.720148] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.720311] Hardware name: linux,dummy-virt (DT)
[   23.720387] ==================================================================

[   18.544466] ==================================================================
[   18.544880] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.544880] 
[   18.545405] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#71):
[   18.545840]  test_out_of_bounds_write+0x10d/0x260
[   18.546079]  kunit_try_run_case+0x1a5/0x480
[   18.546296]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.546523]  kthread+0x337/0x6f0
[   18.546739]  ret_from_fork+0x116/0x1d0
[   18.546915]  ret_from_fork_asm+0x1a/0x30
[   18.547140] 
[   18.547239] kfence-#71: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.547239] 
[   18.547504] allocated by task 310 on cpu 1 at 18.544402s (0.003100s ago):
[   18.547829]  test_alloc+0x2a6/0x10f0
[   18.548050]  test_out_of_bounds_write+0xd4/0x260
[   18.548317]  kunit_try_run_case+0x1a5/0x480
[   18.548487]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.548772]  kthread+0x337/0x6f0
[   18.548966]  ret_from_fork+0x116/0x1d0
[   18.549158]  ret_from_fork_asm+0x1a/0x30
[   18.549356] 
[   18.549528] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.550018] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.550243] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.550660] ==================================================================
[   18.232488] ==================================================================
[   18.232887] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   18.232887] 
[   18.233368] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#68):
[   18.233677]  test_out_of_bounds_write+0x10d/0x260
[   18.233924]  kunit_try_run_case+0x1a5/0x480
[   18.234133]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.234367]  kthread+0x337/0x6f0
[   18.234496]  ret_from_fork+0x116/0x1d0
[   18.234650]  ret_from_fork_asm+0x1a/0x30
[   18.234863] 
[   18.234963] kfence-#68: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.234963] 
[   18.235386] allocated by task 308 on cpu 0 at 18.232364s (0.003020s ago):
[   18.235713]  test_alloc+0x364/0x10f0
[   18.235843]  test_out_of_bounds_write+0xd4/0x260
[   18.236080]  kunit_try_run_case+0x1a5/0x480
[   18.236289]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.236539]  kthread+0x337/0x6f0
[   18.236679]  ret_from_fork+0x116/0x1d0
[   18.236871]  ret_from_fork_asm+0x1a/0x30
[   18.237029] 
[   18.237164] CPU: 0 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   18.237647] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.237796] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.238138] ==================================================================