Hay
Date
July 8, 2025, 4:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   21.726212] ==================================================================
[   21.726378] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   21.726378] 
[   21.726462] Out-of-bounds read at 0x00000000bd96c18d (32B right of kfence-#85):
[   21.726892]  test_out_of_bounds_read+0x1c8/0x3e0
[   21.726987]  kunit_try_run_case+0x170/0x3f0
[   21.727103]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.727184]  kthread+0x328/0x630
[   21.727260]  ret_from_fork+0x10/0x20
[   21.727304] 
[   21.727399] kfence-#85: 0x000000004217ff4d-0x00000000a25a77bd, size=32, cache=test
[   21.727399] 
[   21.727455] allocated by task 291 on cpu 0 at 21.726026s (0.001425s ago):
[   21.727548]  test_alloc+0x230/0x628
[   21.727859]  test_out_of_bounds_read+0x198/0x3e0
[   21.728011]  kunit_try_run_case+0x170/0x3f0
[   21.728114]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.728180]  kthread+0x328/0x630
[   21.728389]  ret_from_fork+0x10/0x20
[   21.728435] 
[   21.728886] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   21.729082] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.729131] Hardware name: linux,dummy-virt (DT)
[   21.729165] ==================================================================
[   20.999692] ==================================================================
[   20.999827] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   20.999827] 
[   21.000897] Out-of-bounds read at 0x00000000f19ac7d2 (1B left of kfence-#78):
[   21.001020]  test_out_of_bounds_read+0x114/0x3e0
[   21.001459]  kunit_try_run_case+0x170/0x3f0
[   21.001567]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.001765]  kthread+0x328/0x630
[   21.001988]  ret_from_fork+0x10/0x20
[   21.002048] 
[   21.002402] kfence-#78: 0x00000000c638e464-0x00000000c30a8c16, size=32, cache=kmalloc-32
[   21.002402] 
[   21.002591] allocated by task 289 on cpu 0 at 20.998280s (0.004273s ago):
[   21.002836]  test_alloc+0x29c/0x628
[   21.002927]  test_out_of_bounds_read+0xdc/0x3e0
[   21.003191]  kunit_try_run_case+0x170/0x3f0
[   21.003364]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.003452]  kthread+0x328/0x630
[   21.003491]  ret_from_fork+0x10/0x20
[   21.003601] 
[   21.003683] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   21.003961] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.004297] Hardware name: linux,dummy-virt (DT)
[   21.004385] ==================================================================
[   21.621253] ==================================================================
[   21.621350] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   21.621350] 
[   21.621452] Out-of-bounds read at 0x00000000bf54791c (1B left of kfence-#84):
[   21.621521]  test_out_of_bounds_read+0x114/0x3e0
[   21.621569]  kunit_try_run_case+0x170/0x3f0
[   21.621860]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.621906]  kthread+0x328/0x630
[   21.621972]  ret_from_fork+0x10/0x20
[   21.622020] 
[   21.622046] kfence-#84: 0x000000003a8d88b9-0x00000000018e4988, size=32, cache=test
[   21.622046] 
[   21.622129] allocated by task 291 on cpu 0 at 21.621142s (0.000969s ago):
[   21.622306]  test_alloc+0x230/0x628
[   21.622362]  test_out_of_bounds_read+0xdc/0x3e0
[   21.622423]  kunit_try_run_case+0x170/0x3f0
[   21.622466]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.622510]  kthread+0x328/0x630
[   21.622550]  ret_from_fork+0x10/0x20
[   21.622608] 
[   21.622933] CPU: 0 UID: 0 PID: 291 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   21.623013] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.623061] Hardware name: linux,dummy-virt (DT)
[   21.623111] ==================================================================
[   21.310356] ==================================================================
[   21.310478] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   21.310478] 
[   21.310644] Out-of-bounds read at 0x00000000564ae55f (32B right of kfence-#81):
[   21.310980]  test_out_of_bounds_read+0x1c8/0x3e0
[   21.311051]  kunit_try_run_case+0x170/0x3f0
[   21.311097]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.311167]  kthread+0x328/0x630
[   21.311224]  ret_from_fork+0x10/0x20
[   21.311269] 
[   21.311294] kfence-#81: 0x000000006d9dd898-0x0000000088deea86, size=32, cache=kmalloc-32
[   21.311294] 
[   21.311371] allocated by task 289 on cpu 0 at 21.309754s (0.001601s ago):
[   21.311441]  test_alloc+0x29c/0x628
[   21.311489]  test_out_of_bounds_read+0x198/0x3e0
[   21.311532]  kunit_try_run_case+0x170/0x3f0
[   21.311575]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.311633]  kthread+0x328/0x630
[   21.311681]  ret_from_fork+0x10/0x20
[   21.311970] 
[   21.312043] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT 
[   21.312125] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.312177] Hardware name: linux,dummy-virt (DT)
[   21.312229] ==================================================================

