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

Environment
qemu-arm64

[   29.262603] ==================================================================
[   29.266051] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x224/0x490
[   29.266051] 
[   29.267220] Corrupted memory at 0x00000000803ef9c5 [ ! . . . . . . . . . . . . . . . ] (in kfence-#89):
[   29.271636]  kmalloc_track_caller_oob_right+0x224/0x490
[   29.273211]  kunit_try_run_case+0x14c/0x3d0
[   29.273959]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.274829]  kthread+0x24c/0x2d0
[   29.275297]  ret_from_fork+0x10/0x20
[   29.276017] 
[   29.276857] kfence-#89: 0x00000000e7405ff1-0x00000000b962185a, size=120, cache=kmalloc-128
[   29.276857] 
[   29.278431] allocated by task 131 on cpu 0 at 29.260394s (0.017891s ago):
[   29.279540]  kmalloc_track_caller_oob_right+0x184/0x490
[   29.280378]  kunit_try_run_case+0x14c/0x3d0
[   29.281022]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.282638]  kthread+0x24c/0x2d0
[   29.283143]  ret_from_fork+0x10/0x20
[   29.284188] 
[   29.284814] freed by task 131 on cpu 0 at 29.261808s (0.022828s ago):
[   29.285720]  kmalloc_track_caller_oob_right+0x224/0x490
[   29.286487]  kunit_try_run_case+0x14c/0x3d0
[   29.287878]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   29.288568]  kthread+0x24c/0x2d0
[   29.289181]  ret_from_fork+0x10/0x20
[   29.289842] 
[   29.290215] CPU: 0 UID: 0 PID: 131 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241203 #1
[   29.292038] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.292850] Hardware name: linux,dummy-virt (DT)
[   29.293503] ==================================================================