Hay
Date
May 13, 2025, 12:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   22.932172] ==================================================================
[   22.932285] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   22.932285] 
[   22.932396] Out-of-bounds read at 0x0000000052a368c2 (32B right of kfence-#100):
[   22.932467]  test_out_of_bounds_read+0x1c8/0x3e0
[   22.932524]  kunit_try_run_case+0x170/0x3f0
[   22.932573]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.932622]  kthread+0x328/0x630
[   22.932670]  ret_from_fork+0x10/0x20
[   22.932716] 
[   22.932744] kfence-#100: 0x000000000a274cde-0x0000000030099e6c, size=32, cache=test
[   22.932744] 
[   22.932801] allocated by task 289 on cpu 1 at 22.932049s (0.000747s ago):
[   22.932885]  test_alloc+0x230/0x628
[   22.932932]  test_out_of_bounds_read+0x198/0x3e0
[   22.933686]  kunit_try_run_case+0x170/0x3f0
[   22.933760]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.933878]  kthread+0x328/0x630
[   22.934018]  ret_from_fork+0x10/0x20
[   22.934134] 
[   22.934191] CPU: 1 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT 
[   22.934609] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.934672] Hardware name: linux,dummy-virt (DT)
[   22.934747] ==================================================================
[   22.724996] ==================================================================
[   22.725105] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   22.725105] 
[   22.725563] Out-of-bounds read at 0x00000000236d31dc (1B left of kfence-#98):
[   22.726034]  test_out_of_bounds_read+0x114/0x3e0
[   22.726119]  kunit_try_run_case+0x170/0x3f0
[   22.726458]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.726632]  kthread+0x328/0x630
[   22.726787]  ret_from_fork+0x10/0x20
[   22.726843] 
[   22.726955] kfence-#98: 0x00000000b4691d7b-0x0000000006658219, size=32, cache=test
[   22.726955] 
[   22.727279] allocated by task 289 on cpu 1 at 22.724761s (0.002512s ago):
[   22.728380]  test_alloc+0x230/0x628
[   22.728473]  test_out_of_bounds_read+0xdc/0x3e0
[   22.728534]  kunit_try_run_case+0x170/0x3f0
[   22.728598]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.728668]  kthread+0x328/0x630
[   22.728986]  ret_from_fork+0x10/0x20
[   22.729172] 
[   22.729489] CPU: 1 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT 
[   22.729839] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.730184] Hardware name: linux,dummy-virt (DT)
[   22.730423] ==================================================================
[   22.621253] ==================================================================
[   22.621358] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   22.621358] 
[   22.621491] Out-of-bounds read at 0x00000000c28388a9 (32B right of kfence-#97):
[   22.621562]  test_out_of_bounds_read+0x1c8/0x3e0
[   22.621620]  kunit_try_run_case+0x170/0x3f0
[   22.621669]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.621719]  kthread+0x328/0x630
[   22.621766]  ret_from_fork+0x10/0x20
[   22.621820] 
[   22.621855] kfence-#97: 0x000000002b3086a4-0x00000000b410308c, size=32, cache=kmalloc-32
[   22.621855] 
[   22.621917] allocated by task 287 on cpu 1 at 22.621022s (0.000890s ago):
[   22.622024]  test_alloc+0x29c/0x628
[   22.622306]  test_out_of_bounds_read+0x198/0x3e0
[   22.622436]  kunit_try_run_case+0x170/0x3f0
[   22.622592]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.622684]  kthread+0x328/0x630
[   22.622741]  ret_from_fork+0x10/0x20
[   22.622804] 
[   22.622867] CPU: 1 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT 
[   22.623511] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.623664] Hardware name: linux,dummy-virt (DT)
[   22.623776] ==================================================================
[   22.517067] ==================================================================
[   22.517440] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   22.517440] 
[   22.517693] Out-of-bounds read at 0x000000006fb4a574 (1B left of kfence-#96):
[   22.518064]  test_out_of_bounds_read+0x114/0x3e0
[   22.518244]  kunit_try_run_case+0x170/0x3f0
[   22.518301]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.518351]  kthread+0x328/0x630
[   22.518412]  ret_from_fork+0x10/0x20
[   22.518522] 
[   22.519363] kfence-#96: 0x0000000070e3451a-0x00000000a2d5ff56, size=32, cache=kmalloc-32
[   22.519363] 
[   22.520491] allocated by task 287 on cpu 1 at 22.516021s (0.004177s ago):
[   22.521496]  test_alloc+0x29c/0x628
[   22.521601]  test_out_of_bounds_read+0xdc/0x3e0
[   22.522109]  kunit_try_run_case+0x170/0x3f0
[   22.522184]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.522239]  kthread+0x328/0x630
[   22.522626]  ret_from_fork+0x10/0x20
[   22.522878] 
[   22.522988] CPU: 1 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT 
[   22.523088] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.523147] Hardware name: linux,dummy-virt (DT)
[   22.523197] ==================================================================

