Hay
Date
March 19, 2025, 10:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   40.941009] ==================================================================
[   40.941192] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   40.941192] 
[   40.941425] Out-of-bounds write at 0x00000000eb976bfc (1B left of kfence-#154):
[   40.941633]  test_out_of_bounds_write+0x100/0x240
[   40.942038]  kunit_try_run_case+0x14c/0x3d0
[   40.942442]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.942600]  kthread+0x318/0x618
[   40.942737]  ret_from_fork+0x10/0x20
[   40.942868] 
[   40.943296] kfence-#154: 0x000000008d4b1103-0x00000000b8245fd3, size=32, cache=test
[   40.943296] 
[   40.944188] allocated by task 295 on cpu 0 at 40.940816s (0.003315s ago):
[   40.944538]  test_alloc+0x22c/0x620
[   40.944671]  test_out_of_bounds_write+0xc8/0x240
[   40.944981]  kunit_try_run_case+0x14c/0x3d0
[   40.945446]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.945939]  kthread+0x318/0x618
[   40.946109]  ret_from_fork+0x10/0x20
[   40.946606] 
[   40.946773] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT 
[   40.947483] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.947585] Hardware name: linux,dummy-virt (DT)
[   40.948197] ==================================================================
[   40.522135] ==================================================================
[   40.522275] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   40.522275] 
[   40.522505] Out-of-bounds write at 0x0000000004dc7420 (1B left of kfence-#150):
[   40.522685]  test_out_of_bounds_write+0x100/0x240
[   40.522834]  kunit_try_run_case+0x14c/0x3d0
[   40.522991]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.523150]  kthread+0x318/0x618
[   40.523576]  ret_from_fork+0x10/0x20
[   40.523723] 
[   40.523799] kfence-#150: 0x00000000017a868f-0x00000000fdb0b66f, size=32, cache=kmalloc-32
[   40.523799] 
[   40.523975] allocated by task 293 on cpu 0 at 40.521839s (0.002125s ago):
[   40.524230]  test_alloc+0x298/0x620
[   40.524403]  test_out_of_bounds_write+0xc8/0x240
[   40.524621]  kunit_try_run_case+0x14c/0x3d0
[   40.524760]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.525168]  kthread+0x318/0x618
[   40.525356]  ret_from_fork+0x10/0x20
[   40.525476] 
[   40.525592] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT 
[   40.525860] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.525997] Hardware name: linux,dummy-virt (DT)
[   40.526152] ==================================================================

[   30.056191] ==================================================================
[   30.056761] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   30.056761] 
[   30.057463] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#125):
[   30.058220]  test_out_of_bounds_write+0x10d/0x260
[   30.058560]  kunit_try_run_case+0x1b2/0x490
[   30.059139]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.059527]  kthread+0x323/0x710
[   30.060161]  ret_from_fork+0x41/0x80
[   30.060597]  ret_from_fork_asm+0x1a/0x30
[   30.061001] 
[   30.061236] kfence-#125: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.061236] 
[   30.061866] allocated by task 314 on cpu 1 at 30.056104s (0.005757s ago):
[   30.062607]  test_alloc+0x2a6/0x10d0
[   30.062969]  test_out_of_bounds_write+0xd4/0x260
[   30.063532]  kunit_try_run_case+0x1b2/0x490
[   30.063957]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.064576]  kthread+0x323/0x710
[   30.064912]  ret_from_fork+0x41/0x80
[   30.065230]  ret_from_fork_asm+0x1a/0x30
[   30.065507] 
[   30.065798] CPU: 1 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT(voluntary) 
[   30.067149] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.067742] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.068624] ==================================================================
[   29.952386] ==================================================================
[   29.952968] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   29.952968] 
[   29.953613] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#124):
[   29.954486]  test_out_of_bounds_write+0x10d/0x260
[   29.955041]  kunit_try_run_case+0x1b2/0x490
[   29.955645]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.956269]  kthread+0x323/0x710
[   29.956672]  ret_from_fork+0x41/0x80
[   29.956955]  ret_from_fork_asm+0x1a/0x30
[   29.957446] 
[   29.957680] kfence-#124: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.957680] 
[   29.958348] allocated by task 312 on cpu 1 at 29.952235s (0.006108s ago):
[   29.959098]  test_alloc+0x35e/0x10d0
[   29.959563]  test_out_of_bounds_write+0xd4/0x260
[   29.960034]  kunit_try_run_case+0x1b2/0x490
[   29.960349]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.960860]  kthread+0x323/0x710
[   29.961364]  ret_from_fork+0x41/0x80
[   29.961829]  ret_from_fork_asm+0x1a/0x30
[   29.962310] 
[   29.962554] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.14.0-rc7-next-20250319 #1 PREEMPT(voluntary) 
[   29.963400] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.963690] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.964553] ==================================================================