Hay
Date
June 7, 2025, 10:40 a.m.

Environment
qemu-arm64
qemu-x86_64

[   33.728278] ==================================================================
[   33.728863] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   33.728863] 
[   33.729694] Out-of-bounds read at 0x00000000417de951 (105B right of kfence-#167):
[   33.730409]  test_kmalloc_aligned_oob_read+0x238/0x468
[   33.731083]  kunit_try_run_case+0x170/0x3f0
[   33.731661]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.732238]  kthread+0x24c/0x2d0
[   33.732878]  ret_from_fork+0x10/0x20
[   33.733481] 
[   33.733765] kfence-#167: 0x000000003010bc0a-0x00000000deb59836, size=73, cache=kmalloc-96
[   33.733765] 
[   33.734785] allocated by task 303 on cpu 0 at 33.727955s (0.006818s ago):
[   33.735597]  test_alloc+0x29c/0x628
[   33.736153]  test_kmalloc_aligned_oob_read+0x100/0x468
[   33.736817]  kunit_try_run_case+0x170/0x3f0
[   33.737369]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.738032]  kthread+0x24c/0x2d0
[   33.738518]  ret_from_fork+0x10/0x20
[   33.739000] 
[   33.739405] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   33.740210] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.740722] Hardware name: linux,dummy-virt (DT)
[   33.741345] ==================================================================

[   32.127371] ==================================================================
[   32.127875] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27f/0x570
[   32.127875] 
[   32.128536] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#158):
[   32.129810]  test_kmalloc_aligned_oob_read+0x27f/0x570
[   32.130868]  kunit_try_run_case+0x1a6/0x480
[   32.131404]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.131989]  kthread+0x257/0x310
[   32.132391]  ret_from_fork+0x41/0x80
[   32.132721]  ret_from_fork_asm+0x1a/0x30
[   32.133144] 
[   32.133394] kfence-#158: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   32.133394] 
[   32.134196] allocated by task 320 on cpu 1 at 32.126982s (0.007207s ago):
[   32.134692]  test_alloc+0x365/0x10f0
[   32.135483]  test_kmalloc_aligned_oob_read+0x106/0x570
[   32.136161]  kunit_try_run_case+0x1a6/0x480
[   32.136616]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.137165]  kthread+0x257/0x310
[   32.137602]  ret_from_fork+0x41/0x80
[   32.137987]  ret_from_fork_asm+0x1a/0x30
[   32.138478] 
[   32.138737] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N 6.12.33-rc1 #1
[   32.139590] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.140046] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.140778] ==================================================================