Hay
Date
July 8, 2025, 11:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   35.338148] ==================================================================
[   35.338403] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   35.338403] 
[   35.338493] Out-of-bounds read at 0x00000000f878214a (1B left of kfence-#133):
[   35.338550]  test_out_of_bounds_read+0x114/0x3e0
[   35.338685]  kunit_try_run_case+0x170/0x3f0
[   35.338760]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.338809]  kthread+0x328/0x630
[   35.338967]  ret_from_fork+0x10/0x20
[   35.339307] 
[   35.339404] kfence-#133: 0x0000000041b1f5e0-0x0000000095b4cd26, size=32, cache=test
[   35.339404] 
[   35.339515] allocated by task 320 on cpu 0 at 35.337970s (0.001524s ago):
[   35.339684]  test_alloc+0x230/0x628
[   35.339748]  test_out_of_bounds_read+0xdc/0x3e0
[   35.339807]  kunit_try_run_case+0x170/0x3f0
[   35.339850]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.339895]  kthread+0x328/0x630
[   35.339951]  ret_from_fork+0x10/0x20
[   35.339991] 
[   35.340035] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT 
[   35.340198] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.340245] Hardware name: linux,dummy-virt (DT)
[   35.340289] ==================================================================
[   35.129576] ==================================================================
[   35.129968] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   35.129968] 
[   35.130085] Out-of-bounds read at 0x000000004369ef9e (32B right of kfence-#131):
[   35.130146]  test_out_of_bounds_read+0x1c8/0x3e0
[   35.130219]  kunit_try_run_case+0x170/0x3f0
[   35.130267]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.130396]  kthread+0x328/0x630
[   35.130439]  ret_from_fork+0x10/0x20
[   35.130493] 
[   35.130541] kfence-#131: 0x000000000ab37535-0x000000000e10db1f, size=32, cache=kmalloc-32
[   35.130541] 
[   35.130607] allocated by task 318 on cpu 0 at 35.129337s (0.001265s ago):
[   35.130678]  test_alloc+0x29c/0x628
[   35.130720]  test_out_of_bounds_read+0x198/0x3e0
[   35.130878]  kunit_try_run_case+0x170/0x3f0
[   35.130945]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.131106]  kthread+0x328/0x630
[   35.131189]  ret_from_fork+0x10/0x20
[   35.131369] 
[   35.131415] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT 
[   35.131496] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.131524] Hardware name: linux,dummy-virt (DT)
[   35.131558] ==================================================================
[   34.818395] ==================================================================
[   34.818672] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   34.818672] 
[   34.818850] Out-of-bounds read at 0x00000000dbc24fa3 (1B left of kfence-#128):
[   34.819131]  test_out_of_bounds_read+0x114/0x3e0
[   34.819188]  kunit_try_run_case+0x170/0x3f0
[   34.819408]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.819615]  kthread+0x328/0x630
[   34.819658]  ret_from_fork+0x10/0x20
[   34.819754] 
[   34.820009] kfence-#128: 0x00000000bc053c43-0x00000000443fffbf, size=32, cache=kmalloc-32
[   34.820009] 
[   34.820434] allocated by task 318 on cpu 0 at 34.817418s (0.002894s ago):
[   34.821360]  test_alloc+0x29c/0x628
[   34.821570]  test_out_of_bounds_read+0xdc/0x3e0
[   34.821656]  kunit_try_run_case+0x170/0x3f0
[   34.821821]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.822048]  kthread+0x328/0x630
[   34.822234]  ret_from_fork+0x10/0x20
[   34.822498] 
[   34.822938] CPU: 0 UID: 0 PID: 318 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT 
[   34.823054] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.823085] Hardware name: linux,dummy-virt (DT)
[   34.823457] ==================================================================
[   35.441848] ==================================================================
[   35.441928] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   35.441928] 
[   35.442014] Out-of-bounds read at 0x00000000d31506f3 (32B right of kfence-#134):
[   35.442072]  test_out_of_bounds_read+0x1c8/0x3e0
[   35.442122]  kunit_try_run_case+0x170/0x3f0
[   35.442342]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.442411]  kthread+0x328/0x630
[   35.442454]  ret_from_fork+0x10/0x20
[   35.442512] 
[   35.442539] kfence-#134: 0x000000008e85b0fc-0x00000000666547d1, size=32, cache=test
[   35.442539] 
[   35.442638] allocated by task 320 on cpu 0 at 35.441766s (0.000841s ago):
[   35.442708]  test_alloc+0x230/0x628
[   35.442749]  test_out_of_bounds_read+0x198/0x3e0
[   35.442792]  kunit_try_run_case+0x170/0x3f0
[   35.442970]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.443022]  kthread+0x328/0x630
[   35.443057]  ret_from_fork+0x10/0x20
[   35.443145] 
[   35.443228] CPU: 0 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT 
[   35.443353] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.443430] Hardware name: linux,dummy-virt (DT)
[   35.443467] ==================================================================

