Hay
Date
July 18, 2025, 11:11 p.m.

Environment
qemu-arm64
qemu-x86_64

[   24.893947] ==================================================================
[   24.894051] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   24.894051] 
[   24.894156] Out-of-bounds read at 0x000000000cedf711 (105B right of kfence-#135):
[   24.894219]  test_kmalloc_aligned_oob_read+0x238/0x468
[   24.894271]  kunit_try_run_case+0x170/0x3f0
[   24.894319]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.894384]  kthread+0x328/0x630
[   24.894425]  ret_from_fork+0x10/0x20
[   24.894468] 
[   24.894495] kfence-#135: 0x000000005cc5bfc5-0x00000000dc918404, size=73, cache=kmalloc-96
[   24.894495] 
[   24.894551] allocated by task 323 on cpu 0 at 24.893730s (0.000816s ago):
[   24.894624]  test_alloc+0x29c/0x628
[   24.894666]  test_kmalloc_aligned_oob_read+0x100/0x468
[   24.894712]  kunit_try_run_case+0x170/0x3f0
[   24.894754]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.894799]  kthread+0x328/0x630
[   24.894836]  ret_from_fork+0x10/0x20
[   24.894878] 
[   24.894927] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   24.895009] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.895039] Hardware name: linux,dummy-virt (DT)
[   24.895078] ==================================================================

[   23.670546] ==================================================================
[   23.670958] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.670958] 
[   23.671520] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#129):
[   23.672348]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.672608]  kunit_try_run_case+0x1a5/0x480
[   23.672964]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.673426]  kthread+0x337/0x6f0
[   23.673575]  ret_from_fork+0x116/0x1d0
[   23.673939]  ret_from_fork_asm+0x1a/0x30
[   23.674154] 
[   23.674250] kfence-#129: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   23.674250] 
[   23.674919] allocated by task 342 on cpu 1 at 23.670311s (0.004605s ago):
[   23.675533]  test_alloc+0x364/0x10f0
[   23.675809]  test_kmalloc_aligned_oob_read+0x105/0x560
[   23.676135]  kunit_try_run_case+0x1a5/0x480
[   23.676355]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.676796]  kthread+0x337/0x6f0
[   23.677079]  ret_from_fork+0x116/0x1d0
[   23.677268]  ret_from_fork_asm+0x1a/0x30
[   23.677467] 
[   23.677867] CPU: 1 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   23.678435] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.678776] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.679171] ==================================================================