Hay
Date
Nov. 20, 2024, 6:35 a.m.

Environment
qemu-arm64
qemu-x86_64

[   35.649048] ==================================================================
[   35.651349] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x224/0x490
[   35.651349] 
[   35.652504] Corrupted memory at 0x0000000043c762e1 [ ! . . . . . . . ] (in kfence-#112):
[   35.656694]  kmalloc_track_caller_oob_right+0x224/0x490
[   35.657640]  kunit_try_run_case+0x14c/0x3d0
[   35.658183]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.659203]  kthread+0x24c/0x2d0
[   35.659943]  ret_from_fork+0x10/0x20
[   35.660538] 
[   35.661155] kfence-#112: 0x0000000036682ac1-0x000000005bdc357c, size=120, cache=kmalloc-128
[   35.661155] 
[   35.663000] allocated by task 131 on cpu 0 at 35.646050s (0.016442s ago):
[   35.664259]  kmalloc_track_caller_oob_right+0x184/0x490
[   35.664944]  kunit_try_run_case+0x14c/0x3d0
[   35.665728]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.666597]  kthread+0x24c/0x2d0
[   35.667034]  ret_from_fork+0x10/0x20
[   35.667628] 
[   35.668079] freed by task 131 on cpu 0 at 35.648252s (0.019674s ago):
[   35.668932]  kmalloc_track_caller_oob_right+0x224/0x490
[   35.670037]  kunit_try_run_case+0x14c/0x3d0
[   35.670624]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.671299]  kthread+0x24c/0x2d0
[   35.671959]  ret_from_fork+0x10/0x20
[   35.672684] 
[   35.673161] CPU: 0 UID: 0 PID: 131 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   35.674873] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.675480] Hardware name: linux,dummy-virt (DT)
[   35.676129] ==================================================================

[   26.864310] ==================================================================
[   26.867070] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x289/0x530
[   26.867070] 
[   26.867952] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . ] (in kfence-#52):
[   26.870078]  kmalloc_track_caller_oob_right+0x289/0x530
[   26.870944]  kunit_try_run_case+0x1b3/0x490
[   26.871459]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.872011]  kthread+0x257/0x310
[   26.872370]  ret_from_fork+0x41/0x80
[   26.873864]  ret_from_fork_asm+0x1a/0x30
[   26.874163] 
[   26.874568] kfence-#52: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   26.874568] 
[   26.875458] allocated by task 149 on cpu 0 at 26.861544s (0.013802s ago):
[   26.876809]  kmalloc_track_caller_oob_right+0x19b/0x530
[   26.877966]  kunit_try_run_case+0x1b3/0x490
[   26.878481]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.879473]  kthread+0x257/0x310
[   26.879830]  ret_from_fork+0x41/0x80
[   26.880014]  ret_from_fork_asm+0x1a/0x30
[   26.881144] 
[   26.881993] freed by task 149 on cpu 0 at 26.863578s (0.018270s ago):
[   26.883861]  kmalloc_track_caller_oob_right+0x289/0x530
[   26.885326]  kunit_try_run_case+0x1b3/0x490
[   26.885586]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   26.887255]  kthread+0x257/0x310
[   26.888449]  ret_from_fork+0x41/0x80
[   26.889148]  ret_from_fork_asm+0x1a/0x30
[   26.889462] 
[   26.890711] CPU: 0 UID: 0 PID: 149 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241120 #1
[   26.892278] Tainted: [B]=BAD_PAGE, [N]=TEST
[   26.892938] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   26.893994] ==================================================================