Hay
Date
July 12, 2025, 11:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   24.116736] ==================================================================
[   24.116923] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   24.116923] 
[   24.117652] Out-of-bounds read at 0x00000000f57f0b59 (32B right of kfence-#119):
[   24.117814]  test_out_of_bounds_read+0x1c8/0x3e0
[   24.118056]  kunit_try_run_case+0x170/0x3f0
[   24.118230]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.118412]  kthread+0x328/0x630
[   24.118591]  ret_from_fork+0x10/0x20
[   24.118699] 
[   24.119237] kfence-#119: 0x00000000ba06620a-0x00000000c9e8acfd, size=32, cache=kmalloc-32
[   24.119237] 
[   24.119388] allocated by task 288 on cpu 1 at 24.114882s (0.004497s ago):
[   24.119935]  test_alloc+0x29c/0x628
[   24.120633]  test_out_of_bounds_read+0x198/0x3e0
[   24.120843]  kunit_try_run_case+0x170/0x3f0
[   24.121309]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.121498]  kthread+0x328/0x630
[   24.121581]  ret_from_fork+0x10/0x20
[   24.121667] 
[   24.121758] CPU: 1 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.122400] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.122493] Hardware name: linux,dummy-virt (DT)
[   24.123121] ==================================================================
[   24.963579] ==================================================================
[   24.964105] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   24.964105] 
[   24.964617] Out-of-bounds read at 0x00000000659b55ef (32B right of kfence-#127):
[   24.964839]  test_out_of_bounds_read+0x1c8/0x3e0
[   24.964954]  kunit_try_run_case+0x170/0x3f0
[   24.965058]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.965575]  kthread+0x328/0x630
[   24.965803]  ret_from_fork+0x10/0x20
[   24.966119] 
[   24.966262] kfence-#127: 0x00000000b691ab65-0x000000004bb1bd10, size=32, cache=test
[   24.966262] 
[   24.966415] allocated by task 290 on cpu 1 at 24.963311s (0.003091s ago):
[   24.966724]  test_alloc+0x230/0x628
[   24.966846]  test_out_of_bounds_read+0x198/0x3e0
[   24.966945]  kunit_try_run_case+0x170/0x3f0
[   24.967485]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.967756]  kthread+0x328/0x630
[   24.968016]  ret_from_fork+0x10/0x20
[   24.968350] 
[   24.968461] CPU: 1 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.968949] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.969056] Hardware name: linux,dummy-virt (DT)
[   24.969237] ==================================================================
[   24.008231] ==================================================================
[   24.008446] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   24.008446] 
[   24.008718] Out-of-bounds read at 0x00000000a53b6e08 (1B left of kfence-#118):
[   24.011250]  test_out_of_bounds_read+0x114/0x3e0
[   24.012003]  kunit_try_run_case+0x170/0x3f0
[   24.012619]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.012782]  kthread+0x328/0x630
[   24.013170]  ret_from_fork+0x10/0x20
[   24.013401] 
[   24.013770] kfence-#118: 0x00000000f98050bb-0x0000000089396ebd, size=32, cache=kmalloc-32
[   24.013770] 
[   24.014356] allocated by task 288 on cpu 1 at 24.007622s (0.006678s ago):
[   24.014604]  test_alloc+0x29c/0x628
[   24.014702]  test_out_of_bounds_read+0xdc/0x3e0
[   24.014807]  kunit_try_run_case+0x170/0x3f0
[   24.014915]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.015409]  kthread+0x328/0x630
[   24.016070]  ret_from_fork+0x10/0x20
[   24.016674] 
[   24.017227] CPU: 1 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.017629] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.018333] Hardware name: linux,dummy-virt (DT)
[   24.018944] ==================================================================
[   24.324736] ==================================================================
[   24.324904] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   24.324904] 
[   24.325072] Out-of-bounds read at 0x00000000c96757fb (1B left of kfence-#121):
[   24.325923]  test_out_of_bounds_read+0x114/0x3e0
[   24.326109]  kunit_try_run_case+0x170/0x3f0
[   24.326324]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.326462]  kthread+0x328/0x630
[   24.326673]  ret_from_fork+0x10/0x20
[   24.326799] 
[   24.326876] kfence-#121: 0x00000000247ad487-0x00000000a536ff15, size=32, cache=test
[   24.326876] 
[   24.327100] allocated by task 290 on cpu 1 at 24.324601s (0.002489s ago):
[   24.327952]  test_alloc+0x230/0x628
[   24.329751]  test_out_of_bounds_read+0xdc/0x3e0
[   24.329901]  kunit_try_run_case+0x170/0x3f0
[   24.329992]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.330081]  kthread+0x328/0x630
[   24.330159]  ret_from_fork+0x10/0x20
[   24.330236] 
[   24.330326] CPU: 1 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   24.330502] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.330579] Hardware name: linux,dummy-virt (DT)
[   24.330651] ==================================================================

