Hay
Date
April 20, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64
rk3399-rock-pi-4b

[   29.879125] ==================================================================
[   29.879402] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   29.879402] 
[   29.879783] Out-of-bounds write at 0x00000000c9c0064c (1B left of kfence-#123):
[   29.880185]  test_out_of_bounds_write+0x100/0x240
[   29.880588]  kunit_try_run_case+0x170/0x3f0
[   29.880910]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.881064]  kthread+0x328/0x630
[   29.882032]  ret_from_fork+0x10/0x20
[   29.882290] 
[   29.882636] kfence-#123: 0x00000000e84fc1da-0x00000000981b3c8a, size=32, cache=kmalloc-32
[   29.882636] 
[   29.882805] allocated by task 293 on cpu 0 at 29.878729s (0.004066s ago):
[   29.883955]  test_alloc+0x29c/0x628
[   29.884089]  test_out_of_bounds_write+0xc8/0x240
[   29.884240]  kunit_try_run_case+0x170/0x3f0
[   29.884440]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.884911]  kthread+0x328/0x630
[   29.885043]  ret_from_fork+0x10/0x20
[   29.885148] 
[   29.885500] CPU: 0 UID: 0 PID: 293 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   29.886146] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.886765] Hardware name: linux,dummy-virt (DT)
[   29.886958] ==================================================================
[   29.984952] ==================================================================
[   29.985127] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   29.985127] 
[   29.985366] Out-of-bounds write at 0x000000007737112d (1B left of kfence-#124):
[   29.985588]  test_out_of_bounds_write+0x100/0x240
[   29.985834]  kunit_try_run_case+0x170/0x3f0
[   29.986034]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.986214]  kthread+0x328/0x630
[   29.986392]  ret_from_fork+0x10/0x20
[   29.986690] 
[   29.986853] kfence-#124: 0x00000000112daf85-0x0000000010fbda01, size=32, cache=test
[   29.986853] 
[   29.987195] allocated by task 295 on cpu 0 at 29.984727s (0.002451s ago):
[   29.987459]  test_alloc+0x230/0x628
[   29.987606]  test_out_of_bounds_write+0xc8/0x240
[   29.987741]  kunit_try_run_case+0x170/0x3f0
[   29.987974]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.988102]  kthread+0x328/0x630
[   29.988295]  ret_from_fork+0x10/0x20
[   29.988460] 
[   29.988557] CPU: 0 UID: 0 PID: 295 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   29.988841] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.988920] Hardware name: linux,dummy-virt (DT)
[   29.989023] ==================================================================

[   16.792911] ==================================================================
[   16.793498] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.793498] 
[   16.793971] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#68):
[   16.794587]  test_out_of_bounds_write+0x10d/0x260
[   16.795122]  kunit_try_run_case+0x1a5/0x480
[   16.795419]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.795675]  kthread+0x337/0x6f0
[   16.795818]  ret_from_fork+0x41/0x80
[   16.796007]  ret_from_fork_asm+0x1a/0x30
[   16.796214] 
[   16.796294] kfence-#68: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   16.796294] 
[   16.796634] allocated by task 314 on cpu 0 at 16.792852s (0.003780s ago):
[   16.796988]  test_alloc+0x2a6/0x10f0
[   16.797157]  test_out_of_bounds_write+0xd4/0x260
[   16.797441]  kunit_try_run_case+0x1a5/0x480
[   16.797722]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.797987]  kthread+0x337/0x6f0
[   16.798226]  ret_from_fork+0x41/0x80
[   16.798421]  ret_from_fork_asm+0x1a/0x30
[   16.798599] 
[   16.798741] CPU: 0 UID: 0 PID: 314 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   16.799234] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.799455] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.799783] ==================================================================
[   16.584802] ==================================================================
[   16.585222] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x10d/0x260
[   16.585222] 
[   16.585675] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#66):
[   16.585956]  test_out_of_bounds_write+0x10d/0x260
[   16.586180]  kunit_try_run_case+0x1a5/0x480
[   16.586407]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.586624]  kthread+0x337/0x6f0
[   16.586786]  ret_from_fork+0x41/0x80
[   16.586942]  ret_from_fork_asm+0x1a/0x30
[   16.587085] 
[   16.587179] kfence-#66: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   16.587179] 
[   16.587707] allocated by task 312 on cpu 1 at 16.584682s (0.003022s ago):
[   16.588002]  test_alloc+0x364/0x10f0
[   16.588150]  test_out_of_bounds_write+0xd4/0x260
[   16.588307]  kunit_try_run_case+0x1a5/0x480
[   16.588526]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   16.588832]  kthread+0x337/0x6f0
[   16.589310]  ret_from_fork+0x41/0x80
[   16.589534]  ret_from_fork_asm+0x1a/0x30
[   16.589697] 
[   16.589797] CPU: 1 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   16.590274] Tainted: [B]=BAD_PAGE, [N]=TEST
[   16.590454] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   16.590775] ==================================================================

[   26.550171] ==================================================================
[   26.550841] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   26.550841] 
[   26.551677] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#90):
[   26.552325]  test_out_of_bounds_write+0x100/0x240
[   26.552755]  kunit_try_run_case+0x170/0x3f0
[   26.553141]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.553640]  kthread+0x328/0x630
[   26.553943]  ret_from_fork+0x10/0x20
[   26.554273] 
[   26.554415] kfence-#90: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   26.554415] 
[   26.555264] allocated by task 345 on cpu 4 at 26.550147s (0.005115s ago):
[   26.555878]  test_alloc+0x29c/0x628
[   26.556199]  test_out_of_bounds_write+0xc8/0x240
[   26.556616]  kunit_try_run_case+0x170/0x3f0
[   26.556999]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.557496]  kthread+0x328/0x630
[   26.557796]  ret_from_fork+0x10/0x20
[   26.558124] 
[   26.558271] CPU: 4 UID: 0 PID: 345 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   26.559159] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.559535] Hardware name: Radxa ROCK Pi 4B (DT)
[   26.559950] ==================================================================
[   26.654038] ==================================================================
[   26.654707] BUG: KFENCE: out-of-bounds write in test_out_of_bounds_write+0x100/0x240
[   26.654707] 
[   26.655536] Out-of-bounds write at 0x(____ptrval____) (1B left of kfence-#91):
[   26.656179]  test_out_of_bounds_write+0x100/0x240
[   26.656605]  kunit_try_run_case+0x170/0x3f0
[   26.656987]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.657480]  kthread+0x328/0x630
[   26.657779]  ret_from_fork+0x10/0x20
[   26.658106] 
[   26.658245] kfence-#91: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   26.658245] 
[   26.659043] allocated by task 347 on cpu 4 at 26.654012s (0.005030s ago):
[   26.659654]  test_alloc+0x230/0x628
[   26.659970]  test_out_of_bounds_write+0xc8/0x240
[   26.660384]  kunit_try_run_case+0x170/0x3f0
[   26.660762]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   26.661254]  kthread+0x328/0x630
[   26.661549]  ret_from_fork+0x10/0x20
[   26.661873] 
[   26.662017] CPU: 4 UID: 0 PID: 347 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   26.662898] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.663270] Hardware name: Radxa ROCK Pi 4B (DT)
[   26.663682] ==================================================================