Hay
Date
July 25, 2025, 3:13 a.m.

Environment
qemu-arm64
qemu-x86_64

[   36.345543] ==================================================================
[   36.345651] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   36.345651] 
[   36.346155] Out-of-bounds read at 0x00000000b6456cb5 (32B right of kfence-#124):
[   36.346397]  test_out_of_bounds_read+0x1c8/0x3e0
[   36.346470]  kunit_try_run_case+0x170/0x3f0
[   36.346669]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.346838]  kthread+0x328/0x630
[   36.346895]  ret_from_fork+0x10/0x20
[   36.346946] 
[   36.347209] kfence-#124: 0x0000000091f4eb72-0x000000006f5f8b51, size=32, cache=test
[   36.347209] 
[   36.347393] allocated by task 321 on cpu 0 at 36.345332s (0.002056s ago):
[   36.347475]  test_alloc+0x230/0x628
[   36.347928]  test_out_of_bounds_read+0x198/0x3e0
[   36.348518]  kunit_try_run_case+0x170/0x3f0
[   36.348793]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.348908]  kthread+0x328/0x630
[   36.349012]  ret_from_fork+0x10/0x20
[   36.349086] 
[   36.349366] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250725 #1 PREEMPT 
[   36.349687] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   36.349899] Hardware name: linux,dummy-virt (DT)
[   36.350061] ==================================================================
[   35.929341] ==================================================================
[   35.929429] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   35.929429] 
[   35.929839] Out-of-bounds read at 0x0000000085d1644f (32B right of kfence-#120):
[   35.929931]  test_out_of_bounds_read+0x1c8/0x3e0
[   35.929981]  kunit_try_run_case+0x170/0x3f0
[   35.930027]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.930072]  kthread+0x328/0x630
[   35.930108]  ret_from_fork+0x10/0x20
[   35.930150] 
[   35.930176] kfence-#120: 0x000000003616e1f3-0x000000002d90d518, size=32, cache=kmalloc-32
[   35.930176] 
[   35.930231] allocated by task 319 on cpu 0 at 35.929070s (0.001157s ago):
[   35.930330]  test_alloc+0x29c/0x628
[   35.930370]  test_out_of_bounds_read+0x198/0x3e0
[   35.930411]  kunit_try_run_case+0x170/0x3f0
[   35.930460]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.930506]  kthread+0x328/0x630
[   35.930546]  ret_from_fork+0x10/0x20
[   35.930587] 
[   35.930634] CPU: 0 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250725 #1 PREEMPT 
[   35.930741] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   35.930777] Hardware name: linux,dummy-virt (DT)
[   35.930820] ==================================================================
[   35.826142] ==================================================================
[   35.826271] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   35.826271] 
[   35.830655] Out-of-bounds read at 0x000000007973d443 (1B left of kfence-#119):
[   35.830820]  test_out_of_bounds_read+0x114/0x3e0
[   35.830886]  kunit_try_run_case+0x170/0x3f0
[   35.830933]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.830978]  kthread+0x328/0x630
[   35.831019]  ret_from_fork+0x10/0x20
[   35.831059] 
[   35.831085] kfence-#119: 0x0000000085335c55-0x000000009bbf585f, size=32, cache=kmalloc-32
[   35.831085] 
[   35.831144] allocated by task 319 on cpu 0 at 35.825690s (0.005451s ago):
[   35.831223]  test_alloc+0x29c/0x628
[   35.831262]  test_out_of_bounds_read+0xdc/0x3e0
[   35.831303]  kunit_try_run_case+0x170/0x3f0
[   35.831344]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.831388]  kthread+0x328/0x630
[   35.831425]  ret_from_fork+0x10/0x20
[   35.831482] 
[   35.831532] CPU: 0 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250725 #1 PREEMPT 
[   35.831626] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   35.831695] Hardware name: linux,dummy-virt (DT)
[   35.831732] ==================================================================
[   36.241489] ==================================================================
[   36.241589] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   36.241589] 
[   36.241689] Out-of-bounds read at 0x00000000969fc7fe (1B left of kfence-#123):
[   36.241753]  test_out_of_bounds_read+0x114/0x3e0
[   36.242381]  kunit_try_run_case+0x170/0x3f0
[   36.242521]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.242582]  kthread+0x328/0x630
[   36.242806]  ret_from_fork+0x10/0x20
[   36.242867] 
[   36.242894] kfence-#123: 0x0000000044e64a4c-0x00000000d8921c92, size=32, cache=test
[   36.242894] 
[   36.243482] allocated by task 321 on cpu 0 at 36.241156s (0.002303s ago):
[   36.244061]  test_alloc+0x230/0x628
[   36.244374]  test_out_of_bounds_read+0xdc/0x3e0
[   36.244777]  kunit_try_run_case+0x170/0x3f0
[   36.245220]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   36.245281]  kthread+0x328/0x630
[   36.245740]  ret_from_fork+0x10/0x20
[   36.245806] 
[   36.245857] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc7-next-20250725 #1 PREEMPT 
[   36.246354] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   36.246446] Hardware name: linux,dummy-virt (DT)
[   36.246485] ==================================================================

