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

Environment
qemu-arm64
qemu-x86_64

[   32.964252] ==================================================================
[   32.964362] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   32.964362] 
[   32.964494] Out-of-bounds read at 0x00000000b8f03441 (1B left of kfence-#116):
[   32.964714]  test_out_of_bounds_read+0x114/0x3e0
[   32.964776]  kunit_try_run_case+0x170/0x3f0
[   32.964831]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.964879]  kthread+0x328/0x630
[   32.968251]  ret_from_fork+0x10/0x20
[   32.968322] 
[   32.968519] kfence-#116: 0x00000000cd8ff812-0x00000000dcec5bf9, size=32, cache=kmalloc-32
[   32.968519] 
[   32.968697] allocated by task 320 on cpu 1 at 32.963332s (0.005309s ago):
[   32.969074]  test_alloc+0x29c/0x628
[   32.969139]  test_out_of_bounds_read+0xdc/0x3e0
[   32.969185]  kunit_try_run_case+0x170/0x3f0
[   32.969228]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.969275]  kthread+0x328/0x630
[   32.969312]  ret_from_fork+0x10/0x20
[   32.969394] 
[   32.969468] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT 
[   32.969554] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.969585] Hardware name: linux,dummy-virt (DT)
[   32.969627] ==================================================================
[   33.175389] ==================================================================
[   33.175471] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x114/0x3e0
[   33.175471] 
[   33.175792] Out-of-bounds read at 0x00000000d097a2bf (1B left of kfence-#118):
[   33.175885]  test_out_of_bounds_read+0x114/0x3e0
[   33.175955]  kunit_try_run_case+0x170/0x3f0
[   33.176001]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.176047]  kthread+0x328/0x630
[   33.176096]  ret_from_fork+0x10/0x20
[   33.176145] 
[   33.176181] kfence-#118: 0x00000000595902e0-0x000000000b8af24e, size=32, cache=test
[   33.176181] 
[   33.176236] allocated by task 322 on cpu 1 at 33.175035s (0.001197s ago):
[   33.176362]  test_alloc+0x230/0x628
[   33.176408]  test_out_of_bounds_read+0xdc/0x3e0
[   33.176450]  kunit_try_run_case+0x170/0x3f0
[   33.176490]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.176535]  kthread+0x328/0x630
[   33.176572]  ret_from_fork+0x10/0x20
[   33.176614] 
[   33.176670] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT 
[   33.176753] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.176787] Hardware name: linux,dummy-virt (DT)
[   33.176833] ==================================================================
[   33.387440] ==================================================================
[   33.387553] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   33.387553] 
[   33.387642] Out-of-bounds read at 0x0000000058b271a5 (32B right of kfence-#120):
[   33.388067]  test_out_of_bounds_read+0x1c8/0x3e0
[   33.388189]  kunit_try_run_case+0x170/0x3f0
[   33.388275]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.388457]  kthread+0x328/0x630
[   33.388533]  ret_from_fork+0x10/0x20
[   33.388591] 
[   33.388618] kfence-#120: 0x0000000087aa9d75-0x000000007a87270c, size=32, cache=test
[   33.388618] 
[   33.388925] allocated by task 322 on cpu 1 at 33.387231s (0.001685s ago):
[   33.389016]  test_alloc+0x230/0x628
[   33.389110]  test_out_of_bounds_read+0x198/0x3e0
[   33.389205]  kunit_try_run_case+0x170/0x3f0
[   33.389252]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.389819]  kthread+0x328/0x630
[   33.390002]  ret_from_fork+0x10/0x20
[   33.390087] 
[   33.390242] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT 
[   33.390454] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.390696] Hardware name: linux,dummy-virt (DT)
[   33.391027] ==================================================================
[   33.067600] ==================================================================
[   33.067712] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x1c8/0x3e0
[   33.067712] 
[   33.067965] Out-of-bounds read at 0x0000000066b93cd6 (32B right of kfence-#117):
[   33.068036]  test_out_of_bounds_read+0x1c8/0x3e0
[   33.068450]  kunit_try_run_case+0x170/0x3f0
[   33.068527]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.068859]  kthread+0x328/0x630
[   33.069129]  ret_from_fork+0x10/0x20
[   33.069312] 
[   33.069365] kfence-#117: 0x000000002793fc07-0x0000000092d3b27f, size=32, cache=kmalloc-32
[   33.069365] 
[   33.069578] allocated by task 320 on cpu 1 at 33.066712s (0.002789s ago):
[   33.069689]  test_alloc+0x29c/0x628
[   33.070029]  test_out_of_bounds_read+0x198/0x3e0
[   33.070227]  kunit_try_run_case+0x170/0x3f0
[   33.070341]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   33.070419]  kthread+0x328/0x630
[   33.070458]  ret_from_fork+0x10/0x20
[   33.070641] 
[   33.070874] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT 
[   33.071280] Tainted: [B]=BAD_PAGE, [N]=TEST
[   33.071491] Hardware name: linux,dummy-virt (DT)
[   33.071644] ==================================================================

