Hay
Date
June 2, 2025, 2:11 p.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   67.734800] ==================================================================
[   67.734940] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   67.734940] 
[   67.735068] Invalid free of 0x(____ptrval____) (in kfence-#126):
[   67.735172]  test_invalid_addr_free+0xec/0x238
[   67.738512]  kunit_try_run_case+0x170/0x3f0
[   67.742678]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.748147]  kthread+0x328/0x630
[   67.751359]  ret_from_fork+0x10/0x20
[   67.754918] 
[   67.756398] kfence-#126: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   67.756398] 
[   67.765510] allocated by task 356 on cpu 4 at 67.734750s (0.030758s ago):
[   67.772290]  test_alloc+0x230/0x628
[   67.775751]  test_invalid_addr_free+0xd4/0x238
[   67.780178]  kunit_try_run_case+0x170/0x3f0
[   67.784344]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.789813]  kthread+0x328/0x630
[   67.793025]  ret_from_fork+0x10/0x20
[   67.796586] 
[   67.798069] CPU: 4 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT 
[   67.807965] Tainted: [B]=BAD_PAGE, [N]=TEST
[   67.812123] Hardware name: WinLink E850-96 board (DT)
[   67.817161] ==================================================================
[   67.526804] ==================================================================
[   67.526930] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   67.526930] 
[   67.527066] Invalid free of 0x(____ptrval____) (in kfence-#124):
[   67.527172]  test_invalid_addr_free+0x1ac/0x238
[   67.530677]  kunit_try_run_case+0x170/0x3f0
[   67.534843]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.540312]  kthread+0x328/0x630
[   67.543523]  ret_from_fork+0x10/0x20
[   67.547082] 
[   67.548562] kfence-#124: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   67.548562] 
[   67.558195] allocated by task 354 on cpu 2 at 67.526751s (0.031442s ago):
[   67.564977]  test_alloc+0x29c/0x628
[   67.568436]  test_invalid_addr_free+0xd4/0x238
[   67.572863]  kunit_try_run_case+0x170/0x3f0
[   67.577030]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   67.582498]  kthread+0x328/0x630
[   67.585710]  ret_from_fork+0x10/0x20
[   67.589271] 
[   67.590757] CPU: 2 UID: 0 PID: 354 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT 
[   67.600649] Tainted: [B]=BAD_PAGE, [N]=TEST
[   67.604808] Hardware name: WinLink E850-96 board (DT)
[   67.609846] ==================================================================

[   23.522059] ==================================================================
[   23.522155] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   23.522155] 
[   23.522219] Invalid free of 0x00000000035fa39e (in kfence-#100):
[   23.522273]  test_invalid_addr_free+0xec/0x238
[   23.522320]  kunit_try_run_case+0x170/0x3f0
[   23.522385]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.522433]  kthread+0x328/0x630
[   23.522478]  ret_from_fork+0x10/0x20
[   23.522521] 
[   23.522547] kfence-#100: 0x00000000642f41dc-0x000000001bf7c2ab, size=32, cache=test
[   23.522547] 
[   23.522602] allocated by task 312 on cpu 0 at 23.521925s (0.000673s ago):
[   23.522665]  test_alloc+0x230/0x628
[   23.522705]  test_invalid_addr_free+0xd4/0x238
[   23.522747]  kunit_try_run_case+0x170/0x3f0
[   23.522790]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.522837]  kthread+0x328/0x630
[   23.522878]  ret_from_fork+0x10/0x20
[   23.522918] 
[   23.522963] CPU: 0 UID: 0 PID: 312 Comm: kunit_try_catch Tainted: G    B   W        N  6.15.1-rc1 #1 PREEMPT 
[   23.523051] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   23.523083] Hardware name: linux,dummy-virt (DT)
[   23.523115] ==================================================================
[   23.418069] ==================================================================
[   23.418164] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   23.418164] 
[   23.418228] Invalid free of 0x00000000deba894b (in kfence-#99):
[   23.418284]  test_invalid_addr_free+0x1ac/0x238
[   23.418333]  kunit_try_run_case+0x170/0x3f0
[   23.418396]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.418444]  kthread+0x328/0x630
[   23.418489]  ret_from_fork+0x10/0x20
[   23.418530] 
[   23.418555] kfence-#99: 0x0000000072609a7b-0x00000000cb1bbd59, size=32, cache=kmalloc-32
[   23.418555] 
[   23.418613] allocated by task 310 on cpu 0 at 23.417908s (0.000701s ago):
[   23.418676]  test_alloc+0x29c/0x628
[   23.418717]  test_invalid_addr_free+0xd4/0x238
[   23.418760]  kunit_try_run_case+0x170/0x3f0
[   23.418803]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   23.418851]  kthread+0x328/0x630
[   23.418890]  ret_from_fork+0x10/0x20
[   23.418932] 
[   23.418980] CPU: 0 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B   W        N  6.15.1-rc1 #1 PREEMPT 
[   23.419071] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   23.419104] Hardware name: linux,dummy-virt (DT)
[   23.419138] ==================================================================

