Hay
Date
May 15, 2025, 10:38 a.m.

Environment
qemu-arm64
qemu-x86_64

[   21.167347] ==================================================================
[   21.167557] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   21.167557] 
[   21.167829] Out-of-bounds read at 0x000000000c6d2d65 (1B left of kfence-#80):
[   21.168001]  test_out_of_bounds_read+0x114/0x3e0
[   21.168058]  kunit_try_run_case+0x170/0x3f0
[   21.168126]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.168190]  kthread+0x328/0x630
[   21.168299]  ret_from_fork+0x10/0x20
[   21.168390] 
[   21.168499] kfence-#80: 0x00000000b3877aec-0x00000000b4727e9d, size=32, cache=kmalloc-32
[   21.168499] 
[   21.168723] allocated by task 287 on cpu 0 at 21.166405s (0.002300s ago):
[   21.169059]  test_alloc+0x29c/0x628
[   21.169166]  test_out_of_bounds_read+0xdc/0x3e0
[   21.169222]  kunit_try_run_case+0x170/0x3f0
[   21.169417]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.169529]  kthread+0x328/0x630
[   21.169568]  ret_from_fork+0x10/0x20
[   21.169625] 
[   21.169677] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   21.169773] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.169803] Hardware name: linux,dummy-virt (DT)
[   21.169837] ==================================================================
[   21.491279] ==================================================================
[   21.491354] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   21.491354] 
[   21.491462] Out-of-bounds read at 0x00000000e80a7474 (1B left of kfence-#83):
[   21.491667]  test_out_of_bounds_read+0x114/0x3e0
[   21.491717]  kunit_try_run_case+0x170/0x3f0
[   21.491757]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.491799]  kthread+0x328/0x630
[   21.491839]  ret_from_fork+0x10/0x20
[   21.491879] 
[   21.491903] kfence-#83: 0x000000007eafdb5d-0x000000008f45ec79, size=32, cache=test
[   21.491903] 
[   21.491951] allocated by task 289 on cpu 0 at 21.491200s (0.000747s ago):
[   21.492065]  test_alloc+0x230/0x628
[   21.492107]  test_out_of_bounds_read+0xdc/0x3e0
[   21.492149]  kunit_try_run_case+0x170/0x3f0
[   21.492212]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.492255]  kthread+0x328/0x630
[   21.492292]  ret_from_fork+0x10/0x20
[   21.492331] 
[   21.492375] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   21.492690] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.492856] Hardware name: linux,dummy-virt (DT)
[   21.493012] ==================================================================
[   21.383149] ==================================================================
[   21.383270] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   21.383270] 
[   21.383480] Out-of-bounds read at 0x000000008fa86d37 (32B right of kfence-#82):
[   21.383576]  test_out_of_bounds_read+0x1c8/0x3e0
[   21.383637]  kunit_try_run_case+0x170/0x3f0
[   21.383681]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.383739]  kthread+0x328/0x630
[   21.383895]  ret_from_fork+0x10/0x20
[   21.384035] 
[   21.384079] kfence-#82: 0x00000000277bebb5-0x00000000bf3ac5d1, size=32, cache=kmalloc-32
[   21.384079] 
[   21.384202] allocated by task 287 on cpu 0 at 21.382715s (0.001483s ago):
[   21.384273]  test_alloc+0x29c/0x628
[   21.384313]  test_out_of_bounds_read+0x198/0x3e0
[   21.384353]  kunit_try_run_case+0x170/0x3f0
[   21.384533]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.384576]  kthread+0x328/0x630
[   21.384614]  ret_from_fork+0x10/0x20
[   21.384702] 
[   21.384818] CPU: 0 UID: 0 PID: 287 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   21.384902] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.384931] Hardware name: linux,dummy-virt (DT)
[   21.384980] ==================================================================
[   21.600490] ==================================================================
[   21.600577] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   21.600577] 
[   21.600777] Out-of-bounds read at 0x00000000990e02c1 (32B right of kfence-#84):
[   21.600942]  test_out_of_bounds_read+0x1c8/0x3e0
[   21.600990]  kunit_try_run_case+0x170/0x3f0
[   21.601040]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.601175]  kthread+0x328/0x630
[   21.601257]  ret_from_fork+0x10/0x20
[   21.601297] 
[   21.601616] kfence-#84: 0x00000000988e48a1-0x000000002ddd932b, size=32, cache=test
[   21.601616] 
[   21.603760] allocated by task 289 on cpu 0 at 21.600414s (0.003339s ago):
[   21.603971]  test_alloc+0x230/0x628
[   21.604096]  test_out_of_bounds_read+0x198/0x3e0
[   21.604229]  kunit_try_run_case+0x170/0x3f0
[   21.604272]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.604313]  kthread+0x328/0x630
[   21.604362]  ret_from_fork+0x10/0x20
[   21.604402] 
[   21.604448] CPU: 0 UID: 0 PID: 289 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT 
[   21.604531] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.604601] Hardware name: linux,dummy-virt (DT)
[   21.604635] ==================================================================


