Hay
Date
June 20, 2025, 12:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   37.610454] ==================================================================
[   37.610647] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   37.610647] 
[   37.610841] Out-of-bounds read at 0x000000004cf86d4b (1B left of kfence-#132):
[   37.610993]  test_out_of_bounds_read+0x114/0x3e0
[   37.611116]  kunit_try_run_case+0x170/0x3f0
[   37.611221]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.611333]  kthread+0x328/0x630
[   37.611449]  ret_from_fork+0x10/0x20
[   37.611540] 
[   37.611600] kfence-#132: 0x000000005b088a23-0x0000000018c2c7bb, size=32, cache=test
[   37.611600] 
[   37.611717] allocated by task 300 on cpu 0 at 37.610272s (0.001438s ago):
[   37.612300]  test_alloc+0x230/0x628
[   37.612515]  test_out_of_bounds_read+0xdc/0x3e0
[   37.612805]  kunit_try_run_case+0x170/0x3f0
[   37.613060]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.613176]  kthread+0x328/0x630
[   37.613280]  ret_from_fork+0x10/0x20
[   37.613382] 
[   37.613490] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   37.613865] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.613959] Hardware name: linux,dummy-virt (DT)
[   37.614044] ==================================================================
[   37.195286] ==================================================================
[   37.195872] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   37.195872] 
[   37.196236] Out-of-bounds read at 0x000000002306f07d (32B right of kfence-#128):
[   37.196623]  test_out_of_bounds_read+0x1c8/0x3e0
[   37.196925]  kunit_try_run_case+0x170/0x3f0
[   37.197303]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.197686]  kthread+0x328/0x630
[   37.197894]  ret_from_fork+0x10/0x20
[   37.197994] 
[   37.198142] kfence-#128: 0x00000000588ebc03-0x00000000fb7e9da9, size=32, cache=kmalloc-32
[   37.198142] 
[   37.198443] allocated by task 298 on cpu 0 at 37.194118s (0.004310s ago):
[   37.198918]  test_alloc+0x29c/0x628
[   37.199037]  test_out_of_bounds_read+0x198/0x3e0
[   37.199142]  kunit_try_run_case+0x170/0x3f0
[   37.199247]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.199363]  kthread+0x328/0x630
[   37.199470]  ret_from_fork+0x10/0x20
[   37.199571] 
[   37.200744] CPU: 0 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   37.200873] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.200910] Hardware name: linux,dummy-virt (DT)
[   37.200951] ==================================================================
[   37.091186] ==================================================================
[   37.091550] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   37.091550] 
[   37.091864] Out-of-bounds read at 0x00000000bb72c062 (1B left of kfence-#127):
[   37.092181]  test_out_of_bounds_read+0x114/0x3e0
[   37.092945]  kunit_try_run_case+0x170/0x3f0
[   37.093122]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.093358]  kthread+0x328/0x630
[   37.093477]  ret_from_fork+0x10/0x20
[   37.093857] 
[   37.093944] kfence-#127: 0x00000000fb2057e8-0x00000000d7603e4d, size=32, cache=kmalloc-32
[   37.093944] 
[   37.094246] allocated by task 298 on cpu 0 at 37.090253s (0.003979s ago):
[   37.094572]  test_alloc+0x29c/0x628
[   37.094677]  test_out_of_bounds_read+0xdc/0x3e0
[   37.094774]  kunit_try_run_case+0x170/0x3f0
[   37.094883]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.094998]  kthread+0x328/0x630
[   37.095164]  ret_from_fork+0x10/0x20
[   37.095752] 
[   37.096031] CPU: 0 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   37.096453] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.096526] Hardware name: linux,dummy-virt (DT)
[   37.096596] ==================================================================
[   38.028414] ==================================================================
[   38.028595] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   38.028595] 
[   38.028813] Out-of-bounds read at 0x000000008effb0dd (32B right of kfence-#136):
[   38.029153]  test_out_of_bounds_read+0x1c8/0x3e0
[   38.029366]  kunit_try_run_case+0x170/0x3f0
[   38.029929]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.030106]  kthread+0x328/0x630
[   38.030218]  ret_from_fork+0x10/0x20
[   38.030432] 
[   38.030557] kfence-#136: 0x000000008f747a6f-0x00000000bbcad874, size=32, cache=test
[   38.030557] 
[   38.030719] allocated by task 300 on cpu 0 at 38.027728s (0.002982s ago):
[   38.030896]  test_alloc+0x230/0x628
[   38.030997]  test_out_of_bounds_read+0x198/0x3e0
[   38.031943]  kunit_try_run_case+0x170/0x3f0
[   38.032138]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   38.032623]  kthread+0x328/0x630
[   38.032773]  ret_from_fork+0x10/0x20
[   38.033258] 
[   38.033453] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT 
[   38.033729] Tainted: [B]=BAD_PAGE, [N]=TEST
[   38.034021] Hardware name: linux,dummy-virt (DT)
[   38.034154] ==================================================================