[   16.098902] ==================================================================
[   16.099352] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   16.099352] 
[   16.099802] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#68):
[   16.100111]  test_out_of_bounds_read+0x126/0x4e0
[   16.100322]  kunit_try_run_case+0x1a5/0x480
[   16.100477]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.100777]  kthread+0x337/0x6f0
[   16.100991]  ret_from_fork+0x116/0x1d0
[   16.101156]  ret_from_fork_asm+0x1a/0x30
[   16.101361] 
[   16.101438] kfence-#68: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.101438] 
[   16.101825] allocated by task 306 on cpu 0 at 16.098844s (0.002979s ago):
[   16.102152]  test_alloc+0x2a6/0x10f0
[   16.102405]  test_out_of_bounds_read+0xed/0x4e0
[   16.102601]  kunit_try_run_case+0x1a5/0x480
[   16.102785]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.103048]  kthread+0x337/0x6f0
[   16.103467]  ret_from_fork+0x116/0x1d0
[   16.103696]  ret_from_fork_asm+0x1a/0x30
[   16.103857] 
[   16.103987] CPU: 0 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) 
[   16.104427] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.104639] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.105006] ==================================================================
[   15.890990] ==================================================================
[   15.891415] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.891415] 
[   15.891837] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#66):
[   15.892170]  test_out_of_bounds_read+0x216/0x4e0
[   15.892410]  kunit_try_run_case+0x1a5/0x480
[   15.892607]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.892867]  kthread+0x337/0x6f0
[   15.893038]  ret_from_fork+0x116/0x1d0
[   15.893235]  ret_from_fork_asm+0x1a/0x30
[   15.893389] 
[   15.893468] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.893468] 
[   15.893861] allocated by task 304 on cpu 0 at 15.890821s (0.003038s ago):
[   15.894192]  test_alloc+0x364/0x10f0
[   15.894471]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.894695]  kunit_try_run_case+0x1a5/0x480
[   15.894889]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.895093]  kthread+0x337/0x6f0
[   15.895217]  ret_from_fork+0x116/0x1d0
[   15.895453]  ret_from_fork_asm+0x1a/0x30
[   15.895669] 
[   15.895792] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) 
[   15.896167] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.896437] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.896900] ==================================================================
[   15.579728] ==================================================================
[   15.580264] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.580264] 
[   15.580765] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#63):
[   15.581084]  test_out_of_bounds_read+0x126/0x4e0
[   15.581283]  kunit_try_run_case+0x1a5/0x480
[   15.581528]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.581795]  kthread+0x337/0x6f0
[   15.581928]  ret_from_fork+0x116/0x1d0
[   15.582124]  ret_from_fork_asm+0x1a/0x30
[   15.582454] 
[   15.582543] kfence-#63: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.582543] 
[   15.582882] allocated by task 304 on cpu 0 at 15.578820s (0.004060s ago):
[   15.583207]  test_alloc+0x364/0x10f0
[   15.583411]  test_out_of_bounds_read+0xed/0x4e0
[   15.583640]  kunit_try_run_case+0x1a5/0x480
[   15.583789]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.584007]  kthread+0x337/0x6f0
[   15.584183]  ret_from_fork+0x116/0x1d0
[   15.584482]  ret_from_fork_asm+0x1a/0x30
[   15.584703] 
[   15.584833] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) 
[   15.585225] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.585434] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.585827] ==================================================================
[   16.202848] ==================================================================
[   16.203193] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   16.203193] 
[   16.203506] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#69):
[   16.204142]  test_out_of_bounds_read+0x216/0x4e0
[   16.204608]  kunit_try_run_case+0x1a5/0x480
[   16.205019]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.205234]  kthread+0x337/0x6f0
[   16.205364]  ret_from_fork+0x116/0x1d0
[   16.205502]  ret_from_fork_asm+0x1a/0x30
[   16.205658] 
[   16.205735] kfence-#69: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.205735] 
[   16.206010] allocated by task 306 on cpu 0 at 16.202799s (0.003209s ago):
[   16.206321]  test_alloc+0x2a6/0x10f0
[   16.206664]  test_out_of_bounds_read+0x1e2/0x4e0
[   16.207072]  kunit_try_run_case+0x1a5/0x480
[   16.207506]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.207976]  kthread+0x337/0x6f0
[   16.208125]  ret_from_fork+0x116/0x1d0
[   16.208450]  ret_from_fork_asm+0x1a/0x30
[   16.208635] 
[   16.208758] CPU: 0 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250513 #1 PREEMPT(voluntary) 
[   16.209288] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.209492] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.209951] ==================================================================