Hay
Date
July 13, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   25.184762] ==================================================================
[   25.184846] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   25.184846] 
[   25.184940] Out-of-bounds read at 0x00000000d4beeb6e (105B right of kfence-#136):
[   25.185002]  test_kmalloc_aligned_oob_read+0x238/0x468
[   25.185053]  kunit_try_run_case+0x170/0x3f0
[   25.185099]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.185144]  kthread+0x328/0x630
[   25.185182]  ret_from_fork+0x10/0x20
[   25.185240] 
[   25.185266] kfence-#136: 0x00000000c87418e4-0x00000000d58742cb, size=73, cache=kmalloc-96
[   25.185266] 
[   25.185320] allocated by task 324 on cpu 1 at 25.184529s (0.000787s ago):
[   25.185390]  test_alloc+0x29c/0x628
[   25.185431]  test_kmalloc_aligned_oob_read+0x100/0x468
[   25.185475]  kunit_try_run_case+0x170/0x3f0
[   25.185515]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.185560]  kthread+0x328/0x630
[   25.185597]  ret_from_fork+0x10/0x20
[   25.185638] 
[   25.185684] CPU: 1 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   25.185764] Tainted: [B]=BAD_PAGE, [N]=TEST
[   25.185793] Hardware name: linux,dummy-virt (DT)
[   25.185829] ==================================================================

[   26.264025] ==================================================================
[   26.264107] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x238/0x468
[   26.264107] 
[   26.264220] Out-of-bounds read at 0x0000000062c1c227 (105B right of kfence-#139):
[   26.264281]  test_kmalloc_aligned_oob_read+0x238/0x468
[   26.264331]  kunit_try_run_case+0x170/0x3f0
[   26.264376]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.264421]  kthread+0x328/0x630
[   26.264461]  ret_from_fork+0x10/0x20
[   26.264502] 
[   26.264529] kfence-#139: 0x0000000099ba61f4-0x00000000fe866855, size=73, cache=kmalloc-96
[   26.264529] 
[   26.264583] allocated by task 324 on cpu 0 at 26.263790s (0.000789s ago):
[   26.264653]  test_alloc+0x29c/0x628
[   26.264693]  test_kmalloc_aligned_oob_read+0x100/0x468
[   26.264736]  kunit_try_run_case+0x170/0x3f0
[   26.264777]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.264821]  kthread+0x328/0x630
[   26.264857]  ret_from_fork+0x10/0x20
[   26.264897] 
[   26.264943] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   26.265023] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.265052] Hardware name: linux,dummy-virt (DT)
[   26.265087] ==================================================================

[   24.509002] ==================================================================
[   24.509394] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   24.509394] 
[   24.509861] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#136):
[   24.510279]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   24.510510]  kunit_try_run_case+0x1a5/0x480
[   24.510663]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.510888]  kthread+0x337/0x6f0
[   24.511088]  ret_from_fork+0x116/0x1d0
[   24.511304]  ret_from_fork_asm+0x1a/0x30
[   24.511536] 
[   24.511649] kfence-#136: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   24.511649] 
[   24.511950] allocated by task 341 on cpu 1 at 24.508787s (0.003160s ago):
[   24.512286]  test_alloc+0x364/0x10f0
[   24.512583]  test_kmalloc_aligned_oob_read+0x105/0x560
[   24.512823]  kunit_try_run_case+0x1a5/0x480
[   24.513025]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.513304]  kthread+0x337/0x6f0
[   24.513478]  ret_from_fork+0x116/0x1d0
[   24.513683]  ret_from_fork_asm+0x1a/0x30
[   24.513880] 
[   24.513998] CPU: 1 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   24.514401] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.514651] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.515012] ==================================================================

[   23.873180] ==================================================================
[   23.873568] BUG: KFENCE: out-of-bounds read in test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.873568] 
[   23.874084] Out-of-bounds read at 0x(____ptrval____) (105B right of kfence-#126):
[   23.874423]  test_kmalloc_aligned_oob_read+0x27e/0x560
[   23.874692]  kunit_try_run_case+0x1a5/0x480
[   23.875084]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.875352]  kthread+0x337/0x6f0
[   23.875528]  ret_from_fork+0x116/0x1d0
[   23.875695]  ret_from_fork_asm+0x1a/0x30
[   23.875881] 
[   23.875955] kfence-#126: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   23.875955] 
[   23.876484] allocated by task 342 on cpu 0 at 23.872944s (0.003538s ago):
[   23.876790]  test_alloc+0x364/0x10f0
[   23.876979]  test_kmalloc_aligned_oob_read+0x105/0x560
[   23.877314]  kunit_try_run_case+0x1a5/0x480
[   23.877482]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   23.877658]  kthread+0x337/0x6f0
[   23.877834]  ret_from_fork+0x116/0x1d0
[   23.878061]  ret_from_fork_asm+0x1a/0x30
[   23.878287] 
[   23.878423] CPU: 0 UID: 0 PID: 342 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   23.878886] Tainted: [B]=BAD_PAGE, [N]=TEST
[   23.879065] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   23.879536] ==================================================================