Hay
Date
July 18, 2025, 1:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   35.580483] ==================================================================
[   35.580561] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   35.580561] 
[   35.580641] Out-of-bounds write at 0x00000000baea91f5 (1B left of kfence-#122):
[   35.580853]  test_out_of_bounds_write+0x100/0x240
[   35.580916]  kunit_try_run_case+0x170/0x3f0
[   35.580962]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.581011]  kthread+0x328/0x630
[   35.581068]  ret_from_fork+0x10/0x20
[   35.581142] 
[   35.581168] kfence-#122: 0x000000003d53ce57-0x000000002cd07b53, size=32, cache=kmalloc-32
[   35.581168] 
[   35.581219] allocated by task 322 on cpu 0 at 35.580327s (0.000889s ago):
[   35.581450]  test_alloc+0x29c/0x628
[   35.581544]  test_out_of_bounds_write+0xc8/0x240
[   35.581624]  kunit_try_run_case+0x170/0x3f0
[   35.581678]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.581738]  kthread+0x328/0x630
[   35.581795]  ret_from_fork+0x10/0x20
[   35.581851] 
[   35.581901] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT 
[   35.582111] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.582156] Hardware name: linux,dummy-virt (DT)
[   35.582191] ==================================================================
[   35.788652] ==================================================================
[   35.788768] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   35.788768] 
[   35.788864] Out-of-bounds write at 0x00000000fa3750a1 (1B left of kfence-#124):
[   35.788939]  test_out_of_bounds_write+0x100/0x240
[   35.788991]  kunit_try_run_case+0x170/0x3f0
[   35.789053]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.789116]  kthread+0x328/0x630
[   35.789157]  ret_from_fork+0x10/0x20
[   35.789203] 
[   35.789228] kfence-#124: 0x000000004ad2eafa-0x00000000b9372008, size=32, cache=test
[   35.789228] 
[   35.789551] allocated by task 324 on cpu 0 at 35.788568s (0.000957s ago):
[   35.789638]  test_alloc+0x230/0x628
[   35.789691]  test_out_of_bounds_write+0xc8/0x240
[   35.789771]  kunit_try_run_case+0x170/0x3f0
[   35.789860]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.789903]  kthread+0x328/0x630
[   35.789964]  ret_from_fork+0x10/0x20
[   35.790003] 
[   35.790052] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT 
[   35.790144] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.790172] Hardware name: linux,dummy-virt (DT)
[   35.790331] ==================================================================


[   29.818207] ==================================================================
[   29.818614] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   29.818614] 
[   29.819001] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#93):
[   29.819351]  test_out_of_bounds_write+0x10d/0x260
[   29.819558]  kunit_try_run_case+0x1a5/0x480
[   29.819723]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.819986]  kthread+0x337/0x6f0
[   29.820147]  ret_from_fork+0x116/0x1d0
[   29.820303]  ret_from_fork_asm+0x1a/0x30
[   29.820492] 
[   29.820563] kfence-#93: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.820563] 
[   29.820937] allocated by task 341 on cpu 1 at 29.818141s (0.002794s ago):
[   29.821170]  test_alloc+0x2a6/0x10f0
[   29.821348]  test_out_of_bounds_write+0xd4/0x260
[   29.821581]  kunit_try_run_case+0x1a5/0x480
[   29.821755]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.821931]  kthread+0x337/0x6f0
[   29.822087]  ret_from_fork+0x116/0x1d0
[   29.822278]  ret_from_fork_asm+0x1a/0x30
[   29.822486] 
[   29.822602] CPU: 1 UID: 0 PID: 341 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT(voluntary) 
[   29.823101] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.823293] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.823629] ==================================================================
[   29.714205] ==================================================================
[   29.714616] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   29.714616] 
[   29.715034] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#92):
[   29.715407]  test_out_of_bounds_write+0x10d/0x260
[   29.715566]  kunit_try_run_case+0x1a5/0x480
[   29.715778]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.716054]  kthread+0x337/0x6f0
[   29.716240]  ret_from_fork+0x116/0x1d0
[   29.716431]  ret_from_fork_asm+0x1a/0x30
[   29.716612] 
[   29.716695] kfence-#92: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.716695] 
[   29.717126] allocated by task 339 on cpu 0 at 29.714077s (0.003047s ago):
[   29.717434]  test_alloc+0x364/0x10f0
[   29.717555]  test_out_of_bounds_write+0xd4/0x260
[   29.717740]  kunit_try_run_case+0x1a5/0x480
[   29.717945]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.718212]  kthread+0x337/0x6f0
[   29.718386]  ret_from_fork+0x116/0x1d0
[   29.718572]  ret_from_fork_asm+0x1a/0x30
[   29.718737] 
[   29.718855] CPU: 0 UID: 0 PID: 339 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250718 #1 PREEMPT(voluntary) 
[   29.719401] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.719593] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.719937] ==================================================================