[   18.835102] ==================================================================
[   18.835647] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   18.835647] 
[   18.835889] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#82):
[   18.836232]  test_out_of_bounds_read+0x216/0x4e0
[   18.836464]  kunit_try_run_case+0x1a5/0x480
[   18.836637]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.836817]  kthread+0x337/0x6f0
[   18.836917]  ret_from_fork+0x116/0x1d0
[   18.837113]  ret_from_fork_asm+0x1a/0x30
[   18.837403] 
[   18.837512] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.837512] 
[   18.837895] allocated by task 307 on cpu 1 at 18.835033s (0.002859s ago):
[   18.838281]  test_alloc+0x2a6/0x10f0
[   18.838576]  test_out_of_bounds_read+0x1e2/0x4e0
[   18.838860]  kunit_try_run_case+0x1a5/0x480
[   18.839089]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.839339]  kthread+0x337/0x6f0
[   18.839492]  ret_from_fork+0x116/0x1d0
[   18.839664]  ret_from_fork_asm+0x1a/0x30
[   18.839920] 
[   18.840083] CPU: 1 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   18.840479] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.840739] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.841048] ==================================================================
[   18.419369] ==================================================================
[   18.419691] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   18.419691] 
[   18.419904] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#78):
[   18.420046]  test_out_of_bounds_read+0x126/0x4e0
[   18.420168]  kunit_try_run_case+0x1a5/0x480
[   18.420317]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.420426]  kthread+0x337/0x6f0
[   18.420508]  ret_from_fork+0x116/0x1d0
[   18.420684]  ret_from_fork_asm+0x1a/0x30
[   18.420902] 
[   18.421017] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.421017] 
[   18.421299] allocated by task 307 on cpu 1 at 18.419180s (0.002117s ago):
[   18.421465]  test_alloc+0x2a6/0x10f0
[   18.421552]  test_out_of_bounds_read+0xed/0x4e0
[   18.421801]  kunit_try_run_case+0x1a5/0x480
[   18.422043]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.422292]  kthread+0x337/0x6f0
[   18.422448]  ret_from_fork+0x116/0x1d0
[   18.422539]  ret_from_fork_asm+0x1a/0x30
[   18.422633] 
[   18.422718] CPU: 1 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   18.423025] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.423258] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.423682] ==================================================================
[   18.315144] ==================================================================
[   18.315480] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   18.315480] 
[   18.315732] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#77):
[   18.315877]  test_out_of_bounds_read+0x216/0x4e0
[   18.316131]  kunit_try_run_case+0x1a5/0x480
[   18.316378]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.316657]  kthread+0x337/0x6f0
[   18.316756]  ret_from_fork+0x116/0x1d0
[   18.316849]  ret_from_fork_asm+0x1a/0x30
[   18.316968] 
[   18.317089] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.317089] 
[   18.317479] allocated by task 305 on cpu 0 at 18.315003s (0.002474s ago):
[   18.317629]  test_alloc+0x364/0x10f0
[   18.317719]  test_out_of_bounds_read+0x1e2/0x4e0
[   18.317822]  kunit_try_run_case+0x1a5/0x480
[   18.318023]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.318294]  kthread+0x337/0x6f0
[   18.318486]  ret_from_fork+0x116/0x1d0
[   18.318687]  ret_from_fork_asm+0x1a/0x30
[   18.318901] 
[   18.319029] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   18.319494] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.319584] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.319732] ==================================================================
[   18.212444] ==================================================================
[   18.212830] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   18.212830] 
[   18.213103] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#76):
[   18.213630]  test_out_of_bounds_read+0x126/0x4e0
[   18.213900]  kunit_try_run_case+0x1a5/0x480
[   18.214138]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.214261]  kthread+0x337/0x6f0
[   18.214468]  ret_from_fork+0x116/0x1d0
[   18.214701]  ret_from_fork_asm+0x1a/0x30
[   18.214898] 
[   18.215119] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.215119] 
[   18.215699] allocated by task 305 on cpu 0 at 18.210961s (0.004678s ago):
[   18.216234]  test_alloc+0x364/0x10f0
[   18.216475]  test_out_of_bounds_read+0xed/0x4e0
[   18.216624]  kunit_try_run_case+0x1a5/0x480
[   18.216809]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.216922]  kthread+0x337/0x6f0
[   18.217006]  ret_from_fork+0x116/0x1d0
[   18.217092]  ret_from_fork_asm+0x1a/0x30
[   18.217240] 
[   18.217368] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc6-next-20250515 #1 PREEMPT(voluntary) 
[   18.217957] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.218170] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.218541] ==================================================================