Hay
Date
June 18, 2025, 6:43 a.m.

Environment
qemu-arm64
qemu-x86_64

[   26.341806] ==================================================================
[   26.341966] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   26.341966] 
[   26.342241] Out-of-bounds write at 0x00000000b6b30645 (1B left of kfence-#117):
[   26.342359]  test_out_of_bounds_write+0x100/0x240
[   26.342745]  kunit_try_run_case+0x170/0x3f0
[   26.342838]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.342919]  kthread+0x328/0x630
[   26.343030]  ret_from_fork+0x10/0x20
[   26.343112] 
[   26.343371] kfence-#117: 0x0000000019c7b1c4-0x0000000028c6c457, size=32, cache=test
[   26.343371] 
[   26.343513] allocated by task 303 on cpu 0 at 26.341345s (0.002160s ago):
[   26.343672]  test_alloc+0x230/0x628
[   26.343757]  test_out_of_bounds_write+0xc8/0x240
[   26.343855]  kunit_try_run_case+0x170/0x3f0
[   26.343948]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.344067]  kthread+0x328/0x630
[   26.344148]  ret_from_fork+0x10/0x20
[   26.344490] 
[   26.344826] CPU: 0 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   26.345089] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   26.345198] Hardware name: linux,dummy-virt (DT)
[   26.345304] ==================================================================
[   25.924137] ==================================================================
[   25.924386] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   25.924386] 
[   25.924619] Out-of-bounds write at 0x000000004c01fd49 (1B left of kfence-#113):
[   25.924811]  test_out_of_bounds_write+0x100/0x240
[   25.924965]  kunit_try_run_case+0x170/0x3f0
[   25.925294]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.925420]  kthread+0x328/0x630
[   25.926183]  ret_from_fork+0x10/0x20
[   25.926307] 
[   25.926367] kfence-#113: 0x00000000c3b8976a-0x00000000a8d69b67, size=32, cache=kmalloc-32
[   25.926367] 
[   25.926657] allocated by task 301 on cpu 0 at 25.923697s (0.002951s ago):
[   25.927069]  test_alloc+0x29c/0x628
[   25.927148]  test_out_of_bounds_write+0xc8/0x240
[   25.927230]  kunit_try_run_case+0x170/0x3f0
[   25.927425]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   25.927560]  kthread+0x328/0x630
[   25.927674]  ret_from_fork+0x10/0x20
[   25.927886] 
[   25.928353] CPU: 0 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc2-next-20250618 #1 PREEMPT 
[   25.928795] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   25.929058] Hardware name: linux,dummy-virt (DT)
[   25.929139] ==================================================================

[   15.921813] ==================================================================
[   15.922189] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   15.922189] 
[   15.922620] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#68):
[   15.922890]  test_out_of_bounds_write+0x10d/0x260
[   15.923120]  kunit_try_run_case+0x1a5/0x480
[   15.923325]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.923583]  kthread+0x337/0x6f0
[   15.923749]  ret_from_fork+0x116/0x1d0
[   15.923900]  ret_from_fork_asm+0x1a/0x30
[   15.924035] 
[   15.924121] kfence-#68: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   15.924121] 
[   15.924529] allocated by task 319 on cpu 1 at 15.921752s (0.002775s ago):
[   15.924813]  test_alloc+0x2a6/0x10f0
[   15.924949]  test_out_of_bounds_write+0xd4/0x260
[   15.925120]  kunit_try_run_case+0x1a5/0x480
[   15.925449]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.925615]  kthread+0x337/0x6f0
[   15.925759]  ret_from_fork+0x116/0x1d0
[   15.925943]  ret_from_fork_asm+0x1a/0x30
[   15.926133] 
[   15.926262] CPU: 1 UID: 0 PID: 319 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   15.926637] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.926815] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.927235] ==================================================================
[   15.817803] ==================================================================
[   15.818176] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   15.818176] 
[   15.818726] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#67):
[   15.819001]  test_out_of_bounds_write+0x10d/0x260
[   15.819602]  kunit_try_run_case+0x1a5/0x480
[   15.819801]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.820011]  kthread+0x337/0x6f0
[   15.820174]  ret_from_fork+0x116/0x1d0
[   15.820670]  ret_from_fork_asm+0x1a/0x30
[   15.820846] 
[   15.820942] kfence-#67: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   15.820942] 
[   15.821525] allocated by task 317 on cpu 0 at 15.817692s (0.003830s ago):
[   15.821928]  test_alloc+0x364/0x10f0
[   15.822087]  test_out_of_bounds_write+0xd4/0x260
[   15.822450]  kunit_try_run_case+0x1a5/0x480
[   15.822636]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   15.822862]  kthread+0x337/0x6f0
[   15.823007]  ret_from_fork+0x116/0x1d0
[   15.823164]  ret_from_fork_asm+0x1a/0x30
[   15.823591] 
[   15.823708] CPU: 0 UID: 0 PID: 317 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc2-next-20250618 #1 PREEMPT(voluntary) 
[   15.824336] Tainted: [B]=BAD_PAGE, [N]=TEST
[   15.824607] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   15.825072] ==================================================================