[   31.268264] ==================================================================
[   31.268805] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   31.268805] 
[   31.269204] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#95):
[   31.269793]  test_out_of_bounds_read+0x216/0x4e0
[   31.270095]  kunit_try_run_case+0x1a5/0x480
[   31.270275]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.270515]  kthread+0x337/0x6f0
[   31.270802]  ret_from_fork+0x116/0x1d0
[   31.271151]  ret_from_fork_asm+0x1a/0x30
[   31.271642] 
[   31.271843] kfence-#95: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.271843] 
[   31.272547] allocated by task 318 on cpu 1 at 31.268168s (0.004374s ago):
[   31.272870]  test_alloc+0x2a6/0x10f0
[   31.273128]  test_out_of_bounds_read+0x1e2/0x4e0
[   31.273603]  kunit_try_run_case+0x1a5/0x480
[   31.274011]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.274631]  kthread+0x337/0x6f0
[   31.275001]  ret_from_fork+0x116/0x1d0
[   31.275238]  ret_from_fork_asm+0x1a/0x30
[   31.275616] 
[   31.275830] CPU: 1 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   31.276392] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.276901] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.277705] ==================================================================
[   30.957317] ==================================================================
[   30.957907] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   30.957907] 
[   30.958689] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#92):
[   30.959366]  test_out_of_bounds_read+0x126/0x4e0
[   30.959863]  kunit_try_run_case+0x1a5/0x480
[   30.960310]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.960620]  kthread+0x337/0x6f0
[   30.960805]  ret_from_fork+0x116/0x1d0
[   30.961153]  ret_from_fork_asm+0x1a/0x30
[   30.961505] 
[   30.961654] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.961654] 
[   30.962352] allocated by task 316 on cpu 0 at 30.956404s (0.005943s ago):
[   30.962920]  test_alloc+0x364/0x10f0
[   30.963112]  test_out_of_bounds_read+0xed/0x4e0
[   30.963534]  kunit_try_run_case+0x1a5/0x480
[   30.964093]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.964420]  kthread+0x337/0x6f0
[   30.964671]  ret_from_fork+0x116/0x1d0
[   30.964864]  ret_from_fork_asm+0x1a/0x30
[   30.965113] 
[   30.965343] CPU: 0 UID: 0 PID: 316 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   30.966417] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.966766] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.967134] ==================================================================
[   31.164477] ==================================================================
[   31.164988] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   31.164988] 
[   31.165538] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#94):
[   31.165962]  test_out_of_bounds_read+0x126/0x4e0
[   31.166203]  kunit_try_run_case+0x1a5/0x480
[   31.166635]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.167086]  kthread+0x337/0x6f0
[   31.167418]  ret_from_fork+0x116/0x1d0
[   31.167630]  ret_from_fork_asm+0x1a/0x30
[   31.167900] 
[   31.168089] kfence-#94: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   31.168089] 
[   31.168783] allocated by task 318 on cpu 1 at 31.164237s (0.004541s ago):
[   31.169378]  test_alloc+0x2a6/0x10f0
[   31.169762]  test_out_of_bounds_read+0xed/0x4e0
[   31.170256]  kunit_try_run_case+0x1a5/0x480
[   31.170566]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.170927]  kthread+0x337/0x6f0
[   31.171167]  ret_from_fork+0x116/0x1d0
[   31.171360]  ret_from_fork_asm+0x1a/0x30
[   31.171739] 
[   31.171996] CPU: 1 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   31.172870] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.173088] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.173889] ==================================================================
[   31.060528] ==================================================================
[   31.061011] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   31.061011] 
[   31.061504] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#93):
[   31.062072]  test_out_of_bounds_read+0x216/0x4e0
[   31.062437]  kunit_try_run_case+0x1a5/0x480
[   31.062717]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.062981]  kthread+0x337/0x6f0
[   31.063328]  ret_from_fork+0x116/0x1d0
[   31.063677]  ret_from_fork_asm+0x1a/0x30
[   31.063945] 
[   31.064059] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.064059] 
[   31.064625] allocated by task 316 on cpu 0 at 31.060302s (0.004317s ago):
[   31.065332]  test_alloc+0x364/0x10f0
[   31.065641]  test_out_of_bounds_read+0x1e2/0x4e0
[   31.066021]  kunit_try_run_case+0x1a5/0x480
[   31.066252]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.066735]  kthread+0x337/0x6f0
[   31.067043]  ret_from_fork+0x116/0x1d0
[   31.067372]  ret_from_fork_asm+0x1a/0x30
[   31.067642] 
[   31.067869] CPU: 0 UID: 0 PID: 316 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250620 #1 PREEMPT(voluntary) 
[   31.068578] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.068780] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.069393] ==================================================================