[   28.128321] ==================================================================
[   28.128706] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   28.128706] 
[   28.129163] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#85):
[   28.129528]  test_out_of_bounds_read+0x216/0x4e0
[   28.129739]  kunit_try_run_case+0x1a5/0x480
[   28.129963]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.130858]  kthread+0x337/0x6f0
[   28.131011]  ret_from_fork+0x116/0x1d0
[   28.131356]  ret_from_fork_asm+0x1a/0x30
[   28.131548] 
[   28.131834] kfence-#85: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   28.131834] 
[   28.132227] allocated by task 335 on cpu 0 at 28.128124s (0.004100s ago):
[   28.132559]  test_alloc+0x364/0x10f0
[   28.132751]  test_out_of_bounds_read+0x1e2/0x4e0
[   28.132904]  kunit_try_run_case+0x1a5/0x480
[   28.133074]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.133351]  kthread+0x337/0x6f0
[   28.133528]  ret_from_fork+0x116/0x1d0
[   28.133714]  ret_from_fork_asm+0x1a/0x30
[   28.133870] 
[   28.133970] CPU: 0 UID: 0 PID: 335 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) 
[   28.134453] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.134638] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.134966] ==================================================================
[   28.544131] ==================================================================
[   28.544547] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   28.544547] 
[   28.545084] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#89):
[   28.545409]  test_out_of_bounds_read+0x216/0x4e0
[   28.546012]  kunit_try_run_case+0x1a5/0x480
[   28.546230]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.546450]  kthread+0x337/0x6f0
[   28.546621]  ret_from_fork+0x116/0x1d0
[   28.546806]  ret_from_fork_asm+0x1a/0x30
[   28.547024] 
[   28.547510] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   28.547510] 
[   28.547965] allocated by task 337 on cpu 0 at 28.544073s (0.003889s ago):
[   28.548425]  test_alloc+0x2a6/0x10f0
[   28.548677]  test_out_of_bounds_read+0x1e2/0x4e0
[   28.549010]  kunit_try_run_case+0x1a5/0x480
[   28.549211]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.549574]  kthread+0x337/0x6f0
[   28.549736]  ret_from_fork+0x116/0x1d0
[   28.549977]  ret_from_fork_asm+0x1a/0x30
[   28.550274] 
[   28.550378] CPU: 0 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) 
[   28.550999] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.551169] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.551711] ==================================================================
[   28.025174] ==================================================================
[   28.025652] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   28.025652] 
[   28.026612] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#84):
[   28.027073]  test_out_of_bounds_read+0x126/0x4e0
[   28.027566]  kunit_try_run_case+0x1a5/0x480
[   28.027773]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.028261]  kthread+0x337/0x6f0
[   28.028538]  ret_from_fork+0x116/0x1d0
[   28.028744]  ret_from_fork_asm+0x1a/0x30
[   28.029120] 
[   28.029250] kfence-#84: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   28.029250] 
[   28.029945] allocated by task 335 on cpu 0 at 28.024255s (0.005687s ago):
[   28.030309]  test_alloc+0x364/0x10f0
[   28.030660]  test_out_of_bounds_read+0xed/0x4e0
[   28.030900]  kunit_try_run_case+0x1a5/0x480
[   28.031076]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.031494]  kthread+0x337/0x6f0
[   28.031626]  ret_from_fork+0x116/0x1d0
[   28.031866]  ret_from_fork_asm+0x1a/0x30
[   28.032261] 
[   28.032390] CPU: 0 UID: 0 PID: 335 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) 
[   28.032866] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.033212] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.033648] ==================================================================
[   28.232200] ==================================================================
[   28.232604] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   28.232604] 
[   28.233046] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#86):
[   28.233824]  test_out_of_bounds_read+0x126/0x4e0
[   28.234061]  kunit_try_run_case+0x1a5/0x480
[   28.234289]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.234501]  kthread+0x337/0x6f0
[   28.234665]  ret_from_fork+0x116/0x1d0
[   28.234831]  ret_from_fork_asm+0x1a/0x30
[   28.235374] 
[   28.235469] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   28.235469] 
[   28.235969] allocated by task 337 on cpu 0 at 28.232137s (0.003828s ago):
[   28.236539]  test_alloc+0x2a6/0x10f0
[   28.236730]  test_out_of_bounds_read+0xed/0x4e0
[   28.236977]  kunit_try_run_case+0x1a5/0x480
[   28.237325]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.237630]  kthread+0x337/0x6f0
[   28.237770]  ret_from_fork+0x116/0x1d0
[   28.238039]  ret_from_fork_asm+0x1a/0x30
[   28.238210] 
[   28.238345] CPU: 0 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) 
[   28.239071] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.239272] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.239702] ==================================================================