Hay
Date
July 19, 2025, 11:11 a.m.

Environment
qemu-arm64
qemu-x86_64

[   19.292590] ==================================================================
[   19.292721] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.292721] 
[   19.292808] Out-of-bounds write at 0x0000000035bde6b5 (1B left of kfence-#83):
[   19.292863]  test_out_of_bounds_write+0x100/0x240
[   19.292909]  kunit_try_run_case+0x170/0x3f0
[   19.292954]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.292999]  kthread+0x328/0x630
[   19.293037]  ret_from_fork+0x10/0x20
[   19.293075] 
[   19.293101] kfence-#83: 0x0000000090701912-0x0000000060a2e9c7, size=32, cache=kmalloc-32
[   19.293101] 
[   19.293162] allocated by task 292 on cpu 1 at 19.292158s (0.001001s ago):
[   19.293243]  test_alloc+0x29c/0x628
[   19.293286]  test_out_of_bounds_write+0xc8/0x240
[   19.293326]  kunit_try_run_case+0x170/0x3f0
[   19.293373]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.293417]  kthread+0x328/0x630
[   19.293459]  ret_from_fork+0x10/0x20
[   19.293508] 
[   19.293563] CPU: 1 UID: 0 PID: 292 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.293640] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.293680] Hardware name: linux,dummy-virt (DT)
[   19.293730] ==================================================================
[   19.399005] ==================================================================
[   19.399340] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   19.399340] 
[   19.399438] Out-of-bounds write at 0x00000000352a7faf (1B left of kfence-#84):
[   19.399807]  test_out_of_bounds_write+0x100/0x240
[   19.399967]  kunit_try_run_case+0x170/0x3f0
[   19.400043]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.400106]  kthread+0x328/0x630
[   19.400196]  ret_from_fork+0x10/0x20
[   19.400242] 
[   19.400267] kfence-#84: 0x00000000486477e2-0x00000000c218f792, size=32, cache=test
[   19.400267] 
[   19.400539] allocated by task 294 on cpu 1 at 19.398925s (0.001426s ago):
[   19.400754]  test_alloc+0x230/0x628
[   19.400858]  test_out_of_bounds_write+0xc8/0x240
[   19.400945]  kunit_try_run_case+0x170/0x3f0
[   19.400988]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.401077]  kthread+0x328/0x630
[   19.401173]  ret_from_fork+0x10/0x20
[   19.401221] 
[   19.401264] CPU: 1 UID: 0 PID: 294 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   19.401662] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.401827] Hardware name: linux,dummy-virt (DT)
[   19.401900] ==================================================================

[   16.917464] ==================================================================
[   16.917874] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.917874] 
[   16.918366] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#65):
[   16.918705]  test_out_of_bounds_write+0x10d/0x260
[   16.918891]  kunit_try_run_case+0x1a5/0x480
[   16.919118]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.919410]  kthread+0x337/0x6f0
[   16.919553]  ret_from_fork+0x116/0x1d0
[   16.919694]  ret_from_fork_asm+0x1a/0x30
[   16.919901] 
[   16.920004] kfence-#65: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.920004] 
[   16.920653] allocated by task 309 on cpu 0 at 16.917371s (0.003280s ago):
[   16.920943]  test_alloc+0x364/0x10f0
[   16.921138]  test_out_of_bounds_write+0xd4/0x260
[   16.921353]  kunit_try_run_case+0x1a5/0x480
[   16.921545]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.921725]  kthread+0x337/0x6f0
[   16.921850]  ret_from_fork+0x116/0x1d0
[   16.922037]  ret_from_fork_asm+0x1a/0x30
[   16.922238] 
[   16.922378] CPU: 0 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   16.922886] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.923039] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.923399] ==================================================================
[   17.229436] ==================================================================
[   17.229859] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   17.229859] 
[   17.230282] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#68):
[   17.230939]  test_out_of_bounds_write+0x10d/0x260
[   17.231122]  kunit_try_run_case+0x1a5/0x480
[   17.231696]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.231964]  kthread+0x337/0x6f0
[   17.232311]  ret_from_fork+0x116/0x1d0
[   17.232636]  ret_from_fork_asm+0x1a/0x30
[   17.232827] 
[   17.232929] kfence-#68: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.232929] 
[   17.233525] allocated by task 311 on cpu 1 at 17.229370s (0.004153s ago):
[   17.234025]  test_alloc+0x2a6/0x10f0
[   17.234333]  test_out_of_bounds_write+0xd4/0x260
[   17.234549]  kunit_try_run_case+0x1a5/0x480
[   17.234860]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.235122]  kthread+0x337/0x6f0
[   17.235253]  ret_from_fork+0x116/0x1d0
[   17.235634]  ret_from_fork_asm+0x1a/0x30
[   17.235913] 
[   17.236061] CPU: 1 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   17.236679] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.236894] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.237400] ==================================================================