Hay
Date
July 14, 2025, 10:38 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   85.753807] ==================================================================
[   85.753939] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   85.753939] 
[   85.754079] Invalid free of 0x(____ptrval____) (in kfence-#150):
[   85.754183]  test_invalid_addr_free+0x1ac/0x238
[   85.757685]  kunit_try_run_case+0x170/0x3f0
[   85.761852]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.767321]  kthread+0x328/0x630
[   85.770532]  ret_from_fork+0x10/0x20
[   85.774091] 
[   85.775570] kfence-#150: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   85.775570] 
[   85.785205] allocated by task 391 on cpu 2 at 85.753750s (0.031452s ago):
[   85.791992]  test_alloc+0x29c/0x628
[   85.795445]  test_invalid_addr_free+0xd4/0x238
[   85.799872]  kunit_try_run_case+0x170/0x3f0
[   85.804038]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.809509]  kthread+0x328/0x630
[   85.812719]  ret_from_fork+0x10/0x20
[   85.816279] 
[   85.817765] CPU: 2 UID: 0 PID: 391 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   85.828873] Tainted: [B]=BAD_PAGE, [N]=TEST
[   85.833033] Hardware name: WinLink E850-96 board (DT)
[   85.838069] ==================================================================
[   85.961805] ==================================================================
[   85.961934] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   85.961934] 
[   85.962066] Invalid free of 0x(____ptrval____) (in kfence-#152):
[   85.962176]  test_invalid_addr_free+0xec/0x238
[   85.965507]  kunit_try_run_case+0x170/0x3f0
[   85.969674]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   85.975143]  kthread+0x328/0x630
[   85.978354]  ret_from_fork+0x10/0x20
[   85.981913] 
[   85.983391] kfence-#152: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   85.983391] 
[   85.992506] allocated by task 393 on cpu 3 at 85.961745s (0.030759s ago):
[   85.999292]  test_alloc+0x230/0x628
[   86.002746]  test_invalid_addr_free+0xd4/0x238
[   86.007174]  kunit_try_run_case+0x170/0x3f0
[   86.011340]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.016808]  kthread+0x328/0x630
[   86.020020]  ret_from_fork+0x10/0x20
[   86.023580] 
[   86.025066] CPU: 3 UID: 0 PID: 393 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   86.036175] Tainted: [B]=BAD_PAGE, [N]=TEST
[   86.040334] Hardware name: WinLink E850-96 board (DT)
[   86.045370] ==================================================================

[   35.036750] ==================================================================
[   35.036848] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   35.036848] 
[   35.036911] Invalid free of 0x00000000a251537a (in kfence-#136):
[   35.036967]  test_invalid_addr_free+0xec/0x238
[   35.037015]  kunit_try_run_case+0x170/0x3f0
[   35.037076]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.037121]  kthread+0x328/0x630
[   35.037162]  ret_from_fork+0x10/0x20
[   35.037203] 
[   35.037227] kfence-#136: 0x00000000d212235e-0x00000000ccef3bd3, size=32, cache=test
[   35.037227] 
[   35.037280] allocated by task 340 on cpu 0 at 35.036621s (0.000655s ago):
[   35.037344]  test_alloc+0x230/0x628
[   35.037385]  test_invalid_addr_free+0xd4/0x238
[   35.037426]  kunit_try_run_case+0x170/0x3f0
[   35.037468]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.037508]  kthread+0x328/0x630
[   35.037544]  ret_from_fork+0x10/0x20
[   35.037582] 
[   35.037632] CPU: 0 UID: 0 PID: 340 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   35.037712] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.037742] Hardware name: linux,dummy-virt (DT)
[   35.037774] ==================================================================
[   34.932793] ==================================================================
[   34.932897] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   34.932897] 
[   34.932962] Invalid free of 0x000000003c39334c (in kfence-#135):
[   34.933020]  test_invalid_addr_free+0x1ac/0x238
[   34.933086]  kunit_try_run_case+0x170/0x3f0
[   34.933133]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.933175]  kthread+0x328/0x630
[   34.933216]  ret_from_fork+0x10/0x20
[   34.933257] 
[   34.933281] kfence-#135: 0x00000000abbe6914-0x000000009d7f57e5, size=32, cache=kmalloc-32
[   34.933281] 
[   34.933337] allocated by task 338 on cpu 0 at 34.932636s (0.000697s ago):
[   34.933402]  test_alloc+0x29c/0x628
[   34.933444]  test_invalid_addr_free+0xd4/0x238
[   34.933489]  kunit_try_run_case+0x170/0x3f0
[   34.933531]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   34.933573]  kthread+0x328/0x630
[   34.933621]  ret_from_fork+0x10/0x20
[   34.933662] 
[   34.933710] CPU: 0 UID: 0 PID: 338 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6-next-20250714 #1 PREEMPT 
[   34.933792] Tainted: [B]=BAD_PAGE, [N]=TEST
[   34.933824] Hardware name: linux,dummy-virt (DT)
[   34.933857] ==================================================================

[   30.332429] ==================================================================
[   30.333042] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   30.333042] 
[   30.333409] Invalid free of 0x(____ptrval____) (in kfence-#103):
[   30.333723]  test_invalid_addr_free+0xfb/0x260
[   30.333990]  kunit_try_run_case+0x1a5/0x480
[   30.334214]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.334386]  kthread+0x337/0x6f0
[   30.334515]  ret_from_fork+0x116/0x1d0
[   30.334710]  ret_from_fork_asm+0x1a/0x30
[   30.334927] 
[   30.335020] kfence-#103: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   30.335020] 
[   30.335705] allocated by task 358 on cpu 1 at 30.332296s (0.003405s ago):
[   30.336420]  test_alloc+0x2a6/0x10f0
[   30.336836]  test_invalid_addr_free+0xdb/0x260
[   30.337042]  kunit_try_run_case+0x1a5/0x480
[   30.337239]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.337700]  kthread+0x337/0x6f0
[   30.337998]  ret_from_fork+0x116/0x1d0
[   30.338284]  ret_from_fork_asm+0x1a/0x30
[   30.338585] 
[   30.338753] CPU: 1 UID: 0 PID: 358 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) 
[   30.339281] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   30.339710] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.340235] ==================================================================
[   30.228436] ==================================================================
[   30.228906] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   30.228906] 
[   30.229337] Invalid free of 0x(____ptrval____) (in kfence-#102):
[   30.229660]  test_invalid_addr_free+0x1e1/0x260
[   30.230203]  kunit_try_run_case+0x1a5/0x480
[   30.230422]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.230675]  kthread+0x337/0x6f0
[   30.230885]  ret_from_fork+0x116/0x1d0
[   30.231058]  ret_from_fork_asm+0x1a/0x30
[   30.231245] 
[   30.231322] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   30.231322] 
[   30.231615] allocated by task 356 on cpu 1 at 30.228299s (0.003313s ago):
[   30.231888]  test_alloc+0x364/0x10f0
[   30.232161]  test_invalid_addr_free+0xdb/0x260
[   30.232455]  kunit_try_run_case+0x1a5/0x480
[   30.232810]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   30.233458]  kthread+0x337/0x6f0
[   30.233595]  ret_from_fork+0x116/0x1d0
[   30.233738]  ret_from_fork_asm+0x1a/0x30
[   30.233873] 
[   30.233965] CPU: 1 UID: 0 PID: 356 Comm: kunit_try_catch Tainted: G    B   W        N  6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) 
[   30.234314] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST
[   30.234465] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   30.234833] ==================================================================