[   17.178145] ==================================================================
[   17.178655] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   17.178655] 
[   17.179615] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#60):
[   17.180146]  test_out_of_bounds_read+0x126/0x4e0
[   17.180490]  kunit_try_run_case+0x1a5/0x480
[   17.180835]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.181181]  kthread+0x337/0x6f0
[   17.181434]  ret_from_fork+0x116/0x1d0
[   17.181685]  ret_from_fork_asm+0x1a/0x30
[   17.181981] 
[   17.182087] kfence-#60: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.182087] 
[   17.182479] allocated by task 305 on cpu 1 at 17.177862s (0.004615s ago):
[   17.183018]  test_alloc+0x364/0x10f0
[   17.183166]  test_out_of_bounds_read+0xed/0x4e0
[   17.183514]  kunit_try_run_case+0x1a5/0x480
[   17.183743]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.184138]  kthread+0x337/0x6f0
[   17.184300]  ret_from_fork+0x116/0x1d0
[   17.184578]  ret_from_fork_asm+0x1a/0x30
[   17.184924] 
[   17.185052] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.185483] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.185878] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.186262] ==================================================================
[   17.697069] ==================================================================
[   17.697478] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   17.697478] 
[   17.697918] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#65):
[   17.698230]  test_out_of_bounds_read+0x126/0x4e0
[   17.698445]  kunit_try_run_case+0x1a5/0x480
[   17.698600]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.698993]  kthread+0x337/0x6f0
[   17.699304]  ret_from_fork+0x116/0x1d0
[   17.699489]  ret_from_fork_asm+0x1a/0x30
[   17.699637] 
[   17.699717] kfence-#65: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.699717] 
[   17.700132] allocated by task 307 on cpu 0 at 17.697006s (0.003124s ago):
[   17.700392]  test_alloc+0x2a6/0x10f0
[   17.700587]  test_out_of_bounds_read+0xed/0x4e0
[   17.701004]  kunit_try_run_case+0x1a5/0x480
[   17.701200]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.701450]  kthread+0x337/0x6f0
[   17.701626]  ret_from_fork+0x116/0x1d0
[   17.701893]  ret_from_fork_asm+0x1a/0x30
[   17.702106] 
[   17.702234] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.702672] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.702895] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.703245] ==================================================================
[   17.801019] ==================================================================
[   17.801392] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   17.801392] 
[   17.801793] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#66):
[   17.802150]  test_out_of_bounds_read+0x216/0x4e0
[   17.802321]  kunit_try_run_case+0x1a5/0x480
[   17.802512]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.802842]  kthread+0x337/0x6f0
[   17.803080]  ret_from_fork+0x116/0x1d0
[   17.803267]  ret_from_fork_asm+0x1a/0x30
[   17.803409] 
[   17.803505] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.803505] 
[   17.803873] allocated by task 307 on cpu 0 at 17.800967s (0.002904s ago):
[   17.804184]  test_alloc+0x2a6/0x10f0
[   17.804364]  test_out_of_bounds_read+0x1e2/0x4e0
[   17.804566]  kunit_try_run_case+0x1a5/0x480
[   17.804809]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.805023]  kthread+0x337/0x6f0
[   17.805200]  ret_from_fork+0x116/0x1d0
[   17.805383]  ret_from_fork_asm+0x1a/0x30
[   17.805576] 
[   17.805688] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.806058] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.806264] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.806635] ==================================================================
[   17.281180] ==================================================================
[   17.281572] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   17.281572] 
[   17.282023] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#61):
[   17.282670]  test_out_of_bounds_read+0x216/0x4e0
[   17.282939]  kunit_try_run_case+0x1a5/0x480
[   17.283136]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.283399]  kthread+0x337/0x6f0
[   17.283579]  ret_from_fork+0x116/0x1d0
[   17.284254]  ret_from_fork_asm+0x1a/0x30
[   17.284426] 
[   17.284532] kfence-#61: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.284532] 
[   17.285255] allocated by task 305 on cpu 1 at 17.280983s (0.004270s ago):
[   17.285773]  test_alloc+0x364/0x10f0
[   17.285957]  test_out_of_bounds_read+0x1e2/0x4e0
[   17.286232]  kunit_try_run_case+0x1a5/0x480
[   17.286433]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.286881]  kthread+0x337/0x6f0
[   17.287054]  ret_from_fork+0x116/0x1d0
[   17.287235]  ret_from_fork_asm+0x1a/0x30
[   17.287413] 
[   17.287518] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   17.288200] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.288396] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.288996] ==================================================================