[   29.725779] ==================================================================
[   29.726230] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   29.726230] 
[   29.726746] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#90):
[   29.727524]  test_out_of_bounds_read+0x216/0x4e0
[   29.727762]  kunit_try_run_case+0x1a5/0x480
[   29.728031]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.728257]  kthread+0x337/0x6f0
[   29.728453]  ret_from_fork+0x116/0x1d0
[   29.728642]  ret_from_fork_asm+0x1a/0x30
[   29.728851] 
[   29.729419] kfence-#90: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.729419] 
[   29.729826] allocated by task 336 on cpu 0 at 29.725564s (0.004259s ago):
[   29.730541]  test_alloc+0x364/0x10f0
[   29.730818]  test_out_of_bounds_read+0x1e2/0x4e0
[   29.731067]  kunit_try_run_case+0x1a5/0x480
[   29.731426]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.731777]  kthread+0x337/0x6f0
[   29.731993]  ret_from_fork+0x116/0x1d0
[   29.732157]  ret_from_fork_asm+0x1a/0x30
[   29.732375] 
[   29.732507] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) 
[   29.733340] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.733531] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.734150] ==================================================================
[   30.141625] ==================================================================
[   30.142219] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   30.142219] 
[   30.142737] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#94):
[   30.143020]  test_out_of_bounds_read+0x126/0x4e0
[   30.143253]  kunit_try_run_case+0x1a5/0x480
[   30.143525]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.143840]  kthread+0x337/0x6f0
[   30.144039]  ret_from_fork+0x116/0x1d0
[   30.144266]  ret_from_fork_asm+0x1a/0x30
[   30.144501] 
[   30.144581] kfence-#94: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.144581] 
[   30.145095] allocated by task 338 on cpu 1 at 30.141552s (0.003540s ago):
[   30.145569]  test_alloc+0x2a6/0x10f0
[   30.145841]  test_out_of_bounds_read+0xed/0x4e0
[   30.146074]  kunit_try_run_case+0x1a5/0x480
[   30.146300]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.146574]  kthread+0x337/0x6f0
[   30.146706]  ret_from_fork+0x116/0x1d0
[   30.146933]  ret_from_fork_asm+0x1a/0x30
[   30.147160] 
[   30.147328] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) 
[   30.147931] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.148130] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.148591] ==================================================================
[   29.622606] ==================================================================
[   29.623329] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x126/0x4e0
[   29.623329] 
[   29.624372] Out-of-bounds read at 0x(____ptrval____) (1B left of kfence-#89):
[   29.625367]  test_out_of_bounds_read+0x126/0x4e0
[   29.625724]  kunit_try_run_case+0x1a5/0x480
[   29.625890]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.626435]  kthread+0x337/0x6f0
[   29.626753]  ret_from_fork+0x116/0x1d0
[   29.627172]  ret_from_fork_asm+0x1a/0x30
[   29.627472] 
[   29.627828] kfence-#89: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.627828] 
[   29.628606] allocated by task 336 on cpu 0 at 29.621455s (0.007093s ago):
[   29.629685]  test_alloc+0x364/0x10f0
[   29.629850]  test_out_of_bounds_read+0xed/0x4e0
[   29.630303]  kunit_try_run_case+0x1a5/0x480
[   29.630712]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.631210]  kthread+0x337/0x6f0
[   29.631548]  ret_from_fork+0x116/0x1d0
[   29.631911]  ret_from_fork_asm+0x1a/0x30
[   29.632428] 
[   29.632688] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) 
[   29.633934] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.634206] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.634987] ==================================================================
[   30.973595] ==================================================================
[   30.974108] BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0x216/0x4e0
[   30.974108] 
[   30.974503] Out-of-bounds read at 0x(____ptrval____) (32B right of kfence-#102):
[   30.974883]  test_out_of_bounds_read+0x216/0x4e0
[   30.975090]  kunit_try_run_case+0x1a5/0x480
[   30.975277]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.975580]  kthread+0x337/0x6f0
[   30.975774]  ret_from_fork+0x116/0x1d0
[   30.975975]  ret_from_fork_asm+0x1a/0x30
[   30.976141] 
[   30.976265] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.976265] 
[   30.976720] allocated by task 338 on cpu 1 at 30.973525s (0.003192s ago):
[   30.977036]  test_alloc+0x2a6/0x10f0
[   30.977273]  test_out_of_bounds_read+0x1e2/0x4e0
[   30.977500]  kunit_try_run_case+0x1a5/0x480
[   30.977703]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.977898]  kthread+0x337/0x6f0
[   30.978113]  ret_from_fork+0x116/0x1d0
[   30.978320]  ret_from_fork_asm+0x1a/0x30
[   30.978598] 
[   30.978768] CPU: 1 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc4-next-20250704 #1 PREEMPT(voluntary) 
[   30.979232] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.979465] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.979922] ==================================================================