Date
Feb. 5, 2025, 2:09 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-i386 |
[ 191.227212] ================================================================== [ 191.228632] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x150/0x1d8 [ 191.228632] [ 191.230715] Corrupted memory at 0x00000000c7a0df47 [ ! . . . . . . ] (in kfence-#228): [ 191.233503] test_kmalloc_aligned_oob_write+0x150/0x1d8 [ 191.234967] kunit_try_run_case+0xf8/0x260 [ 191.236197] kunit_generic_run_threadfn_adapter+0x38/0x60 [ 191.237619] kthread+0x18c/0x1a8 [ 191.238616] ret_from_fork+0x10/0x20 [ 191.239668] [ 191.240206] kfence-#228: 0x00000000f4a536d9-0x00000000e2013ba1, size=73, cache=kmalloc-96 [ 191.240206] [ 191.242094] allocated by task 265 on cpu 0 at 191.226196s: [ 191.243737] test_alloc+0x224/0x3d8 [ 191.244707] test_kmalloc_aligned_oob_write+0xb4/0x1d8 [ 191.246062] kunit_try_run_case+0xf8/0x260 [ 191.247239] kunit_generic_run_threadfn_adapter+0x38/0x60 [ 191.248652] kthread+0x18c/0x1a8 [ 191.249619] ret_from_fork+0x10/0x20 [ 191.250770] [ 191.251341] freed by task 265 on cpu 0 at 191.226556s: [ 191.253067] test_kmalloc_aligned_oob_write+0x150/0x1d8 [ 191.254321] kunit_try_run_case+0xf8/0x260 [ 191.255505] kunit_generic_run_threadfn_adapter+0x38/0x60 [ 191.256937] kthread+0x18c/0x1a8 [ 191.257886] ret_from_fork+0x10/0x20 [ 191.258957] [ 191.259472] CPU: 0 PID: 265 Comm: kunit_try_catch Tainted: G B N 6.6.76-rc1 #1 [ 191.261282] Hardware name: linux,dummy-virt (DT) [ 191.262367] ==================================================================
[ 43.666667] ================================================================== [ 43.667025] BUG: KFENCE: memory corruption in test_kmalloc_aligned_oob_write+0x9f/0x140 [ 43.667025] [ 43.667402] Corrupted memory at 0x(ptrval) [ ! . . . . . . ] (in kfence-#77): [ 43.668021] test_kmalloc_aligned_oob_write+0x9f/0x140 [ 43.668364] kunit_try_run_case+0x8a/0x1c4 [ 43.668685] kunit_generic_run_threadfn_adapter+0x16/0x20 [ 43.669053] kthread+0xe0/0x108 [ 43.669229] ret_from_fork+0x40/0x4c [ 43.669473] ret_from_fork_asm+0x12/0x18 [ 43.669727] restore_all_switch_stack+0x0/0xc3 [ 43.670068] [ 43.670710] kfence-#77: 0x(ptrval)-0x(ptrval), size=73, cache=kmalloc-96 [ 43.670710] [ 43.671312] allocated by task 167 on cpu 0 at 43.666477s: [ 43.671639] test_alloc+0x153/0x2d4 [ 43.671817] test_kmalloc_aligned_oob_write+0x48/0x140 [ 43.672076] kunit_try_run_case+0x8a/0x1c4 [ 43.672280] kunit_generic_run_threadfn_adapter+0x16/0x20 [ 43.672542] kthread+0xe0/0x108 [ 43.672700] ret_from_fork+0x40/0x4c [ 43.672880] ret_from_fork_asm+0x12/0x18 [ 43.673621] restore_all_switch_stack+0x0/0xc3 [ 43.673772] [ 43.673840] freed by task 167 on cpu 0 at 43.666561s: [ 43.674059] test_kmalloc_aligned_oob_write+0x9f/0x140 [ 43.674247] kunit_try_run_case+0x8a/0x1c4 [ 43.674398] kunit_generic_run_threadfn_adapter+0x16/0x20 [ 43.674582] kthread+0xe0/0x108 [ 43.674710] ret_from_fork+0x40/0x4c [ 43.674844] ret_from_fork_asm+0x12/0x18 [ 43.674999] restore_all_switch_stack+0x0/0xc3 [ 43.675155] [ 43.675237] CPU: 0 PID: 167 Comm: kunit_try_catch Tainted: G B N 6.6.76-rc1 #1 [ 43.675496] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 43.675803] ==================================================================