Hay
Date
April 22, 2025, 11:09 a.m.

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

[   17.302160] ==================================================================
[   17.302335] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x224/0x488
[   17.302335] 
[   17.302483] Corrupted memory at 0x0000000006c569e0 [ ! . . . . . . . . . . . . . . . ] (in kfence-#64):
[   17.305547]  kmalloc_track_caller_oob_right+0x224/0x488
[   17.305665]  kunit_try_run_case+0x170/0x3f0
[   17.305747]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   17.305939]  kthread+0x328/0x630
[   17.306028]  ret_from_fork+0x10/0x20
[   17.307509] 
[   17.307949] kfence-#64: 0x000000001d53cc96-0x0000000059c06d98, size=120, cache=kmalloc-128
[   17.307949] 
[   17.308583] allocated by task 144 on cpu 1 at 17.298937s (0.009523s ago):
[   17.308847]  kmalloc_track_caller_oob_right+0x184/0x488
[   17.308994]  kunit_try_run_case+0x170/0x3f0
[   17.309113]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   17.309247]  kthread+0x328/0x630
[   17.309322]  ret_from_fork+0x10/0x20
[   17.309470] 
[   17.309783] freed by task 144 on cpu 1 at 17.300903s (0.008661s ago):
[   17.309989]  kmalloc_track_caller_oob_right+0x224/0x488
[   17.310086]  kunit_try_run_case+0x170/0x3f0
[   17.310169]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   17.310298]  kthread+0x328/0x630
[   17.310373]  ret_from_fork+0x10/0x20
[   17.310506] 
[   17.310936] CPU: 1 UID: 0 PID: 144 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   17.311123] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.311187] Hardware name: linux,dummy-virt (DT)
[   17.311262] ==================================================================

[   19.114689] ==================================================================
[   19.116779] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x224/0x488
[   19.116779] 
[   19.117667] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . . . . . . . . . ] (in kfence-#59):
[   19.118721]  kmalloc_track_caller_oob_right+0x224/0x488
[   19.119225]  kunit_try_run_case+0x170/0x3f0
[   19.119634]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.120159]  kthread+0x328/0x630
[   19.120484]  ret_from_fork+0x10/0x20
[   19.120834] 
[   19.120988] kfence-#59: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   19.120988] 
[   19.121877] allocated by task 200 on cpu 2 at 19.114273s (0.007602s ago):
[   19.122520]  kmalloc_track_caller_oob_right+0x184/0x488
[   19.123023]  kunit_try_run_case+0x170/0x3f0
[   19.123428]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.123951]  kthread+0x328/0x630
[   19.124273]  ret_from_fork+0x10/0x20
[   19.124623] 
[   19.124775] freed by task 200 on cpu 2 at 19.114647s (0.010126s ago):
[   19.125390]  kmalloc_track_caller_oob_right+0x224/0x488
[   19.125891]  kunit_try_run_case+0x170/0x3f0
[   19.126296]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   19.126819]  kthread+0x328/0x630
[   19.127140]  ret_from_fork+0x10/0x20
[   19.127489] 
[   19.127652] CPU: 2 UID: 0 PID: 200 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   19.128573] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.128965] Hardware name: Radxa ROCK Pi 4B (DT)
[   19.129397] ==================================================================