[   15.853280] ==================================================================
[   15.853764] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.853764] 
[   15.854188] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#64):
[   15.854586]  test_out_of_bounds_read+0x126/0x4e0
[   15.854815]  kunit_try_run_case+0x1a5/0x480
[   15.855011]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.855266]  kthread+0x337/0x6f0
[   15.855444]  ret_from_fork+0x41/0x80
[   15.855642]  ret_from_fork_asm+0x1a/0x30
[   15.856001] 
[   15.856113] kfence-#64: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   15.856113] 
[   15.856445] allocated by task 309 on cpu 1 at 15.853217s (0.003225s ago):
[   15.857517]  test_alloc+0x2a6/0x10f0
[   15.857730]  test_out_of_bounds_read+0xed/0x4e0
[   15.858039]  kunit_try_run_case+0x1a5/0x480
[   15.858431]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.858730]  kthread+0x337/0x6f0
[   15.858865]  ret_from_fork+0x41/0x80
[   15.859071]  ret_from_fork_asm+0x1a/0x30
[   15.859261] 
[   15.859389] CPU: 1 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   15.859831] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.860106] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.860444] ==================================================================
[   15.646272] ==================================================================
[   15.646738] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   15.646738] 
[   15.647190] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#62):
[   15.647539]  test_out_of_bounds_read+0x126/0x4e0
[   15.647982]  kunit_try_run_case+0x1a5/0x480
[   15.648211]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.648441]  kthread+0x337/0x6f0
[   15.648640]  ret_from_fork+0x41/0x80
[   15.648900]  ret_from_fork_asm+0x1a/0x30
[   15.649426] 
[   15.649508] kfence-#62: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.649508] 
[   15.650038] allocated by task 307 on cpu 1 at 15.645165s (0.004869s ago):
[   15.650490]  test_alloc+0x364/0x10f0
[   15.650756]  test_out_of_bounds_read+0xed/0x4e0
[   15.651045]  kunit_try_run_case+0x1a5/0x480
[   15.651217]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.651619]  kthread+0x337/0x6f0
[   15.651797]  ret_from_fork+0x41/0x80
[   15.651973]  ret_from_fork_asm+0x1a/0x30
[   15.652182] 
[   15.652300] CPU: 1 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   15.653015] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.653186] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.653762] ==================================================================
[   15.749334] ==================================================================
[   15.749914] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.749914] 
[   15.750351] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#63):
[   15.750621]  test_out_of_bounds_read+0x216/0x4e0
[   15.750885]  kunit_try_run_case+0x1a5/0x480
[   15.751193]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.751430]  kthread+0x337/0x6f0
[   15.751690]  ret_from_fork+0x41/0x80
[   15.751838]  ret_from_fork_asm+0x1a/0x30
[   15.752045] 
[   15.752122] kfence-#63: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.752122] 
[   15.752494] allocated by task 307 on cpu 1 at 15.749170s (0.003322s ago):
[   15.752851]  test_alloc+0x364/0x10f0
[   15.753000]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.753235]  kunit_try_run_case+0x1a5/0x480
[   15.753455]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.753840]  kthread+0x337/0x6f0
[   15.753995]  ret_from_fork+0x41/0x80
[   15.754172]  ret_from_fork_asm+0x1a/0x30
[   15.754375] 
[   15.754496] CPU: 1 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   15.754888] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.755065] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.755444] ==================================================================
[   15.957261] ==================================================================
[   15.957769] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   15.957769] 
[   15.958184] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#65):
[   15.958469]  test_out_of_bounds_read+0x216/0x4e0
[   15.958670]  kunit_try_run_case+0x1a5/0x480
[   15.958961]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.959199]  kthread+0x337/0x6f0
[   15.959337]  ret_from_fork+0x41/0x80
[   15.959534]  ret_from_fork_asm+0x1a/0x30
[   15.959747] 
[   15.959856] kfence-#65: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   15.959856] 
[   15.960168] allocated by task 309 on cpu 1 at 15.957205s (0.002960s ago):
[   15.960510]  test_alloc+0x2a6/0x10f0
[   15.960718]  test_out_of_bounds_read+0x1e2/0x4e0
[   15.960931]  kunit_try_run_case+0x1a5/0x480
[   15.961083]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.961330]  kthread+0x337/0x6f0
[   15.961507]  ret_from_fork+0x41/0x80
[   15.961721]  ret_from_fork_asm+0x1a/0x30
[   15.961916] 
[   15.962015] CPU: 1 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.15.6-rc1 #1 PREEMPT(voluntary) 
[   15.962487] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.962733] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.963099] ==================================================================