Hay
Date
Feb. 5, 2025, 2:09 p.m.

Environment
qemu-x86_64

[   59.740306] ==================================================================
[   59.740994] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x158/0x1f0
[   59.740994] 
[   59.741715] Corrupted memory at 0x(____ptrval____) [ ! . . . . . . ] (in kfence-#214):
[   59.742950]  test_kmalloc_aligned_oob_write+0x158/0x1f0
[   59.743575]  kunit_try_run_case+0x126/0x290
[   59.744222]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   59.744941]  kthread+0x19e/0x1e0
[   59.745912]  ret_from_fork+0x41/0x70
[   59.746420]  ret_from_fork_asm+0x1b/0x30
[   59.747050] 
[   59.747348] kfence-#214: 0x(____ptrval____)-0x(____ptrval____), size=73, cache=kmalloc-96
[   59.747348] 
[   59.748267] allocated by task 283 on cpu 0 at 59.739688s:
[   59.749003]  test_alloc+0x2a0/0x8d0
[   59.749557]  test_kmalloc_aligned_oob_write+0xc0/0x1f0
[   59.750180]  kunit_try_run_case+0x126/0x290
[   59.750816]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   59.751412]  kthread+0x19e/0x1e0
[   59.751983]  ret_from_fork+0x41/0x70
[   59.752538]  ret_from_fork_asm+0x1b/0x30
[   59.753047] 
[   59.753329] freed by task 283 on cpu 0 at 59.739918s:
[   59.754103]  test_kmalloc_aligned_oob_write+0x158/0x1f0
[   59.754722]  kunit_try_run_case+0x126/0x290
[   59.755381]  kunit_generic_run_threadfn_adapter+0x33/0x50
[   59.756048]  kthread+0x19e/0x1e0
[   59.756543]  ret_from_fork+0x41/0x70
[   59.757147]  ret_from_fork_asm+0x1b/0x30
[   59.757672] 
[   59.758010] CPU: 0 PID: 283 Comm: kunit_try_catch Tainted: G    B            N 6.6.76-rc1 #1
[   59.758957] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   59.759803] ==================================================================