Hay
Date
July 3, 2025, 10:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   35.570090] ==================================================================
[   35.570169] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   35.570169] 
[   35.570254] Out-of-bounds read at 0x00000000b69ea4b2 (32B right of kfence-#132):
[   35.570310]  test_out_of_bounds_read+0x1c8/0x3e0
[   35.570359]  kunit_try_run_case+0x170/0x3f0
[   35.570405]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.570451]  kthread+0x328/0x630
[   35.570505]  ret_from_fork+0x10/0x20
[   35.570548] 
[   35.570573] kfence-#132: 0x000000004289f83d-0x000000006b2a1225, size=32, cache=test
[   35.570573] 
[   35.570625] allocated by task 321 on cpu 0 at 35.569998s (0.000623s ago):
[   35.570692]  test_alloc+0x230/0x628
[   35.570735]  test_out_of_bounds_read+0x198/0x3e0
[   35.570778]  kunit_try_run_case+0x170/0x3f0
[   35.570819]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.570883]  kthread+0x328/0x630
[   35.570920]  ret_from_fork+0x10/0x20
[   35.570959] 
[   35.571002] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT 
[   35.571083] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.571112] Hardware name: linux,dummy-virt (DT)
[   35.571161] ==================================================================
[   35.466776] ==================================================================
[   35.466871] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   35.466871] 
[   35.466998] Out-of-bounds read at 0x00000000cb042ecc (1B left of kfence-#131):
[   35.467103]  test_out_of_bounds_read+0x114/0x3e0
[   35.467293]  kunit_try_run_case+0x170/0x3f0
[   35.467509]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.467949]  kthread+0x328/0x630
[   35.468012]  ret_from_fork+0x10/0x20
[   35.468090] 
[   35.468143] kfence-#131: 0x00000000aef765cf-0x00000000a95a87c7, size=32, cache=test
[   35.468143] 
[   35.468364] allocated by task 321 on cpu 0 at 35.466441s (0.001902s ago):
[   35.468818]  test_alloc+0x230/0x628
[   35.469066]  test_out_of_bounds_read+0xdc/0x3e0
[   35.469143]  kunit_try_run_case+0x170/0x3f0
[   35.469188]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.469244]  kthread+0x328/0x630
[   35.469279]  ret_from_fork+0x10/0x20
[   35.469754] 
[   35.470114] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT 
[   35.470209] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.470279] Hardware name: linux,dummy-virt (DT)
[   35.470813] ==================================================================
[   35.157790] ==================================================================
[   35.158455] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   35.158455] 
[   35.158616] Out-of-bounds read at 0x00000000e4b6fd1a (1B left of kfence-#128):
[   35.159372]  test_out_of_bounds_read+0x114/0x3e0
[   35.159559]  kunit_try_run_case+0x170/0x3f0
[   35.159666]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.159751]  kthread+0x328/0x630
[   35.160093]  ret_from_fork+0x10/0x20
[   35.160515] 
[   35.161759] kfence-#128: 0x0000000052b3fe03-0x000000009ecc7324, size=32, cache=kmalloc-32
[   35.161759] 
[   35.163062] allocated by task 319 on cpu 0 at 35.154506s (0.008480s ago):
[   35.163533]  test_alloc+0x29c/0x628
[   35.163618]  test_out_of_bounds_read+0xdc/0x3e0
[   35.163685]  kunit_try_run_case+0x170/0x3f0
[   35.163738]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.163801]  kthread+0x328/0x630
[   35.163851]  ret_from_fork+0x10/0x20
[   35.163971] 
[   35.164064] CPU: 0 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT 
[   35.164161] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.164191] Hardware name: linux,dummy-virt (DT)
[   35.164243] ==================================================================
[   35.363890] ==================================================================
[   35.364033] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   35.364033] 
[   35.364174] Out-of-bounds read at 0x00000000a82e0e6b (32B right of kfence-#130):
[   35.364242]  test_out_of_bounds_read+0x1c8/0x3e0
[   35.364703]  kunit_try_run_case+0x170/0x3f0
[   35.364791]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.364861]  kthread+0x328/0x630
[   35.364905]  ret_from_fork+0x10/0x20
[   35.365000] 
[   35.365052] kfence-#130: 0x00000000116302f1-0x0000000036f32c77, size=32, cache=kmalloc-32
[   35.365052] 
[   35.365130] allocated by task 319 on cpu 0 at 35.362845s (0.002273s ago):
[   35.365213]  test_alloc+0x29c/0x628
[   35.365261]  test_out_of_bounds_read+0x198/0x3e0
[   35.365307]  kunit_try_run_case+0x170/0x3f0
[   35.365349]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.365395]  kthread+0x328/0x630
[   35.365442]  ret_from_fork+0x10/0x20
[   35.365490] 
[   35.365547] CPU: 0 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT 
[   35.365629] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.365656] Hardware name: linux,dummy-virt (DT)
[   35.365724] ==================================================================

