Hay
Date
April 20, 2025, 11:09 p.m.

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

[   35.940431] ==================================================================
[   35.940497] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   35.940497] 
[   35.940595] Out-of-bounds read at 0x000000005897159a (105B right of kfence-#181):
[   35.940666]  test_kmalloc_aligned_oob_read+0x238/0x468
[   35.940725]  kunit_try_run_case+0x170/0x3f0
[   35.940783]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.940841]  kthread+0x328/0x630
[   35.940895]  ret_from_fork+0x10/0x20
[   35.940979] 
[   35.941012] kfence-#181: 0x00000000eea55383-0x000000008a407297, size=73, cache=kmalloc-96
[   35.941012] 
[   35.941079] allocated by task 325 on cpu 1 at 35.940115s (0.000959s ago):
[   35.941160]  test_alloc+0x29c/0x628
[   35.941212]  test_kmalloc_aligned_oob_read+0x100/0x468
[   35.941265]  kunit_try_run_case+0x170/0x3f0
[   35.941316]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.941373]  kthread+0x328/0x630
[   35.941423]  ret_from_fork+0x10/0x20
[   35.941476] 
[   35.941528] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   35.941626] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.941662] Hardware name: linux,dummy-virt (DT)
[   35.941704] ==================================================================

[   21.680942] ==================================================================
[   21.681398] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   21.681398] 
[   21.681747] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#115):
[   21.682098]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   21.682434]  kunit_try_run_case+0x1a5/0x480
[   21.682616]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.682789]  kthread+0x337/0x6f0
[   21.682954]  ret_from_fork+0x41/0x80
[   21.683162]  ret_from_fork_asm+0x1a/0x30
[   21.683551] 
[   21.683831] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   21.683831] 
[   21.684526] allocated by task 344 on cpu 0 at 21.680748s (0.003775s ago):
[   21.684853]  test_alloc+0x364/0x10f0
[   21.685341]  test_kmalloc_aligned_oob_read+0x105/0x560
[   21.685689]  kunit_try_run_case+0x1a5/0x480
[   21.685929]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   21.686356]  kthread+0x337/0x6f0
[   21.686549]  ret_from_fork+0x41/0x80
[   21.686857]  ret_from_fork_asm+0x1a/0x30
[   21.687066] 
[   21.687332] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   21.687796] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.687986] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   21.688539] ==================================================================

[   32.581955] ==================================================================
[   32.582633] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   32.582633] 
[   32.583495] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#148):
[   32.584160]  test_kmalloc_aligned_oob_read+0x238/0x468
[   32.584621]  kunit_try_run_case+0x170/0x3f0
[   32.585002]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.585494]  kthread+0x328/0x630
[   32.585792]  ret_from_fork+0x10/0x20
[   32.586117] 
[   32.586256] kfence-#148: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   32.586256] 
[   32.587106] allocated by task 377 on cpu 4 at 32.581925s (0.005180s ago):
[   32.587714]  test_alloc+0x29c/0x628
[   32.588028]  test_kmalloc_aligned_oob_read+0x100/0x468
[   32.588486]  kunit_try_run_case+0x170/0x3f0
[   32.588862]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.589352]  kthread+0x328/0x630
[   32.589645]  ret_from_fork+0x10/0x20
[   32.589968] 
[   32.590111] CPU: 4 UID: 0 PID: 377 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   32.590989] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.591362] Hardware name: Radxa ROCK Pi 4B (DT)
[   32.591773] ==================================================================