Hay
Date
June 26, 2025, 9:10 a.m.

Environment
dragonboard-845c
juno-r2
qemu-arm64
qemu-x86_64

[   82.327425] ==================================================================
[   82.334787] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   82.334787] 
[   82.344137] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#195):
[   82.351548]  test_out_of_bounds_write+0x100/0x240
[   82.356330]  kunit_try_run_case+0x170/0x3f0
[   82.360591]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   82.366151]  kthread+0x328/0x630
[   82.369441]  ret_from_fork+0x10/0x20
[   82.373078] 
[   82.374604] kfence-#195: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   82.374604] 
[   82.383844] allocated by task 379 on cpu 4 at 82.327399s (0.056444s ago):
[   82.390739]  test_alloc+0x230/0x628
[   82.394289]  test_out_of_bounds_write+0xc8/0x240
[   82.398979]  kunit_try_run_case+0x170/0x3f0
[   82.403234]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   82.408801]  kthread+0x328/0x630
[   82.412087]  ret_from_fork+0x10/0x20
[   82.415724] 
[   82.417253] CPU: 4 UID: 0 PID: 379 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250626 #1 PREEMPT 
[   82.428523] Tainted: [B]=BAD_PAGE, [N]=TEST
[   82.432771] Hardware name: Thundercomm Dragonboard 845c (DT)
[   82.438499] ==================================================================
[   81.899509] ==================================================================
[   81.906872] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   81.906872] 
[   81.916222] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#191):
[   81.923633]  test_out_of_bounds_write+0x100/0x240
[   81.928416]  kunit_try_run_case+0x170/0x3f0
[   81.932675]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   81.938247]  kthread+0x328/0x630
[   81.941535]  ret_from_fork+0x10/0x20
[   81.945173] 
[   81.946699] kfence-#191: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   81.946699] 
[   81.956471] allocated by task 377 on cpu 7 at 81.899484s (0.056986s ago):
[   81.963365]  test_alloc+0x29c/0x628
[   81.966916]  test_out_of_bounds_write+0xc8/0x240
[   81.971607]  kunit_try_run_case+0x170/0x3f0
[   81.975860]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   81.981429]  kthread+0x328/0x630
[   81.984714]  ret_from_fork+0x10/0x20
[   81.988349] 
[   81.989878] CPU: 7 UID: 0 PID: 377 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250626 #1 PREEMPT 
[   82.001147] Tainted: [B]=BAD_PAGE, [N]=TEST
[   82.005387] Hardware name: Thundercomm Dragonboard 845c (DT)
[   82.011116] ==================================================================

