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

Environment
qemu-arm64
qemu-x86_64

[   19.114861] ==================================================================
[   19.115080] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   19.115080] 
[   19.115259] Out-of-bounds read at 0x0000000058eae786 (32B right of kfence-#79):
[   19.115350]  test_out_of_bounds_read+0x1c8/0x3e0
[   19.115411]  kunit_try_run_case+0x170/0x3f0
[   19.115695]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.115766]  kthread+0x328/0x630
[   19.115888]  ret_from_fork+0x10/0x20
[   19.115934] 
[   19.116015] kfence-#79: 0x00000000d7eedaa9-0x00000000eef6f941, size=32, cache=kmalloc-32
[   19.116015] 
[   19.116146] allocated by task 288 on cpu 0 at 19.113991s (0.002133s ago):
[   19.116291]  test_alloc+0x29c/0x628
[   19.116336]  test_out_of_bounds_read+0x198/0x3e0
[   19.116378]  kunit_try_run_case+0x170/0x3f0
[   19.116416]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.116733]  kthread+0x328/0x630
[   19.116794]  ret_from_fork+0x10/0x20
[   19.116904] 
[   19.116961] CPU: 0 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.117171] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.117364] Hardware name: linux,dummy-virt (DT)
[   19.117439] ==================================================================
[   19.530107] ==================================================================
[   19.530201] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   19.530201] 
[   19.530342] Out-of-bounds read at 0x00000000579f36d0 (1B left of kfence-#83):
[   19.530418]  test_out_of_bounds_read+0x114/0x3e0
[   19.530519]  kunit_try_run_case+0x170/0x3f0
[   19.530562]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.530632]  kthread+0x328/0x630
[   19.530704]  ret_from_fork+0x10/0x20
[   19.530771] 
[   19.530831] kfence-#83: 0x00000000938bd354-0x000000002288f8cd, size=32, cache=test
[   19.530831] 
[   19.530936] allocated by task 290 on cpu 0 at 19.530022s (0.000893s ago):
[   19.531274]  test_alloc+0x230/0x628
[   19.531331]  test_out_of_bounds_read+0xdc/0x3e0
[   19.531395]  kunit_try_run_case+0x170/0x3f0
[   19.531437]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.531508]  kthread+0x328/0x630
[   19.531572]  ret_from_fork+0x10/0x20
[   19.531660] 
[   19.531705] CPU: 0 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.531803] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.531880] Hardware name: linux,dummy-virt (DT)
[   19.531915] ==================================================================
[   18.906907] ==================================================================
[   18.907400] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   18.907400] 
[   18.907750] Out-of-bounds read at 0x000000000b2718eb (1B left of kfence-#77):
[   18.908277]  test_out_of_bounds_read+0x114/0x3e0
[   18.908334]  kunit_try_run_case+0x170/0x3f0
[   18.908662]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.908771]  kthread+0x328/0x630
[   18.908815]  ret_from_fork+0x10/0x20
[   18.909000] 
[   18.909489] kfence-#77: 0x0000000003eef249-0x000000001ec17d79, size=32, cache=kmalloc-32
[   18.909489] 
[   18.910063] allocated by task 288 on cpu 0 at 18.905779s (0.003838s ago):
[   18.911837]  test_alloc+0x29c/0x628
[   18.912279]  test_out_of_bounds_read+0xdc/0x3e0
[   18.912354]  kunit_try_run_case+0x170/0x3f0
[   18.912397]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   18.912465]  kthread+0x328/0x630
[   18.912510]  ret_from_fork+0x10/0x20
[   18.912642] 
[   18.912718] CPU: 0 UID: 0 PID: 288 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   18.912814] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.912857] Hardware name: linux,dummy-virt (DT)
[   18.912913] ==================================================================
[   19.742272] ==================================================================
[   19.742368] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   19.742368] 
[   19.742475] Out-of-bounds read at 0x00000000fbdb6fb6 (32B right of kfence-#85):
[   19.742538]  test_out_of_bounds_read+0x1c8/0x3e0
[   19.742583]  kunit_try_run_case+0x170/0x3f0
[   19.742625]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.742668]  kthread+0x328/0x630
[   19.742956]  ret_from_fork+0x10/0x20
[   19.743027] 
[   19.743052] kfence-#85: 0x00000000a52ed27c-0x000000007b6c67a6, size=32, cache=test
[   19.743052] 
[   19.743114] allocated by task 290 on cpu 0 at 19.742097s (0.001004s ago):
[   19.743192]  test_alloc+0x230/0x628
[   19.743234]  test_out_of_bounds_read+0x198/0x3e0
[   19.743275]  kunit_try_run_case+0x170/0x3f0
[   19.743318]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.743362]  kthread+0x328/0x630
[   19.743399]  ret_from_fork+0x10/0x20
[   19.743451] 
[   19.743492] CPU: 0 UID: 0 PID: 290 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.743595] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.743624] Hardware name: linux,dummy-virt (DT)
[   19.743657] ==================================================================