[   28.009505] ==================================================================
[   28.009894] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   28.009894] 
[   28.010314] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#88):
[   28.010654]  test_out_of_bounds_read+0x216/0x4e0
[   28.010868]  kunit_try_run_case+0x1a5/0x480
[   28.011035]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.011282]  kthread+0x337/0x6f0
[   28.011445]  ret_from_fork+0x116/0x1d0
[   28.011590]  ret_from_fork_asm+0x1a/0x30
[   28.011784] 
[   28.011876] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   28.011876] 
[   28.012200] allocated by task 338 on cpu 0 at 28.009441s (0.002757s ago):
[   28.012502]  test_alloc+0x2a6/0x10f0
[   28.012686]  test_out_of_bounds_read+0x1e2/0x4e0
[   28.012904]  kunit_try_run_case+0x1a5/0x480
[   28.013068]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.013364]  kthread+0x337/0x6f0
[   28.013508]  ret_from_fork+0x116/0x1d0
[   28.013660]  ret_from_fork_asm+0x1a/0x30
[   28.013819] 
[   28.013914] CPU: 0 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) 
[   28.014656] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.014831] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.015099] ==================================================================
[   27.801444] ==================================================================
[   27.801848] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   27.801848] 
[   27.802237] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#86):
[   27.802526]  test_out_of_bounds_read+0x126/0x4e0
[   27.802750]  kunit_try_run_case+0x1a5/0x480
[   27.802924]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.803138]  kthread+0x337/0x6f0
[   27.803285]  ret_from_fork+0x116/0x1d0
[   27.803497]  ret_from_fork_asm+0x1a/0x30
[   27.803679] 
[   27.803771] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.803771] 
[   27.804117] allocated by task 338 on cpu 0 at 27.801383s (0.002732s ago):
[   27.804435]  test_alloc+0x2a6/0x10f0
[   27.804640]  test_out_of_bounds_read+0xed/0x4e0
[   27.804845]  kunit_try_run_case+0x1a5/0x480
[   27.805021]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.805203]  kthread+0x337/0x6f0
[   27.805383]  ret_from_fork+0x116/0x1d0
[   27.805564]  ret_from_fork_asm+0x1a/0x30
[   27.805764] 
[   27.805882] CPU: 0 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) 
[   27.806244] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.806412] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.806828] ==================================================================
[   27.697710] ==================================================================
[   27.698109] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   27.698109] 
[   27.698598] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#85):
[   27.698962]  test_out_of_bounds_read+0x216/0x4e0
[   27.699296]  kunit_try_run_case+0x1a5/0x480
[   27.699536]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.699723]  kthread+0x337/0x6f0
[   27.699896]  ret_from_fork+0x116/0x1d0
[   27.700051]  ret_from_fork_asm+0x1a/0x30
[   27.700249] 
[   27.700366] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.700366] 
[   27.700779] allocated by task 336 on cpu 1 at 27.697537s (0.003239s ago):
[   27.701101]  test_alloc+0x364/0x10f0
[   27.701289]  test_out_of_bounds_read+0x1e2/0x4e0
[   27.701549]  kunit_try_run_case+0x1a5/0x480
[   27.701690]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.701925]  kthread+0x337/0x6f0
[   27.702115]  ret_from_fork+0x116/0x1d0
[   27.702317]  ret_from_fork_asm+0x1a/0x30
[   27.702537] 
[   27.702654] CPU: 1 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) 
[   27.703138] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.703326] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.703647] ==================================================================
[   27.490500] ==================================================================
[   27.490967] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   27.490967] 
[   27.491606] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#83):
[   27.492121]  test_out_of_bounds_read+0x126/0x4e0
[   27.492356]  kunit_try_run_case+0x1a5/0x480
[   27.492573]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.492807]  kthread+0x337/0x6f0
[   27.492930]  ret_from_fork+0x116/0x1d0
[   27.493091]  ret_from_fork_asm+0x1a/0x30
[   27.493426] 
[   27.493725] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.493725] 
[   27.494310] allocated by task 336 on cpu 1 at 27.489452s (0.004794s ago):
[   27.494979]  test_alloc+0x364/0x10f0
[   27.495238]  test_out_of_bounds_read+0xed/0x4e0
[   27.495450]  kunit_try_run_case+0x1a5/0x480
[   27.495619]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.495862]  kthread+0x337/0x6f0
[   27.496034]  ret_from_fork+0x116/0x1d0
[   27.496164]  ret_from_fork_asm+0x1a/0x30
[   27.496541] 
[   27.496723] CPU: 1 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250703 #1 PREEMPT(voluntary) 
[   27.497214] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.497396] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.497744] ==================================================================