Hay
Date
Dec. 4, 2024, 3:07 p.m.

Environment
qemu-arm64
qemu-x86_64

[   40.699115] ==================================================================
[   40.700103] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   40.700103] 
[   40.700942] Out-of-bounds write at 0x00000000797ee6d8 (1B left of kfence-#137):
[   40.702665]  test_out_of_bounds_write+0x100/0x240
[   40.703592]  test_out_of_bounds_write+0xc8/0x240
[   40.704208]  kunit_try_run_case+0x14c/0x3d0
[   40.704541]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.705134]  kthread+0x24c/0x2d0
[   40.705706]  ret_from_fork+0x10/0x20
[   40.706414] 
[   40.706789] kfence-#137: 0x00000000cb8067a0-0x00000000178172ab, size=32, cache=kmalloc-32
[   40.706789] 
[   40.708194] allocated by task 279 on cpu 0 at 40.698751s (0.009432s ago):
[   40.709093]  test_alloc+0x298/0x620
[   40.709803]  test_out_of_bounds_write+0xc8/0x240
[   40.710451]  kunit_try_run_case+0x14c/0x3d0
[   40.711164]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.711884]  kthread+0x24c/0x2d0
[   40.712346]  ret_from_fork+0x10/0x20
[   40.713046] 
[   40.713416] CPU: 0 UID: 0 PID: 279 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   40.714593] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.715298] Hardware name: linux,dummy-virt (DT)
[   40.715867] ==================================================================
[   40.802851] ==================================================================
[   40.803779] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   40.803779] 
[   40.804704] Out-of-bounds write at 0x0000000036ad742f (1B left of kfence-#138):
[   40.805785]  test_out_of_bounds_write+0x100/0x240
[   40.806342]  test_out_of_bounds_write+0xc8/0x240
[   40.807184]  kunit_try_run_case+0x14c/0x3d0
[   40.807953]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.808806]  kthread+0x24c/0x2d0
[   40.809433]  ret_from_fork+0x10/0x20
[   40.810221] 
[   40.810601] kfence-#138: 0x00000000d96756f7-0x00000000087f0a00, size=32, cache=test
[   40.810601] 
[   40.811673] allocated by task 281 on cpu 0 at 40.802696s (0.008966s ago):
[   40.812586]  test_alloc+0x22c/0x620
[   40.813255]  test_out_of_bounds_write+0xc8/0x240
[   40.814019]  kunit_try_run_case+0x14c/0x3d0
[   40.814536]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   40.815397]  kthread+0x24c/0x2d0
[   40.815999]  ret_from_fork+0x10/0x20
[   40.816522] 
[   40.816892] CPU: 0 UID: 0 PID: 281 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   40.818157] Tainted: [B]=BAD_PAGE, [N]=TEST
[   40.818819] Hardware name: linux,dummy-virt (DT)
[   40.819560] ==================================================================

[   32.071920] ==================================================================
[   32.072690] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   32.072690] 
[   32.074153] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#109):
[   32.074588]  test_out_of_bounds_write+0x10e/0x260
[   32.075646]  kunit_try_run_case+0x1b3/0x490
[   32.076039]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.076614]  kthread+0x257/0x310
[   32.076991]  ret_from_fork+0x41/0x80
[   32.077277]  ret_from_fork_asm+0x1a/0x30
[   32.078083] 
[   32.078485] kfence-#109: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   32.078485] 
[   32.079931] allocated by task 301 on cpu 0 at 32.071835s (0.008092s ago):
[   32.080933]  test_alloc+0x2a7/0x10d0
[   32.081389]  test_out_of_bounds_write+0xd5/0x260
[   32.081928]  kunit_try_run_case+0x1b3/0x490
[   32.082638]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   32.083137]  kthread+0x257/0x310
[   32.083604]  ret_from_fork+0x41/0x80
[   32.084031]  ret_from_fork_asm+0x1a/0x30
[   32.084461] 
[   32.084738] CPU: 0 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   32.085599] Tainted: [B]=BAD_PAGE, [N]=TEST
[   32.086165] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   32.086997] ==================================================================
[   31.968040] ==================================================================
[   31.968721] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10e/0x260
[   31.968721] 
[   31.969475] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#108):
[   31.970187]  test_out_of_bounds_write+0x10e/0x260
[   31.970608]  kunit_try_run_case+0x1b3/0x490
[   31.972049]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.972790]  kthread+0x257/0x310
[   31.973356]  ret_from_fork+0x41/0x80
[   31.973899]  ret_from_fork_asm+0x1a/0x30
[   31.974573] 
[   31.974864] kfence-#108: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   31.974864] 
[   31.975594] allocated by task 299 on cpu 1 at 31.967855s (0.007735s ago):
[   31.976319]  test_alloc+0x35f/0x10d0
[   31.976806]  test_out_of_bounds_write+0xd5/0x260
[   31.977307]  kunit_try_run_case+0x1b3/0x490
[   31.977765]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   31.978357]  kthread+0x257/0x310
[   31.978821]  ret_from_fork+0x41/0x80
[   31.979310]  ret_from_fork_asm+0x1a/0x30
[   31.979825] 
[   31.980116] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241204 #1
[   31.980905] Tainted: [B]=BAD_PAGE, [N]=TEST
[   31.981495] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   31.982500] ==================================================================