Hay
Date
July 20, 2025, 11:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   27.386475] ==================================================================
[   27.386569] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   27.386569] 
[   27.386678] Out-of-bounds read at 0x0000000046bc4dcb (105B right of kfence-#149):
[   27.386739]  test_kmalloc_aligned_oob_read+0x238/0x468
[   27.386789]  kunit_try_run_case+0x170/0x3f0
[   27.386834]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.386884]  kthread+0x328/0x630
[   27.386940]  ret_from_fork+0x10/0x20
[   27.386982] 
[   27.387007] kfence-#149: 0x000000000b554318-0x00000000abf0ff8d, size=73, cache=kmalloc-96
[   27.387007] 
[   27.387061] allocated by task 323 on cpu 0 at 27.386235s (0.000822s ago):
[   27.387131]  test_alloc+0x29c/0x628
[   27.387172]  test_kmalloc_aligned_oob_read+0x100/0x468
[   27.387215]  kunit_try_run_case+0x170/0x3f0
[   27.387256]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.387301]  kthread+0x328/0x630
[   27.387337]  ret_from_fork+0x10/0x20
[   27.387377] 
[   27.387424] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   27.387505] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.387535] Hardware name: linux,dummy-virt (DT)
[   27.387570] ==================================================================

[   26.865989] ==================================================================
[   26.866090] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   26.866090] 
[   26.866190] Out-of-bounds read at 0x000000009c27454f (105B right of kfence-#144):
[   26.866251]  test_kmalloc_aligned_oob_read+0x238/0x468
[   26.866301]  kunit_try_run_case+0x170/0x3f0
[   26.866349]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.866394]  kthread+0x328/0x630
[   26.866435]  ret_from_fork+0x10/0x20
[   26.866476] 
[   26.866501] kfence-#144: 0x00000000b782924f-0x00000000d4a379ca, size=73, cache=kmalloc-96
[   26.866501] 
[   26.866557] allocated by task 323 on cpu 1 at 26.865745s (0.000808s ago):
[   26.866641]  test_alloc+0x29c/0x628
[   26.866683]  test_kmalloc_aligned_oob_read+0x100/0x468
[   26.866728]  kunit_try_run_case+0x170/0x3f0
[   26.866769]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.866814]  kthread+0x328/0x630
[   26.866849]  ret_from_fork+0x10/0x20
[   26.866890] 
[   26.866940] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT 
[   26.867021] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.867052] Hardware name: linux,dummy-virt (DT)
[   26.867087] ==================================================================

[   25.163539] ==================================================================
[   25.163953] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   25.163953] 
[   25.164461] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#140):
[   25.164833]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   25.165088]  kunit_try_run_case+0x1a5/0x480
[   25.165321]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.165581]  kthread+0x337/0x6f0
[   25.165770]  ret_from_fork+0x116/0x1d0
[   25.166006]  ret_from_fork_asm+0x1a/0x30
[   25.166183] 
[   25.166284] kfence-#140: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   25.166284] 
[   25.166705] allocated by task 341 on cpu 0 at 25.163313s (0.003390s ago):
[   25.167154]  test_alloc+0x364/0x10f0
[   25.167333]  test_kmalloc_aligned_oob_read+0x105/0x560
[   25.167551]  kunit_try_run_case+0x1a5/0x480
[   25.167752]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.168049]  kthread+0x337/0x6f0
[   25.168171]  ret_from_fork+0x116/0x1d0
[   25.168302]  ret_from_fork_asm+0x1a/0x30
[   25.168515] 
[   25.168668] CPU: 0 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   25.169301] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.169497] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.169967] ==================================================================

[   23.089435] ==================================================================
[   23.089834] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.089834] 
[   23.090273] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#120):
[   23.090662]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.090843]  kunit_try_run_case+0x1a5/0x480
[   23.091062]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.091365]  kthread+0x337/0x6f0
[   23.091521]  ret_from_fork+0x116/0x1d0
[   23.091678]  ret_from_fork_asm+0x1a/0x30
[   23.091906] 
[   23.091995] kfence-#120: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   23.091995] 
[   23.092367] allocated by task 341 on cpu 0 at 23.089188s (0.003176s ago):
[   23.092829]  test_alloc+0x364/0x10f0
[   23.092997]  test_kmalloc_aligned_oob_read+0x105/0x560
[   23.093187]  kunit_try_run_case+0x1a5/0x480
[   23.093561]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.093797]  kthread+0x337/0x6f0
[   23.093950]  ret_from_fork+0x116/0x1d0
[   23.094084]  ret_from_fork_asm+0x1a/0x30
[   23.094237] 
[   23.094363] CPU: 0 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc7 #1 PREEMPT(voluntary) 
[   23.094856] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.095065] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.095416] ==================================================================