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

Environment
qemu-arm64
qemu-x86_64
rk3399-rock-pi-4b

[   30.519137] ==================================================================
[   30.519236] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   30.519236] 
[   30.519351] Invalid free of 0x00000000f56e84a8 (in kfence-#129):
[   30.519798]  test_double_free+0x1bc/0x238
[   30.520300]  kunit_try_run_case+0x170/0x3f0
[   30.520693]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.521015]  kthread+0x328/0x630
[   30.521473]  ret_from_fork+0x10/0x20
[   30.521604] 
[   30.522281] kfence-#129: 0x00000000f56e84a8-0x00000000ff38196d, size=32, cache=kmalloc-32
[   30.522281] 
[   30.522430] allocated by task 305 on cpu 0 at 30.518573s (0.003848s ago):
[   30.523161]  test_alloc+0x29c/0x628
[   30.523635]  test_double_free+0xd4/0x238
[   30.524071]  kunit_try_run_case+0x170/0x3f0
[   30.524548]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.524750]  kthread+0x328/0x630
[   30.525255]  ret_from_fork+0x10/0x20
[   30.525452] 
[   30.525629] freed by task 305 on cpu 0 at 30.518760s (0.006838s ago):
[   30.526187]  test_double_free+0x1ac/0x238
[   30.526546]  kunit_try_run_case+0x170/0x3f0
[   30.527072]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.527284]  kthread+0x328/0x630
[   30.527736]  ret_from_fork+0x10/0x20
[   30.528209] 
[   30.528496] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   30.528999] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.529480] Hardware name: linux,dummy-virt (DT)
[   30.530351] ==================================================================
[   30.622483] ==================================================================
[   30.622584] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   30.622584] 
[   30.623080] Invalid free of 0x00000000b47831fc (in kfence-#130):
[   30.623192]  test_double_free+0x100/0x238
[   30.623604]  kunit_try_run_case+0x170/0x3f0
[   30.623893]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.624437]  kthread+0x328/0x630
[   30.624602]  ret_from_fork+0x10/0x20
[   30.624835] 
[   30.625267] kfence-#130: 0x00000000b47831fc-0x0000000063b777d5, size=32, cache=test
[   30.625267] 
[   30.625478] allocated by task 307 on cpu 0 at 30.621552s (0.003916s ago):
[   30.626032]  test_alloc+0x230/0x628
[   30.626268]  test_double_free+0xd4/0x238
[   30.626459]  kunit_try_run_case+0x170/0x3f0
[   30.626843]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.627591]  kthread+0x328/0x630
[   30.627788]  ret_from_fork+0x10/0x20
[   30.628522] 
[   30.628617] freed by task 307 on cpu 0 at 30.622025s (0.006583s ago):
[   30.628788]  test_double_free+0xf0/0x238
[   30.628884]  kunit_try_run_case+0x170/0x3f0
[   30.629005]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   30.629441]  kthread+0x328/0x630
[   30.629575]  ret_from_fork+0x10/0x20
[   30.629694] 
[   30.630625] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   30.630921] Tainted: [B]=BAD_PAGE, [N]=TEST
[   30.631163] Hardware name: linux,dummy-virt (DT)
[   30.631282] ==================================================================

