Hay
Date
Nov. 26, 2024, 6:09 a.m.

Environment
qemu-arm64
qemu-x86_64

[   30.147478] ==================================================================
[   30.149094] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x224/0x490
[   30.149094] 
[   30.149869] Corrupted memory at 0x00000000a3adec4b [ ! . . . . . . . ] (in kfence-#101):
[   30.154308]  kmalloc_track_caller_oob_right+0x224/0x490
[   30.154975]  kunit_try_run_case+0x14c/0x3d0
[   30.155557]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.156326]  kthread+0x24c/0x2d0
[   30.157279]  ret_from_fork+0x10/0x20
[   30.157742] 
[   30.158381] kfence-#101: 0x000000003ca951f4-0x000000008d0b5112, size=120, cache=kmalloc-128
[   30.158381] 
[   30.160112] allocated by task 131 on cpu 0 at 30.145370s (0.014601s ago):
[   30.161141]  kmalloc_track_caller_oob_right+0x184/0x490
[   30.162178]  kunit_try_run_case+0x14c/0x3d0
[   30.162991]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.163621]  kthread+0x24c/0x2d0
[   30.164105]  ret_from_fork+0x10/0x20
[   30.165625] 
[   30.166304] freed by task 131 on cpu 0 at 30.146651s (0.019411s ago):
[   30.167333]  kmalloc_track_caller_oob_right+0x224/0x490
[   30.168090]  kunit_try_run_case+0x14c/0x3d0
[   30.169034]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.169819]  kthread+0x24c/0x2d0
[   30.170381]  ret_from_fork+0x10/0x20
[   30.171043] 
[   30.171565] CPU: 0 UID: 0 PID: 131 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   30.172653] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.174005] Hardware name: linux,dummy-virt (DT)
[   30.174615] ==================================================================

[   19.330259] ==================================================================
[   19.332365] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x289/0x530
[   19.332365] 
[   19.333089] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . ] (in kfence-#57):
[   19.335598]  kmalloc_track_caller_oob_right+0x289/0x530
[   19.336791]  kunit_try_run_case+0x1b3/0x490
[   19.337510]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.338128]  kthread+0x257/0x310
[   19.338752]  ret_from_fork+0x41/0x80
[   19.339226]  ret_from_fork_asm+0x1a/0x30
[   19.339613] 
[   19.340093] kfence-#57: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   19.340093] 
[   19.341505] allocated by task 149 on cpu 0 at 19.327177s (0.014171s ago):
[   19.342737]  kmalloc_track_caller_oob_right+0x19b/0x530
[   19.343405]  kunit_try_run_case+0x1b3/0x490
[   19.344404]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.345037]  kthread+0x257/0x310
[   19.345665]  ret_from_fork+0x41/0x80
[   19.346315]  ret_from_fork_asm+0x1a/0x30
[   19.347186] 
[   19.347777] freed by task 149 on cpu 0 at 19.329480s (0.018071s ago):
[   19.348778]  kmalloc_track_caller_oob_right+0x289/0x530
[   19.349588]  kunit_try_run_case+0x1b3/0x490
[   19.350004]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.350855]  kthread+0x257/0x310
[   19.351344]  ret_from_fork+0x41/0x80
[   19.351934]  ret_from_fork_asm+0x1a/0x30
[   19.352282] 
[   19.352649] CPU: 0 UID: 0 PID: 149 Comm: kunit_try_catch Tainted: G    B            N 6.12.0-next-20241126 #1
[   19.353940] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.354410] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.355351] ==================================================================