Hay
Date
June 24, 2025, 11:37 a.m.

Environment
dragonboard-845c
qemu-arm64
qemu-x86_64

[   88.271217] ==================================================================
[   88.278566] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   88.278566] 
[   88.288273] Out-of-bounds read at 0x00000000af97c6b6 (105B right of kfence-#36):
[   88.295769]  test_kmalloc_aligned_oob_read+0x238/0x468
[   88.300988]  kunit_try_run_case+0x170/0x3f0
[   88.305246]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   88.310817]  kthread+0x328/0x630
[   88.314105]  ret_from_fork+0x10/0x20
[   88.317744] 
[   88.319271] kfence-#36: 0x000000000f436cf1-0x0000000049478458, size=73, cache=kmalloc-96
[   88.319271] 
[   88.328955] allocated by task 421 on cpu 7 at 88.271191s (0.057762s ago):
[   88.335849]  test_alloc+0x29c/0x628
[   88.339399]  test_kmalloc_aligned_oob_read+0x100/0x468
[   88.344611]  kunit_try_run_case+0x170/0x3f0
[   88.348864]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   88.354432]  kthread+0x328/0x630
[   88.357717]  ret_from_fork+0x10/0x20
[   88.361352] 
[   88.362882] CPU: 7 UID: 0 PID: 421 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250624 #1 PREEMPT 
[   88.374149] Tainted: [B]=BAD_PAGE, [N]=TEST
[   88.378397] Hardware name: Thundercomm Dragonboard 845c (DT)
[   88.384134] ==================================================================

[   46.700333] ==================================================================
[   46.700485] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   46.700485] 
[   46.700604] Out-of-bounds read at 0x0000000074ecdac6 (105B right of kfence-#195):
[   46.700679]  test_kmalloc_aligned_oob_read+0x238/0x468
[   46.700742]  kunit_try_run_case+0x170/0x3f0
[   46.700798]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.700855]  kthread+0x328/0x630
[   46.700935]  ret_from_fork+0x10/0x20
[   46.700988] 
[   46.701020] kfence-#195: 0x0000000079e7aaa8-0x00000000dd834fc3, size=73, cache=kmalloc-96
[   46.701020] 
[   46.701085] allocated by task 334 on cpu 0 at 46.699941s (0.001140s ago):
[   46.701170]  test_alloc+0x29c/0x628
[   46.701222]  test_kmalloc_aligned_oob_read+0x100/0x468
[   46.701277]  kunit_try_run_case+0x170/0x3f0
[   46.701329]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   46.701383]  kthread+0x328/0x630
[   46.701426]  ret_from_fork+0x10/0x20
[   46.701474] 
[   46.701528] CPU: 0 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250624 #1 PREEMPT 
[   46.701628] Tainted: [B]=BAD_PAGE, [N]=TEST
[   46.701665] Hardware name: linux,dummy-virt (DT)
[   46.701705] ==================================================================

[   41.653005] ==================================================================
[   41.653554] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   41.653554] 
[   41.654213] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#158):
[   41.654797]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   41.655103]  kunit_try_run_case+0x1a5/0x480
[   41.655513]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   41.656107]  kthread+0x337/0x6f0
[   41.656471]  ret_from_fork+0x116/0x1d0
[   41.656828]  ret_from_fork_asm+0x1a/0x30
[   41.657125] 
[   41.657330] kfence-#158: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   41.657330] 
[   41.658210] allocated by task 353 on cpu 1 at 41.652674s (0.005529s ago):
[   41.658669]  test_alloc+0x364/0x10f0
[   41.659083]  test_kmalloc_aligned_oob_read+0x105/0x560
[   41.659592]  kunit_try_run_case+0x1a5/0x480
[   41.659926]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   41.660239]  kthread+0x337/0x6f0
[   41.660608]  ret_from_fork+0x116/0x1d0
[   41.661104]  ret_from_fork_asm+0x1a/0x30
[   41.661524] 
[   41.661831] CPU: 1 UID: 0 PID: 353 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250624 #1 PREEMPT(voluntary) 
[   41.662628] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.663035] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   41.663592] ==================================================================