Hay
Date
July 8, 2025, 11:10 a.m.

Environment
qemu-arm64
qemu-x86_64

[   41.689136] ==================================================================
[   41.689245] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   41.689245] 
[   41.689344] Out-of-bounds read at 0x00000000def14830 (105B right of kfence-#194):
[   41.689407]  test_kmalloc_aligned_oob_read+0x238/0x468
[   41.689459]  kunit_try_run_case+0x170/0x3f0
[   41.689506]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.689552]  kthread+0x328/0x630
[   41.689591]  ret_from_fork+0x10/0x20
[   41.689632] 
[   41.689658] kfence-#194: 0x000000001b9e6b4b-0x0000000018025a8f, size=73, cache=kmalloc-96
[   41.689658] 
[   41.689712] allocated by task 354 on cpu 0 at 41.688905s (0.000804s ago):
[   41.689784]  test_alloc+0x29c/0x628
[   41.689825]  test_kmalloc_aligned_oob_read+0x100/0x468
[   41.689868]  kunit_try_run_case+0x170/0x3f0
[   41.689909]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   41.689955]  kthread+0x328/0x630
[   41.689992]  ret_from_fork+0x10/0x20
[   41.690030] 
[   41.690078] CPU: 0 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT 
[   41.690159] Tainted: [B]=BAD_PAGE, [N]=TEST
[   41.690189] Hardware name: linux,dummy-virt (DT)
[   41.690236] ==================================================================

[   35.720981] ==================================================================
[   35.721392] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   35.721392] 
[   35.721770] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#158):
[   35.722179]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   35.722453]  kunit_try_run_case+0x1a5/0x480
[   35.722600]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.722832]  kthread+0x337/0x6f0
[   35.723031]  ret_from_fork+0x116/0x1d0
[   35.723244]  ret_from_fork_asm+0x1a/0x30
[   35.723468] 
[   35.723565] kfence-#158: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   35.723565] 
[   35.724008] allocated by task 371 on cpu 1 at 35.720660s (0.003346s ago):
[   35.724288]  test_alloc+0x364/0x10f0
[   35.724505]  test_kmalloc_aligned_oob_read+0x105/0x560
[   35.724768]  kunit_try_run_case+0x1a5/0x480
[   35.724988]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   35.725231]  kthread+0x337/0x6f0
[   35.725363]  ret_from_fork+0x116/0x1d0
[   35.725567]  ret_from_fork_asm+0x1a/0x30
[   35.725765] 
[   35.725903] CPU: 1 UID: 0 PID: 371 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) 
[   35.726421] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.726570] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   35.726858] ==================================================================