[   24.462054] ==================================================================
[   24.462544] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   24.462544] 
[   24.462879] Invalid free of 0x(____ptrval____) (in kfence-#112):
[   24.463116]  test_invalid_addr_free+0xfb/0x260
[   24.463473]  kunit_try_run_case+0x1a5/0x480
[   24.463838]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.464275]  kthread+0x337/0x6f0
[   24.464617]  ret_from_fork+0x41/0x80
[   24.465400]  ret_from_fork_asm+0x1a/0x30
[   24.465864] 
[   24.466072] kfence-#112: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   24.466072] 
[   24.466687] allocated by task 330 on cpu 0 at 24.461850s (0.004834s ago):
[   24.467493]  test_alloc+0x2a6/0x10f0
[   24.467725]  test_invalid_addr_free+0xdb/0x260
[   24.468001]  kunit_try_run_case+0x1a5/0x480
[   24.468454]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.468723]  kthread+0x337/0x6f0
[   24.469302]  ret_from_fork+0x41/0x80
[   24.469765]  ret_from_fork_asm+0x1a/0x30
[   24.470243] 
[   24.470423] CPU: 0 UID: 0 PID: 330 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT(voluntary) 
[   24.471485] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.471756] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.472434] ==================================================================
[   24.357329] ==================================================================
[   24.357732] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   24.357732] 
[   24.358054] Invalid free of 0x(____ptrval____) (in kfence-#111):
[   24.358640]  test_invalid_addr_free+0x1e1/0x260
[   24.359194]  kunit_try_run_case+0x1a5/0x480
[   24.359610]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.360207]  kthread+0x337/0x6f0
[   24.360719]  ret_from_fork+0x41/0x80
[   24.361028]  ret_from_fork_asm+0x1a/0x30
[   24.361354] 
[   24.361520] kfence-#111: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   24.361520] 
[   24.362144] allocated by task 328 on cpu 1 at 24.357072s (0.005065s ago):
[   24.362660]  test_alloc+0x364/0x10f0
[   24.363020]  test_invalid_addr_free+0xdb/0x260
[   24.363286]  kunit_try_run_case+0x1a5/0x480
[   24.363510]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   24.363948]  kthread+0x337/0x6f0
[   24.364357]  ret_from_fork+0x41/0x80
[   24.364792]  ret_from_fork_asm+0x1a/0x30
[   24.365191] 
[   24.365518] CPU: 1 UID: 0 PID: 328 Comm: kunit_try_catch Tainted: G    B            N  6.15.1-rc1 #1 PREEMPT(voluntary) 
[   24.366293] Tainted: [B]=BAD_PAGE, [N]=TEST
[   24.366504] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   24.367006] ==================================================================