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

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

[   11.013660] ==================================================================
[   11.015528] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x288/0x520
[   11.015528] 
[   11.016238] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#29):
[   11.017972]  kmalloc_track_caller_oob_right+0x288/0x520
[   11.018297]  kunit_try_run_case+0x1a5/0x480
[   11.018670]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.019167]  kthread+0x337/0x6f0
[   11.019342]  ret_from_fork+0x41/0x80
[   11.019927]  ret_from_fork_asm+0x1a/0x30
[   11.020344] 
[   11.020727] kfence-#29: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   11.020727] 
[   11.021400] allocated by task 162 on cpu 1 at 11.011593s (0.009723s ago):
[   11.022123]  kmalloc_track_caller_oob_right+0x19a/0x520
[   11.022690]  kunit_try_run_case+0x1a5/0x480
[   11.022846]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.023019]  kthread+0x337/0x6f0
[   11.023160]  ret_from_fork+0x41/0x80
[   11.023297]  ret_from_fork_asm+0x1a/0x30
[   11.024154] 
[   11.024395] freed by task 162 on cpu 1 at 11.013175s (0.011129s ago):
[   11.024774]  kmalloc_track_caller_oob_right+0x288/0x520
[   11.025247]  kunit_try_run_case+0x1a5/0x480
[   11.025644]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   11.025978]  kthread+0x337/0x6f0
[   11.026276]  ret_from_fork+0x41/0x80
[   11.026597]  ret_from_fork_asm+0x1a/0x30
[   11.026775] 
[   11.026919] CPU: 1 UID: 0 PID: 162 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   11.027604] Tainted: [B]=BAD_PAGE, [N]=TEST
[   11.027788] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   11.028523] ==================================================================

[   20.805606] ==================================================================
[   20.807692] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x224/0x488
[   20.807692] 
[   20.808569] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#55):
[   20.809555]  kmalloc_track_caller_oob_right+0x224/0x488
[   20.810043]  kunit_try_run_case+0x170/0x3f0
[   20.810439]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.810950]  kthread+0x328/0x630
[   20.811263]  ret_from_fork+0x10/0x20
[   20.811603] 
[   20.811750] kfence-#55: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   20.811750] 
[   20.812627] allocated by task 196 on cpu 3 at 20.805281s (0.007345s ago):
[   20.813255]  kmalloc_track_caller_oob_right+0x184/0x488
[   20.813742]  kunit_try_run_case+0x170/0x3f0
[   20.814136]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.814647]  kthread+0x328/0x630
[   20.814957]  ret_from_fork+0x10/0x20
[   20.815296] 
[   20.815444] freed by task 196 on cpu 3 at 20.805566s (0.009876s ago):
[   20.816045]  kmalloc_track_caller_oob_right+0x224/0x488
[   20.816533]  kunit_try_run_case+0x170/0x3f0
[   20.816925]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.817433]  kthread+0x328/0x630
[   20.817743]  ret_from_fork+0x10/0x20
[   20.818081] 
[   20.818237] CPU: 3 UID: 0 PID: 196 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   20.819141] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.819524] Hardware name: Radxa ROCK Pi 4B (DT)
[   20.819948] ==================================================================