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

Environment
x86

[   82.315694] ==================================================================
[   82.322948] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   82.322948] 
[   82.331389] Invalid free of 0x0000000067543a7f (in kfence-#214):
[   82.337403]  test_invalid_addr_free+0x1e1/0x260
[   82.341943]  kunit_try_run_case+0x1a2/0x480
[   82.346129]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.351527]  kthread+0x334/0x6f0
[   82.354760]  ret_from_fork+0x3e/0x80
[   82.358340]  ret_from_fork_asm+0x1a/0x30
[   82.362265] 
[   82.363763] kfence-#214: 0x00000000f19a890d-0x000000004ba9b37d, size=32, cache=kmalloc-32
[   82.363763] 
[   82.373411] allocated by task 350 on cpu 2 at 82.315689s (0.057722s ago):
[   82.380206]  test_alloc+0x364/0x10f0
[   82.383791]  test_invalid_addr_free+0xdb/0x260
[   82.388239]  kunit_try_run_case+0x1a2/0x480
[   82.392434]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.397832]  kthread+0x334/0x6f0
[   82.401065]  ret_from_fork+0x3e/0x80
[   82.404644]  ret_from_fork_asm+0x1a/0x30
[   82.408570] 
[   82.410070] CPU: 2 UID: 0 PID: 350 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   82.420945] Tainted: [B]=BAD_PAGE, [N]=TEST
[   82.425130] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   82.432523] ==================================================================
[   82.547698] ==================================================================
[   82.554952] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   82.554952] 
[   82.563306] Invalid free of 0x000000008e99abb9 (in kfence-#216):
[   82.569320]  test_invalid_addr_free+0xfb/0x260
[   82.573765]  kunit_try_run_case+0x1a2/0x480
[   82.577951]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.583349]  kthread+0x334/0x6f0
[   82.586582]  ret_from_fork+0x3e/0x80
[   82.590161]  ret_from_fork_asm+0x1a/0x30
[   82.594087] 
[   82.595588] kfence-#216: 0x00000000fdf017dc-0x000000003d2862a1, size=32, cache=test
[   82.595588] 
[   82.604720] allocated by task 352 on cpu 3 at 82.547692s (0.057027s ago):
[   82.611507]  test_alloc+0x2a6/0x10f0
[   82.615087]  test_invalid_addr_free+0xdb/0x260
[   82.619542]  kunit_try_run_case+0x1a2/0x480
[   82.623734]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.629135]  kthread+0x334/0x6f0
[   82.632365]  ret_from_fork+0x3e/0x80
[   82.635945]  ret_from_fork_asm+0x1a/0x30
[   82.639872] 
[   82.641371] CPU: 3 UID: 0 PID: 352 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   82.652239] Tainted: [B]=BAD_PAGE, [N]=TEST
[   82.656424] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   82.663816] ==================================================================