[   30.708130] ==================================================================
[   30.708540] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   30.708540] 
[   30.708904] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#88):
[   30.709592]  test_out_of_bounds_read+0x216/0x4e0
[   30.710041]  kunit_try_run_case+0x1a5/0x480
[   30.710572]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.710899]  kthread+0x337/0x6f0
[   30.711149]  ret_from_fork+0x116/0x1d0
[   30.711361]  ret_from_fork_asm+0x1a/0x30
[   30.711720] 
[   30.711834] kfence-#88: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.711834] 
[   30.712446] allocated by task 338 on cpu 1 at 30.708078s (0.004365s ago):
[   30.712937]  test_alloc+0x2a6/0x10f0
[   30.713234]  test_out_of_bounds_read+0x1e2/0x4e0
[   30.713456]  kunit_try_run_case+0x1a5/0x480
[   30.713630]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.713893]  kthread+0x337/0x6f0
[   30.714061]  ret_from_fork+0x116/0x1d0
[   30.714505]  ret_from_fork_asm+0x1a/0x30
[   30.714766] 
[   30.714909] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250725 #1 PREEMPT(voluntary) 
[   30.715586] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.715806] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.716366] ==================================================================
[   30.396252] ==================================================================
[   30.396651] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   30.396651] 
[   30.397112] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#85):
[   30.397466]  test_out_of_bounds_read+0x216/0x4e0
[   30.397706]  kunit_try_run_case+0x1a5/0x480
[   30.397977]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.398329]  kthread+0x337/0x6f0
[   30.398540]  ret_from_fork+0x116/0x1d0
[   30.398707]  ret_from_fork_asm+0x1a/0x30
[   30.398880] 
[   30.398985] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.398985] 
[   30.399426] allocated by task 336 on cpu 0 at 30.396074s (0.003349s ago):
[   30.399794]  test_alloc+0x364/0x10f0
[   30.400031]  test_out_of_bounds_read+0x1e2/0x4e0
[   30.400272]  kunit_try_run_case+0x1a5/0x480
[   30.400451]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.400744]  kthread+0x337/0x6f0
[   30.400925]  ret_from_fork+0x116/0x1d0
[   30.401280]  ret_from_fork_asm+0x1a/0x30
[   30.401516] 
[   30.401660] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250725 #1 PREEMPT(voluntary) 
[   30.402134] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.402384] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.402835] ==================================================================
[   30.500151] ==================================================================
[   30.500517] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   30.500517] 
[   30.500860] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#86):
[   30.501993]  test_out_of_bounds_read+0x126/0x4e0
[   30.502356]  kunit_try_run_case+0x1a5/0x480
[   30.502670]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.503022]  kthread+0x337/0x6f0
[   30.503228]  ret_from_fork+0x116/0x1d0
[   30.503561]  ret_from_fork_asm+0x1a/0x30
[   30.503851] 
[   30.504049] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.504049] 
[   30.504489] allocated by task 338 on cpu 1 at 30.500092s (0.004394s ago):
[   30.505116]  test_alloc+0x2a6/0x10f0
[   30.505318]  test_out_of_bounds_read+0xed/0x4e0
[   30.505631]  kunit_try_run_case+0x1a5/0x480
[   30.505926]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.506318]  kthread+0x337/0x6f0
[   30.506454]  ret_from_fork+0x116/0x1d0
[   30.506845]  ret_from_fork_asm+0x1a/0x30
[   30.507077] 
[   30.507276] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250725 #1 PREEMPT(voluntary) 
[   30.507788] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.508207] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.508689] ==================================================================
[   30.293258] ==================================================================
[   30.293970] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   30.293970] 
[   30.294350] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#84):
[   30.294709]  test_out_of_bounds_read+0x126/0x4e0
[   30.294883]  kunit_try_run_case+0x1a5/0x480
[   30.295054]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.295236]  kthread+0x337/0x6f0
[   30.295376]  ret_from_fork+0x116/0x1d0
[   30.295640]  ret_from_fork_asm+0x1a/0x30
[   30.295874] 
[   30.296177] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.296177] 
[   30.296775] allocated by task 336 on cpu 0 at 30.292044s (0.004674s ago):
[   30.297420]  test_alloc+0x364/0x10f0
[   30.297664]  test_out_of_bounds_read+0xed/0x4e0
[   30.297894]  kunit_try_run_case+0x1a5/0x480
[   30.298181]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.298460]  kthread+0x337/0x6f0
[   30.298652]  ret_from_fork+0x116/0x1d0
[   30.298826]  ret_from_fork_asm+0x1a/0x30
[   30.299091] 
[   30.299282] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7-next-20250725 #1 PREEMPT(voluntary) 
[   30.299861] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.300042] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.300738] ==================================================================