[ 1526.692161] ==================================================================
[ 1526.692182] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[ 1526.692182] 
[ 1526.692215] Out-of-bounds write at 0x00000000d6fddde9 (1B left of kfence-#34):
[ 1526.692232]  test_out_of_bounds_write+0x100/0x240
[ 1526.692250]  kunit_try_run_case+0x170/0x3f0
[ 1526.692265]  kunit_generic_run_threadfn_adapter+0x88/0x100
[ 1526.692282]  kthread+0x328/0x630
[ 1526.692293]  ret_from_fork+0x10/0x20
[ 1526.692308] 
[ 1526.692314] kfence-#34: 0x00000000fb601f2e-0x00000000d780c8a6, size=32, cache=kmalloc-32
[ 1526.692314] 
[ 1526.692330] allocated by task 362 on cpu 2 at 1526.692139s (0.000190s ago):
[ 1526.692356]  test_alloc+0x29c/0x628
[ 1526.692371]  test_out_of_bounds_write+0xc8/0x240
[ 1526.692385]  kunit_try_run_case+0x170/0x3f0
[ 1526.692399]  kunit_generic_run_threadfn_adapter+0x88/0x100
[ 1526.692414]  kthread+0x328/0x630
[ 1526.692423]  ret_from_fork+0x10/0x20
[ 1526.692436] 
[ 1526.692446] CPU: 2 UID: 0 PID: 362 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc3-next-20250626 #1 PREEMPT 
[ 1526.692473] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[ 1526.692480] Hardware name: ARM Juno development board (r2) (DT)
[ 1526.692490] ==================================================================
[ 1526.797283] ==================================================================
[ 1526.797298] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[ 1526.797298] 
[ 1526.797327] Out-of-bounds write at 0x00000000fe9e8847 (1B left of kfence-#35):
[ 1526.797345]  test_out_of_bounds_write+0x100/0x240
[ 1526.797363]  kunit_try_run_case+0x170/0x3f0
[ 1526.797378]  kunit_generic_run_threadfn_adapter+0x88/0x100
[ 1526.797394]  kthread+0x328/0x630
[ 1526.797405]  ret_from_fork+0x10/0x20
[ 1526.797418] 
[ 1526.797424] kfence-#35: 0x000000007f8b20a9-0x00000000669426b3, size=32, cache=test
[ 1526.797424] 
[ 1526.797440] allocated by task 364 on cpu 2 at 1526.797265s (0.000174s ago):
[ 1526.797465]  test_alloc+0x230/0x628
[ 1526.797479]  test_out_of_bounds_write+0xc8/0x240
[ 1526.797494]  kunit_try_run_case+0x170/0x3f0
[ 1526.797507]  kunit_generic_run_threadfn_adapter+0x88/0x100
[ 1526.797522]  kthread+0x328/0x630
[ 1526.797532]  ret_from_fork+0x10/0x20
[ 1526.797545] 
[ 1526.797554] CPU: 2 UID: 0 PID: 364 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc3-next-20250626 #1 PREEMPT 
[ 1526.797580] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[ 1526.797588] Hardware name: ARM Juno development board (r2) (DT)
[ 1526.797598] ==================================================================

[   31.776488] ==================================================================
[   31.776598] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   31.776598] 
[   31.776698] Out-of-bounds write at 0x00000000fdaf747a (1B left of kfence-#93):
[   31.776756]  test_out_of_bounds_write+0x100/0x240
[   31.776805]  kunit_try_run_case+0x170/0x3f0
[   31.776850]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.776896]  kthread+0x328/0x630
[   31.776936]  ret_from_fork+0x10/0x20
[   31.776978] 
[   31.777002] kfence-#93: 0x00000000d7853093-0x00000000cb85a1e6, size=32, cache=kmalloc-32
[   31.777002] 
[   31.777069] allocated by task 303 on cpu 1 at 31.776317s (0.000734s ago):
[   31.777143]  test_alloc+0x29c/0x628
[   31.777183]  test_out_of_bounds_write+0xc8/0x240
[   31.777226]  kunit_try_run_case+0x170/0x3f0
[   31.777268]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   31.777311]  kthread+0x328/0x630
[   31.777347]  ret_from_fork+0x10/0x20
[   31.777388] 
[   31.777433] CPU: 1 UID: 0 PID: 303 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250626 #1 PREEMPT 
[   31.777516] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.777546] Hardware name: linux,dummy-virt (DT)
[   31.777581] ==================================================================
[   32.088299] ==================================================================
[   32.088398] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   32.088398] 
[   32.088489] Out-of-bounds write at 0x000000001f397e69 (1B left of kfence-#96):
[   32.088546]  test_out_of_bounds_write+0x100/0x240
[   32.088595]  kunit_try_run_case+0x170/0x3f0
[   32.088638]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.088683]  kthread+0x328/0x630
[   32.088722]  ret_from_fork+0x10/0x20
[   32.088762] 
[   32.088787] kfence-#96: 0x0000000070491222-0x000000000b4d4949, size=32, cache=test
[   32.088787] 
[   32.088838] allocated by task 305 on cpu 1 at 32.088218s (0.000616s ago):
[   32.088910]  test_alloc+0x230/0x628
[   32.088950]  test_out_of_bounds_write+0xc8/0x240
[   32.088991]  kunit_try_run_case+0x170/0x3f0
[   32.089032]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   32.089087]  kthread+0x328/0x630
[   32.089122]  ret_from_fork+0x10/0x20
[   32.089162] 
[   32.089204] CPU: 1 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250626 #1 PREEMPT 
[   32.089287] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.089316] Hardware name: linux,dummy-virt (DT)
[   32.089350] ==================================================================

[   26.987273] ==================================================================
[   26.987681] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   26.987681] 
[   26.988202] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#73):
[   26.988561]  test_out_of_bounds_write+0x10d/0x260
[   26.988733]  kunit_try_run_case+0x1a5/0x480
[   26.988940]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.989325]  kthread+0x337/0x6f0
[   26.989485]  ret_from_fork+0x116/0x1d0
[   26.989627]  ret_from_fork_asm+0x1a/0x30
[   26.989804] 
[   26.989874] kfence-#73: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   26.989874] 
[   26.990338] allocated by task 320 on cpu 1 at 26.987126s (0.003209s ago):
[   26.990698]  test_alloc+0x364/0x10f0
[   26.990880]  test_out_of_bounds_write+0xd4/0x260
[   26.991105]  kunit_try_run_case+0x1a5/0x480
[   26.991288]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.991494]  kthread+0x337/0x6f0
[   26.991653]  ret_from_fork+0x116/0x1d0
[   26.991801]  ret_from_fork_asm+0x1a/0x30
[   26.991979] 
[   26.992090] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250626 #1 PREEMPT(voluntary) 
[   26.992524] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.992660] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.992945] ==================================================================
[   27.299238] ==================================================================
[   27.299659] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   27.299659] 
[   27.300177] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#76):
[   27.300580]  test_out_of_bounds_write+0x10d/0x260
[   27.300767]  kunit_try_run_case+0x1a5/0x480
[   27.300912]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.301262]  kthread+0x337/0x6f0
[   27.301460]  ret_from_fork+0x116/0x1d0
[   27.301669]  ret_from_fork_asm+0x1a/0x30
[   27.301874] 
[   27.301992] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.301992] 
[   27.302362] allocated by task 322 on cpu 0 at 27.299154s (0.003205s ago):
[   27.302708]  test_alloc+0x2a6/0x10f0
[   27.302919]  test_out_of_bounds_write+0xd4/0x260
[   27.303137]  kunit_try_run_case+0x1a5/0x480
[   27.303327]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   27.303493]  kthread+0x337/0x6f0
[   27.303804]  ret_from_fork+0x116/0x1d0
[   27.303995]  ret_from_fork_asm+0x1a/0x30
[   27.304212] 
[   27.304339] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc3-next-20250626 #1 PREEMPT(voluntary) 
[   27.304782] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.304979] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   27.305409] ==================================================================