[   17.291650] ==================================================================
[   17.292051] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   17.292051] 
[   17.292425] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#63):
[   17.292852]  test_out_of_bounds_read+0x216/0x4e0
[   17.293020]  kunit_try_run_case+0x1a5/0x480
[   17.293234]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.293493]  kthread+0x337/0x6f0
[   17.293682]  ret_from_fork+0x116/0x1d0
[   17.293904]  ret_from_fork_asm+0x1a/0x30
[   17.294085] 
[   17.294178] kfence-#63: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.294178] 
[   17.294595] allocated by task 306 on cpu 1 at 17.291598s (0.002994s ago):
[   17.294861]  test_alloc+0x2a6/0x10f0
[   17.295051]  test_out_of_bounds_read+0x1e2/0x4e0
[   17.295258]  kunit_try_run_case+0x1a5/0x480
[   17.295425]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.295658]  kthread+0x337/0x6f0
[   17.295846]  ret_from_fork+0x116/0x1d0
[   17.296042]  ret_from_fork_asm+0x1a/0x30
[   17.296248] 
[   17.296354] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.296724] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.296952] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.297338] ==================================================================
[   17.187748] ==================================================================
[   17.188162] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   17.188162] 
[   17.188637] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#62):
[   17.188987]  test_out_of_bounds_read+0x126/0x4e0
[   17.189186]  kunit_try_run_case+0x1a5/0x480
[   17.189371]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.189746]  kthread+0x337/0x6f0
[   17.189890]  ret_from_fork+0x116/0x1d0
[   17.190095]  ret_from_fork_asm+0x1a/0x30
[   17.190300] 
[   17.190406] kfence-#62: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.190406] 
[   17.190695] allocated by task 306 on cpu 1 at 17.187683s (0.003011s ago):
[   17.191094]  test_alloc+0x2a6/0x10f0
[   17.191279]  test_out_of_bounds_read+0xed/0x4e0
[   17.191512]  kunit_try_run_case+0x1a5/0x480
[   17.191684]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.191947]  kthread+0x337/0x6f0
[   17.192106]  ret_from_fork+0x116/0x1d0
[   17.192284]  ret_from_fork_asm+0x1a/0x30
[   17.192467] 
[   17.192594] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.193040] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.193179] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.193561] ==================================================================
[   16.980614] ==================================================================
[   16.981093] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   16.981093] 
[   16.981596] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#60):
[   16.981895]  test_out_of_bounds_read+0x126/0x4e0
[   16.982146]  kunit_try_run_case+0x1a5/0x480
[   16.982350]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.982577]  kthread+0x337/0x6f0
[   16.982771]  ret_from_fork+0x116/0x1d0
[   16.982969]  ret_from_fork_asm+0x1a/0x30
[   16.983127] 
[   16.983213] kfence-#60: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.983213] 
[   16.983625] allocated by task 304 on cpu 0 at 16.979688s (0.003935s ago):
[   16.983984]  test_alloc+0x364/0x10f0
[   16.984171]  test_out_of_bounds_read+0xed/0x4e0
[   16.984354]  kunit_try_run_case+0x1a5/0x480
[   16.984643]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.984965]  kthread+0x337/0x6f0
[   16.985121]  ret_from_fork+0x116/0x1d0
[   16.985278]  ret_from_fork_asm+0x1a/0x30
[   16.985438] 
[   16.985560] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   16.986049] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.986190] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.986762] ==================================================================
[   17.083832] ==================================================================
[   17.084225] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   17.084225] 
[   17.084712] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#61):
[   17.085028]  test_out_of_bounds_read+0x216/0x4e0
[   17.085226]  kunit_try_run_case+0x1a5/0x480
[   17.085457]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.085723]  kthread+0x337/0x6f0
[   17.085883]  ret_from_fork+0x116/0x1d0
[   17.086034]  ret_from_fork_asm+0x1a/0x30
[   17.086235] 
[   17.086332] kfence-#61: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.086332] 
[   17.086740] allocated by task 304 on cpu 0 at 17.083651s (0.003087s ago):
[   17.087087]  test_alloc+0x364/0x10f0
[   17.087243]  test_out_of_bounds_read+0x1e2/0x4e0
[   17.087400]  kunit_try_run_case+0x1a5/0x480
[   17.087820]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.088057]  kthread+0x337/0x6f0
[   17.088221]  ret_from_fork+0x116/0x1d0
[   17.088382]  ret_from_fork_asm+0x1a/0x30
[   17.088522] 
[   17.088615] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.089101] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.089315] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.089684] ==================================================================