Hay
Date
May 12, 2025, 6:12 p.m.

Environment
qemu-arm64
qemu-x86_64

[   24.767534] ==================================================================
[   24.768121] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   24.768121] 
[   24.768678] Invalid free of 0x0000000055685f81 (in kfence-#111):
[   24.769069]  test_invalid_addr_free+0xec/0x238
[   24.769575]  kunit_try_run_case+0x170/0x3f0
[   24.770093]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.770548]  kthread+0x318/0x620
[   24.771052]  ret_from_fork+0x10/0x20
[   24.771494] 
[   24.771780] kfence-#111: 0x0000000054e49d17-0x000000006eb9935d, size=32, cache=test
[   24.771780] 
[   24.772460] allocated by task 298 on cpu 1 at 24.767309s (0.005140s ago):
[   24.773229]  test_alloc+0x230/0x628
[   24.773678]  test_invalid_addr_free+0xd4/0x238
[   24.774212]  kunit_try_run_case+0x170/0x3f0
[   24.774570]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.775185]  kthread+0x318/0x620
[   24.775553]  ret_from_fork+0x10/0x20
[   24.776009] 
[   24.776330] CPU: 1 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   24.776961] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.777381] Hardware name: linux,dummy-virt (DT)
[   24.777850] ==================================================================
[   24.663600] ==================================================================
[   24.664246] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   24.664246] 
[   24.664940] Invalid free of 0x0000000041001053 (in kfence-#110):
[   24.665508]  test_invalid_addr_free+0x1ac/0x238
[   24.665889]  kunit_try_run_case+0x170/0x3f0
[   24.666402]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.667027]  kthread+0x318/0x620
[   24.667502]  ret_from_fork+0x10/0x20
[   24.667873] 
[   24.668106] kfence-#110: 0x000000000cee93e1-0x000000007aec184b, size=32, cache=kmalloc-32
[   24.668106] 
[   24.669062] allocated by task 296 on cpu 1 at 24.663335s (0.005714s ago):
[   24.669639]  test_alloc+0x29c/0x628
[   24.670155]  test_invalid_addr_free+0xd4/0x238
[   24.670717]  kunit_try_run_case+0x170/0x3f0
[   24.671283]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   24.671811]  kthread+0x318/0x620
[   24.672218]  ret_from_fork+0x10/0x20
[   24.672649] 
[   24.673005] CPU: 1 UID: 0 PID: 296 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   24.673815] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.674239] Hardware name: linux,dummy-virt (DT)
[   24.674721] ==================================================================

[   18.925539] ==================================================================
[   18.925978] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e3/0x260
[   18.925978] 
[   18.926355] Invalid free of 0x(____ptrval____) (in kfence-#78):
[   18.926653]  test_invalid_addr_free+0x1e3/0x260
[   18.927187]  kunit_try_run_case+0x1a6/0x480
[   18.927393]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.927940]  kthread+0x324/0x6e0
[   18.928132]  ret_from_fork+0x41/0x80
[   18.928301]  ret_from_fork_asm+0x1a/0x30
[   18.928654] 
[   18.928771] kfence-#78: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.928771] 
[   18.929423] allocated by task 315 on cpu 0 at 18.925387s (0.004013s ago):
[   18.929762]  test_alloc+0x365/0x10f0
[   18.929949]  test_invalid_addr_free+0xdc/0x260
[   18.930517]  kunit_try_run_case+0x1a6/0x480
[   18.930734]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.930994]  kthread+0x324/0x6e0
[   18.931385]  ret_from_fork+0x41/0x80
[   18.931649]  ret_from_fork_asm+0x1a/0x30
[   18.931955] 
[   18.932092] CPU: 0 UID: 0 PID: 315 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   18.932603] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.932810] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.933389] ==================================================================
[   19.029473] ==================================================================
[   19.029891] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfc/0x260
[   19.029891] 
[   19.030299] Invalid free of 0x(____ptrval____) (in kfence-#79):
[   19.030596]  test_invalid_addr_free+0xfc/0x260
[   19.030760]  kunit_try_run_case+0x1a6/0x480
[   19.030983]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.031227]  kthread+0x324/0x6e0
[   19.031406]  ret_from_fork+0x41/0x80
[   19.031540]  ret_from_fork_asm+0x1a/0x30
[   19.031746] 
[   19.031860] kfence-#79: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.031860] 
[   19.032287] allocated by task 317 on cpu 1 at 19.029360s (0.002925s ago):
[   19.032639]  test_alloc+0x2a7/0x10f0
[   19.032813]  test_invalid_addr_free+0xdc/0x260
[   19.032984]  kunit_try_run_case+0x1a6/0x480
[   19.033132]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.033387]  kthread+0x324/0x6e0
[   19.033558]  ret_from_fork+0x41/0x80
[   19.033718]  ret_from_fork_asm+0x1a/0x30
[   19.033936] 
[   19.034032] CPU: 1 UID: 0 PID: 317 Comm: kunit_try_catch Tainted: G    B            N 6.14.7-rc1 #1
[   19.034387] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.034598] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.034995] ==================================================================