Hay
Date
June 2, 2025, 2:10 p.m.

Environment
qemu-arm64
qemu-x86_64

[   26.200116] ==================================================================
[   26.200823] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   26.200823] 
[   26.202317] Out-of-bounds write at 0x000000003b66057a (1B left of kfence-#107):
[   26.203135]  test_out_of_bounds_write+0x100/0x240
[   26.203576]  kunit_try_run_case+0x170/0x3f0
[   26.204016]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.204650]  kthread+0x24c/0x2d0
[   26.205078]  ret_from_fork+0x10/0x20
[   26.205454] 
[   26.205768] kfence-#107: 0x00000000d5386841-0x00000000aabdda0a, size=32, cache=test
[   26.205768] 
[   26.206439] allocated by task 276 on cpu 0 at 26.199961s (0.006466s ago):
[   26.207120]  test_alloc+0x230/0x628
[   26.207563]  test_out_of_bounds_write+0xc8/0x240
[   26.207977]  kunit_try_run_case+0x170/0x3f0
[   26.208421]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.209010]  kthread+0x24c/0x2d0
[   26.209410]  ret_from_fork+0x10/0x20
[   26.209895] 
[   26.210232] CPU: 0 UID: 0 PID: 276 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   26.210901] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.211287] Hardware name: linux,dummy-virt (DT)
[   26.211687] ==================================================================
[   26.096195] ==================================================================
[   26.097011] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   26.097011] 
[   26.097437] Out-of-bounds write at 0x000000006e694128 (1B left of kfence-#106):
[   26.098379]  test_out_of_bounds_write+0x100/0x240
[   26.099000]  kunit_try_run_case+0x170/0x3f0
[   26.099467]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.100168]  kthread+0x24c/0x2d0
[   26.100653]  ret_from_fork+0x10/0x20
[   26.101089] 
[   26.101464] kfence-#106: 0x000000005ccfd0d2-0x00000000c267c60e, size=32, cache=kmalloc-32
[   26.101464] 
[   26.102342] allocated by task 274 on cpu 0 at 26.095919s (0.006378s ago):
[   26.103199]  test_alloc+0x29c/0x628
[   26.103590]  test_out_of_bounds_write+0xc8/0x240
[   26.104035]  kunit_try_run_case+0x170/0x3f0
[   26.104598]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.105246]  kthread+0x24c/0x2d0
[   26.105742]  ret_from_fork+0x10/0x20
[   26.106131] 
[   26.106539] CPU: 0 UID: 0 PID: 274 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   26.107414] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.107707] Hardware name: linux,dummy-virt (DT)
[   26.108349] ==================================================================

[   17.222843] ==================================================================
[   17.223336] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   17.223336] 
[   17.223687] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#74):
[   17.224203]  test_out_of_bounds_write+0x10e/0x260
[   17.224450]  kunit_try_run_case+0x1a6/0x480
[   17.224631]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.225132]  kthread+0x257/0x310
[   17.225446]  ret_from_fork+0x41/0x80
[   17.225766]  ret_from_fork_asm+0x1a/0x30
[   17.226173] 
[   17.226394] kfence-#74: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.226394] 
[   17.227098] allocated by task 292 on cpu 1 at 17.222623s (0.004469s ago):
[   17.227703]  test_alloc+0x365/0x10f0
[   17.228047]  test_out_of_bounds_write+0xd5/0x260
[   17.228468]  kunit_try_run_case+0x1a6/0x480
[   17.228844]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.229241]  kthread+0x257/0x310
[   17.229389]  ret_from_fork+0x41/0x80
[   17.229647]  ret_from_fork_asm+0x1a/0x30
[   17.229949] 
[   17.230198] CPU: 1 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   17.230602] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.230921] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.231315] ==================================================================
[   17.326729] ==================================================================
[   17.327123] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   17.327123] 
[   17.327573] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#75):
[   17.328264]  test_out_of_bounds_write+0x10e/0x260
[   17.329016]  kunit_try_run_case+0x1a6/0x480
[   17.329380]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.329836]  kthread+0x257/0x310
[   17.330038]  ret_from_fork+0x41/0x80
[   17.330206]  ret_from_fork_asm+0x1a/0x30
[   17.330375] 
[   17.330498] kfence-#75: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.330498] 
[   17.331135] allocated by task 294 on cpu 0 at 17.326625s (0.004504s ago):
[   17.331705]  test_alloc+0x2a7/0x10f0
[   17.331926]  test_out_of_bounds_write+0xd5/0x260
[   17.332171]  kunit_try_run_case+0x1a6/0x480
[   17.332553]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.332927]  kthread+0x257/0x310
[   17.333116]  ret_from_fork+0x41/0x80
[   17.333286]  ret_from_fork_asm+0x1a/0x30
[   17.333755] 
[   17.333977] CPU: 0 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N 6.12.32-rc1 #1
[   17.334656] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.334893] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.335515] ==================================================================