[   17.416884] ==================================================================
[   17.417362] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   17.417362] 
[   17.417745] Invalid free of 0x(____ptrval____) (in kfence-#74):
[   17.418025]  test_double_free+0x112/0x260
[   17.418181]  kunit_try_run_case+0x1a5/0x480
[   17.418390]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.418671]  kthread+0x337/0x6f0
[   17.418869]  ret_from_fork+0x41/0x80
[   17.419030]  ret_from_fork_asm+0x1a/0x30
[   17.419226] 
[   17.419334] kfence-#74: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   17.419334] 
[   17.419749] allocated by task 326 on cpu 0 at 17.416714s (0.003033s ago):
[   17.420081]  test_alloc+0x2a6/0x10f0
[   17.420260]  test_double_free+0xdb/0x260
[   17.420486]  kunit_try_run_case+0x1a5/0x480
[   17.420722]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.420980]  kthread+0x337/0x6f0
[   17.421140]  ret_from_fork+0x41/0x80
[   17.421269]  ret_from_fork_asm+0x1a/0x30
[   17.421547] 
[   17.421643] freed by task 326 on cpu 0 at 17.416769s (0.004873s ago):
[   17.421968]  test_double_free+0xfa/0x260
[   17.422208]  kunit_try_run_case+0x1a5/0x480
[   17.422368]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.422586]  kthread+0x337/0x6f0
[   17.422778]  ret_from_fork+0x41/0x80
[   17.422982]  ret_from_fork_asm+0x1a/0x30
[   17.423193] 
[   17.423341] CPU: 0 UID: 0 PID: 326 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   17.423868] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.424069] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.424515] ==================================================================
[   17.312971] ==================================================================
[   17.313497] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   17.313497] 
[   17.313877] Invalid free of 0x(____ptrval____) (in kfence-#73):
[   17.314140]  test_double_free+0x1d3/0x260
[   17.314376]  kunit_try_run_case+0x1a5/0x480
[   17.314615]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.314869]  kthread+0x337/0x6f0
[   17.315028]  ret_from_fork+0x41/0x80
[   17.315200]  ret_from_fork_asm+0x1a/0x30
[   17.315408] 
[   17.315575] kfence-#73: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   17.315575] 
[   17.315965] allocated by task 324 on cpu 1 at 17.312748s (0.003215s ago):
[   17.316287]  test_alloc+0x364/0x10f0
[   17.316530]  test_double_free+0xdb/0x260
[   17.316747]  kunit_try_run_case+0x1a5/0x480
[   17.316985]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.317236]  kthread+0x337/0x6f0
[   17.317424]  ret_from_fork+0x41/0x80
[   17.317609]  ret_from_fork_asm+0x1a/0x30
[   17.317764] 
[   17.317843] freed by task 324 on cpu 1 at 17.312839s (0.005001s ago):
[   17.318690]  test_double_free+0x1e0/0x260
[   17.318917]  kunit_try_run_case+0x1a5/0x480
[   17.319122]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   17.319567]  kthread+0x337/0x6f0
[   17.319763]  ret_from_fork+0x41/0x80
[   17.319946]  ret_from_fork_asm+0x1a/0x30
[   17.320110] 
[   17.320207] CPU: 1 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT(voluntary) 
[   17.320699] Tainted: [B]=BAD_PAGE, [N]=TEST
[   17.320857] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   17.321263] ==================================================================

[   27.174074] ==================================================================
[   27.174741] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   27.174741] 
[   27.175449] Invalid free of 0x(____ptrval____) (in kfence-#96):
[   27.175979]  test_double_free+0x1bc/0x238
[   27.176345]  kunit_try_run_case+0x170/0x3f0
[   27.176728]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.177224]  kthread+0x328/0x630
[   27.177525]  ret_from_fork+0x10/0x20
[   27.177853] 
[   27.177994] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   27.177994] 
[   27.178840] allocated by task 357 on cpu 4 at 27.174020s (0.004819s ago):
[   27.179451]  test_alloc+0x29c/0x628
[   27.179768]  test_double_free+0xd4/0x238
[   27.180124]  kunit_try_run_case+0x170/0x3f0
[   27.180503]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.180996]  kthread+0x328/0x630
[   27.181295]  ret_from_fork+0x10/0x20
[   27.181619] 
[   27.181759] freed by task 357 on cpu 4 at 27.174029s (0.007729s ago):
[   27.182339]  test_double_free+0x1ac/0x238
[   27.182702]  kunit_try_run_case+0x170/0x3f0
[   27.183082]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.183575]  kthread+0x328/0x630
[   27.183871]  ret_from_fork+0x10/0x20
[   27.184198] 
[   27.184344] CPU: 4 UID: 0 PID: 357 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   27.185227] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.185602] Hardware name: Radxa ROCK Pi 4B (DT)
[   27.186016] ==================================================================
[   27.278141] ==================================================================
[   27.278809] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   27.278809] 
[   27.279514] Invalid free of 0x(____ptrval____) (in kfence-#97):
[   27.280043]  test_double_free+0x100/0x238
[   27.280406]  kunit_try_run_case+0x170/0x3f0
[   27.280787]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.281281]  kthread+0x328/0x630
[   27.281579]  ret_from_fork+0x10/0x20
[   27.281905] 
[   27.282044] kfence-#97: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   27.282044] 
[   27.282843] allocated by task 359 on cpu 4 at 27.278093s (0.004749s ago):
[   27.283450]  test_alloc+0x230/0x628
[   27.283766]  test_double_free+0xd4/0x238
[   27.284119]  kunit_try_run_case+0x170/0x3f0
[   27.284497]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.284987]  kthread+0x328/0x630
[   27.285282]  ret_from_fork+0x10/0x20
[   27.285606] 
[   27.285746] freed by task 359 on cpu 4 at 27.278101s (0.007643s ago):
[   27.286322]  test_double_free+0xf0/0x238
[   27.286676]  kunit_try_run_case+0x170/0x3f0
[   27.287053]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.287544]  kthread+0x328/0x630
[   27.287839]  ret_from_fork+0x10/0x20
[   27.288162] 
[   27.288307] CPU: 4 UID: 0 PID: 359 Comm: kunit_try_catch Tainted: G    B            N  6.15.0-rc3 #1 PREEMPT 
[   27.289188] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.289562] Hardware name: Radxa ROCK Pi 4B (DT)
[   27.289973] ==================================================================