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

Environment
qemu-x86_64

[   22.147451] ==================================================================
[   22.149498] BUG: KFENCE: memory corruption in kmalloc_track_caller_oob_right+0x289/0x530
[   22.149498] 
[   22.150799] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . . ] (in kfence-#55):
[   22.152843]  kmalloc_track_caller_oob_right+0x289/0x530
[   22.153464]  kunit_try_run_case+0x1b3/0x490
[   22.153851]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.154539]  kthread+0x257/0x310
[   22.154878]  ret_from_fork+0x41/0x80
[   22.155439]  ret_from_fork_asm+0x1a/0x30
[   22.155835] 
[   22.156602] kfence-#55: 0x(____ptrval____)-0x(____ptrval____), size=120, cache=kmalloc-128
[   22.156602] 
[   22.158068] allocated by task 150 on cpu 1 at 22.143637s (0.014259s ago):
[   22.159171]  kmalloc_track_caller_oob_right+0x19b/0x530
[   22.159734]  kunit_try_run_case+0x1b3/0x490
[   22.160226]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.160853]  kthread+0x257/0x310
[   22.161309]  ret_from_fork+0x41/0x80
[   22.161673]  ret_from_fork_asm+0x1a/0x30
[   22.162401] 
[   22.162881] freed by task 150 on cpu 1 at 22.146569s (0.016161s ago):
[   22.163852]  kmalloc_track_caller_oob_right+0x289/0x530
[   22.164459]  kunit_try_run_case+0x1b3/0x490
[   22.164847]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   22.165492]  kthread+0x257/0x310
[   22.165917]  ret_from_fork+0x41/0x80
[   22.166374]  ret_from_fork_asm+0x1a/0x30
[   22.166999] 
[   22.167314] CPU: 1 UID: 0 PID: 150 Comm: kunit_try_catch Tainted: G    B            N 6.13.0-rc1-next-20241206 #1
[   22.168433] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.168883] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   22.169914] ==================================================================