Hay
Date
Dec. 3, 2024, 11:38 p.m.

Environment
qemu-arm64
qemu-x86_64

[   39.600000] ==================================================================
[   39.600982] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   39.600982] 
[   39.602025] Out-of-bounds write at 0x00000000b430893a (1B left of kfence-#150):
[   39.603636]  test_out_of_bounds_write+0x100/0x240
[   39.604409]  test_out_of_bounds_write+0xc8/0x240
[   39.605170]  kunit_try_run_case+0x14c/0x3d0
[   39.605922]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.606780]  kthread+0x24c/0x2d0
[   39.607448]  ret_from_fork+0x10/0x20
[   39.608041] 
[   39.608429] kfence-#150: 0x00000000675a814f-0x000000006c286311, size=32, cache=test
[   39.608429] 
[   39.609570] allocated by task 282 on cpu 1 at 39.599841s (0.009720s ago):
[   39.610574]  test_alloc+0x22c/0x620
[   39.611267]  test_out_of_bounds_write+0xc8/0x240
[   39.612038]  kunit_try_run_case+0x14c/0x3d0
[   39.612713]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.613550]  kthread+0x24c/0x2d0
[   39.614199]  ret_from_fork+0x10/0x20
[   39.614872] 
[   39.615356] CPU: 1 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   39.616630] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.617170] Hardware name: linux,dummy-virt (DT)
[   39.617723] ==================================================================
[   39.184161] ==================================================================
[   39.185038] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   39.185038] 
[   39.186049] Out-of-bounds write at 0x00000000d6a0ff6f (1B left of kfence-#146):
[   39.187307]  test_out_of_bounds_write+0x100/0x240
[   39.188037]  test_out_of_bounds_write+0xc8/0x240
[   39.189227]  kunit_try_run_case+0x14c/0x3d0
[   39.189884]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.190585]  kthread+0x24c/0x2d0
[   39.191355]  ret_from_fork+0x10/0x20
[   39.192060] 
[   39.192320] kfence-#146: 0x00000000d79599e0-0x0000000024d31bc5, size=32, cache=kmalloc-32
[   39.192320] 
[   39.193281] allocated by task 280 on cpu 0 at 39.183912s (0.009363s ago):
[   39.194089]  test_alloc+0x298/0x620
[   39.194635]  test_out_of_bounds_write+0xc8/0x240
[   39.195738]  kunit_try_run_case+0x14c/0x3d0
[   39.196218]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   39.196928]  kthread+0x24c/0x2d0
[   39.197454]  ret_from_fork+0x10/0x20
[   39.198037] 
[   39.198403] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   39.200296] Tainted: [B]=BAD_PAGE, [N]=TEST
[   39.201517] Hardware name: linux,dummy-virt (DT)
[   39.202302] ==================================================================

[   34.186319] ==================================================================
[   34.186902] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   34.186902] 
[   34.187664] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#134):
[   34.188629]  test_out_of_bounds_write+0x10e/0x260
[   34.189001]  kunit_try_run_case+0x1b3/0x490
[   34.189459]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.190005]  kthread+0x257/0x310
[   34.190267]  ret_from_fork+0x41/0x80
[   34.190502]  ret_from_fork_asm+0x1a/0x30
[   34.190741] 
[   34.190888] kfence-#134: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   34.190888] 
[   34.191312] allocated by task 302 on cpu 0 at 34.186231s (0.005076s ago):
[   34.191651]  test_alloc+0x2a7/0x10d0
[   34.191878]  test_out_of_bounds_write+0xd5/0x260
[   34.192209]  kunit_try_run_case+0x1b3/0x490
[   34.192493]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.192855]  kthread+0x257/0x310
[   34.193293]  ret_from_fork+0x41/0x80
[   34.193868]  ret_from_fork_asm+0x1a/0x30
[   34.194320] 
[   34.194579] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   34.195185] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.195442] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.195828] ==================================================================
[   34.082417] ==================================================================
[   34.083083] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   34.083083] 
[   34.083737] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#133):
[   34.084340]  test_out_of_bounds_write+0x10e/0x260
[   34.084714]  kunit_try_run_case+0x1b3/0x490
[   34.084987]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.085762]  kthread+0x257/0x310
[   34.086214]  ret_from_fork+0x41/0x80
[   34.086687]  ret_from_fork_asm+0x1a/0x30
[   34.087152] 
[   34.087473] kfence-#133: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   34.087473] 
[   34.088591] allocated by task 300 on cpu 0 at 34.082223s (0.006362s ago):
[   34.089353]  test_alloc+0x35f/0x10d0
[   34.089868]  test_out_of_bounds_write+0xd5/0x260
[   34.090489]  kunit_try_run_case+0x1b3/0x490
[   34.091048]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   34.091669]  kthread+0x257/0x310
[   34.092101]  ret_from_fork+0x41/0x80
[   34.092545]  ret_from_fork_asm+0x1a/0x30
[   34.092923] 
[   34.093247] CPU: 0 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   34.094041] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.094630] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   34.095176] ==================================================================