Hay
Date
April 20, 2025, 11:09 p.m.

Environment
x86

[   88.307698] ==================================================================
[   88.314952] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x24f/0x340
[   88.314952] 
[   88.324527] Corrupted memory at 0x00000000ababc968 [ ! . . . . . . . . . . . . . . . ] (in kfence-#16):
[   88.333954]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   88.339181]  kunit_try_run_case+0x1a2/0x480
[   88.343377]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   88.348784]  kthread+0x334/0x6f0
[   88.352023]  ret_from_fork+0x3e/0x80
[   88.355603]  ret_from_fork_asm+0x1a/0x30
[   88.359528] 
[   88.361028] kfence-#16: 0x00000000c8d6d9e3-0x0000000083d00e9b, size=73, cache=kmalloc-96
[   88.361028] 
[   88.370597] allocated by task 368 on cpu 3 at 88.307690s (0.062907s ago):
[   88.377393]  test_alloc+0x364/0x10f0
[   88.380978]  test_kmalloc_aligned_oob_write+0xc8/0x340
[   88.386117]  kunit_try_run_case+0x1a2/0x480
[   88.390302]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   88.395703]  kthread+0x334/0x6f0
[   88.398935]  ret_from_fork+0x3e/0x80
[   88.402524]  ret_from_fork_asm+0x1a/0x30
[   88.406456] 
[   88.407957] freed by task 368 on cpu 3 at 88.307692s (0.100265s ago):
[   88.414406]  test_kmalloc_aligned_oob_write+0x24f/0x340
[   88.419637]  kunit_try_run_case+0x1a2/0x480
[   88.423823]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   88.429223]  kthread+0x334/0x6f0
[   88.432457]  ret_from_fork+0x3e/0x80
[   88.436043]  ret_from_fork_asm+0x1a/0x30
[   88.439968] 
[   88.441471] CPU: 3 UID: 0 PID: 368 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   88.452347] Tainted: [B]=BAD_PAGE, [N]=TEST
[   88.456538] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   88.463931] ==================================================================