Hay
Date
May 12, 2025, 6:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   28.927755] ==================================================================
[   28.928117] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   28.928117] 
[   28.928436] Out-of-bounds read at 0x00000000623ad710 (105B right of kfence-#151):
[   28.929016]  test_kmalloc_aligned_oob_read+0x238/0x468
[   28.929570]  kunit_try_run_case+0x170/0x3f0
[   28.929880]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.930301]  kthread+0x318/0x620
[   28.930479]  ret_from_fork+0x10/0x20
[   28.931018] 
[   28.931150] kfence-#151: 0x00000000f1b1de98-0x000000006f6ebf09, size=73, cache=kmalloc-96
[   28.931150] 
[   28.931494] allocated by task 312 on cpu 0 at 28.927433s (0.004056s ago):
[   28.931874]  test_alloc+0x29c/0x628
[   28.932078]  test_kmalloc_aligned_oob_read+0x100/0x468
[   28.932374]  kunit_try_run_case+0x170/0x3f0
[   28.932617]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.932953]  kthread+0x318/0x620
[   28.933171]  ret_from_fork+0x10/0x20
[   28.933498] 
[   28.933662] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   28.934255] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.934557] Hardware name: linux,dummy-virt (DT)
[   28.934793] ==================================================================

[   25.061598] ==================================================================
[   25.062050] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27f/0x570
[   25.062050] 
[   25.062437] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#137):
[   25.062788]  test_kmalloc_aligned_oob_read+0x27f/0x570
[   25.063035]  kunit_try_run_case+0x1a6/0x480
[   25.063232]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.063454]  kthread+0x324/0x6e0
[   25.063624]  ret_from_fork+0x41/0x80
[   25.063806]  ret_from_fork_asm+0x1a/0x30
[   25.064698] 
[   25.064889] kfence-#137: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   25.064889] 
[   25.065379] allocated by task 331 on cpu 1 at 25.061367s (0.004010s ago):
[   25.065861]  test_alloc+0x365/0x10f0
[   25.066137]  test_kmalloc_aligned_oob_read+0x106/0x570
[   25.066451]  kunit_try_run_case+0x1a6/0x480
[   25.066632]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   25.067010]  kthread+0x324/0x6e0
[   25.067209]  ret_from_fork+0x41/0x80
[   25.067393]  ret_from_fork_asm+0x1a/0x30
[   25.067579] 
[   25.067682] CPU: 1 UID: 0 PID: 331 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   25.068345] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.068605] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   25.069132] ==================================================================