Hay
Date
June 8, 2025, 11:09 p.m.

Environment
e850-96
qemu-arm64
qemu-x86_64
rk3399-rock-pi-4b

[   76.319666] ==================================================================
[   76.319806] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   76.319806] 
[   76.319970] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#190):
[   76.321642]  test_kmalloc_aligned_oob_read+0x238/0x468
[   76.326762]  kunit_try_run_case+0x170/0x3f0
[   76.330929]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   76.336397]  kthread+0x328/0x630
[   76.339609]  ret_from_fork+0x10/0x20
[   76.343168] 
[   76.344646] kfence-#190: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   76.344646] 
[   76.354282] allocated by task 370 on cpu 4 at 76.319628s (0.034652s ago):
[   76.361068]  test_alloc+0x29c/0x628
[   76.364522]  test_kmalloc_aligned_oob_read+0x100/0x468
[   76.369644]  kunit_try_run_case+0x170/0x3f0
[   76.373810]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   76.379279]  kthread+0x328/0x630
[   76.382490]  ret_from_fork+0x10/0x20
[   76.386051] 
[   76.387536] CPU: 4 UID: 0 PID: 370 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   76.397429] Tainted: [B]=BAD_PAGE, [N]=TEST
[   76.401590] Hardware name: WinLink E850-96 board (DT)
[   76.406626] ==================================================================

[   37.380235] ==================================================================
[   37.380356] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   37.380356] 
[   37.380469] Out-of-bounds read at 0x000000008a1bd165 (105B right of kfence-#174):
[   37.380543]  test_kmalloc_aligned_oob_read+0x238/0x468
[   37.380611]  kunit_try_run_case+0x170/0x3f0
[   37.380673]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.380731]  kthread+0x328/0x630
[   37.380786]  ret_from_fork+0x10/0x20
[   37.380841] 
[   37.380872] kfence-#174: 0x00000000b913e09f-0x000000007242a917, size=73, cache=kmalloc-96
[   37.380872] 
[   37.380965] allocated by task 323 on cpu 0 at 37.379810s (0.001148s ago):
[   37.381058]  test_alloc+0x29c/0x628
[   37.381114]  test_kmalloc_aligned_oob_read+0x100/0x468
[   37.381170]  kunit_try_run_case+0x170/0x3f0
[   37.381224]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   37.381282]  kthread+0x328/0x630
[   37.381330]  ret_from_fork+0x10/0x20
[   37.381382] 
[   37.381433] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   37.381532] Tainted: [B]=BAD_PAGE, [N]=TEST
[   37.381567] Hardware name: linux,dummy-virt (DT)
[   37.381608] ==================================================================

[   40.222267] ==================================================================
[   40.222420] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   40.222420] 
[   40.222540] Out-of-bounds read at 0x00000000ce827f4a (105B right of kfence-#202):
[   40.222617]  test_kmalloc_aligned_oob_read+0x238/0x468
[   40.222685]  kunit_try_run_case+0x170/0x3f0
[   40.222745]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.222803]  kthread+0x328/0x630
[   40.222893]  ret_from_fork+0x10/0x20
[   40.222950] 
[   40.222984] kfence-#202: 0x0000000080c5426e-0x00000000a1bdc455, size=73, cache=kmalloc-96
[   40.222984] 
[   40.223055] allocated by task 323 on cpu 1 at 40.221876s (0.001173s ago):
[   40.223145]  test_alloc+0x29c/0x628
[   40.223200]  test_kmalloc_aligned_oob_read+0x100/0x468
[   40.223258]  kunit_try_run_case+0x170/0x3f0
[   40.223311]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.223372]  kthread+0x328/0x630
[   40.223422]  ret_from_fork+0x10/0x20
[   40.223475] 
[   40.223528] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   40.223628] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.223666] Hardware name: linux,dummy-virt (DT)
[   40.223708] ==================================================================

[   34.059588] ==================================================================
[   34.060205] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   34.060205] 
[   34.061251] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#172):
[   34.061909]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   34.062452]  kunit_try_run_case+0x1a5/0x480
[   34.062838]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.063285]  kthread+0x337/0x6f0
[   34.063667]  ret_from_fork+0x116/0x1d0
[   34.064095]  ret_from_fork_asm+0x1a/0x30
[   34.064541] 
[   34.064744] kfence-#172: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   34.064744] 
[   34.065749] allocated by task 341 on cpu 1 at 34.059194s (0.006548s ago):
[   34.066487]  test_alloc+0x364/0x10f0
[   34.066848]  test_kmalloc_aligned_oob_read+0x105/0x560
[   34.067253]  kunit_try_run_case+0x1a5/0x480
[   34.067747]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.068271]  kthread+0x337/0x6f0
[   34.068682]  ret_from_fork+0x116/0x1d0
[   34.069124]  ret_from_fork_asm+0x1a/0x30
[   34.069463] 
[   34.069820] CPU: 1 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT(voluntary) 
[   34.070706] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.071083] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.071976] ==================================================================

[   33.179221] ==================================================================
[   33.179715] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   33.179715] 
[   33.180669] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#166):
[   33.181488]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   33.181985]  kunit_try_run_case+0x1a5/0x480
[   33.182518]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.183042]  kthread+0x337/0x6f0
[   33.183527]  ret_from_fork+0x116/0x1d0
[   33.184008]  ret_from_fork_asm+0x1a/0x30
[   33.184584] 
[   33.184929] kfence-#166: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   33.184929] 
[   33.185772] allocated by task 341 on cpu 0 at 33.178937s (0.006828s ago):
[   33.186540]  test_alloc+0x364/0x10f0
[   33.186933]  test_kmalloc_aligned_oob_read+0x105/0x560
[   33.187751]  kunit_try_run_case+0x1a5/0x480
[   33.188342]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   33.188960]  kthread+0x337/0x6f0
[   33.189333]  ret_from_fork+0x116/0x1d0
[   33.189813]  ret_from_fork_asm+0x1a/0x30
[   33.190342] 
[   33.190675] CPU: 0 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT(voluntary) 
[   33.191654] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.192064] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   33.192929] ==================================================================

[   31.044553] ==================================================================
[   31.045232] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   31.045232] 
[   31.046096] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#159):
[   31.046759]  test_kmalloc_aligned_oob_read+0x238/0x468
[   31.047221]  kunit_try_run_case+0x170/0x3f0
[   31.047601]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.048093]  kthread+0x328/0x630
[   31.048386]  ret_from_fork+0x10/0x20
[   31.048711] 
[   31.048849] kfence-#159: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   31.048849] 
[   31.049699] allocated by task 376 on cpu 4 at 31.044524s (0.005174s ago):
[   31.050309]  test_alloc+0x29c/0x628
[   31.050625]  test_kmalloc_aligned_oob_read+0x100/0x468
[   31.051085]  kunit_try_run_case+0x170/0x3f0
[   31.051460]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.051951]  kthread+0x328/0x630
[   31.052241]  ret_from_fork+0x10/0x20
[   31.052563] 
[   31.052706] CPU: 4 UID: 0 PID: 376 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc1 #1 PREEMPT 
[   31.053584] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.053957] Hardware name: Radxa ROCK Pi 4B (DT)
[   31.054367] ==================================================================