Hay
Date
June 17, 2025, 3:40 p.m.

Environment
qemu-arm64
qemu-x86_64

[   28.025156] ==================================================================
[   28.026320] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   28.026320] 
[   28.026588] Invalid free of 0x000000004bf93b36 (in kfence-#130):
[   28.026760]  test_double_free+0x100/0x238
[   28.027327]  kunit_try_run_case+0x170/0x3f0
[   28.027500]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.028025]  kthread+0x328/0x630
[   28.028251]  ret_from_fork+0x10/0x20
[   28.028362] 
[   28.028428] kfence-#130: 0x000000004bf93b36-0x0000000086949a7f, size=32, cache=test
[   28.028428] 
[   28.028965] allocated by task 307 on cpu 0 at 28.024548s (0.004407s ago):
[   28.029424]  test_alloc+0x230/0x628
[   28.029529]  test_double_free+0xd4/0x238
[   28.030030]  kunit_try_run_case+0x170/0x3f0
[   28.030451]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.030799]  kthread+0x328/0x630
[   28.030903]  ret_from_fork+0x10/0x20
[   28.031058] 
[   28.031121] freed by task 307 on cpu 0 at 28.024707s (0.006406s ago):
[   28.031332]  test_double_free+0xf0/0x238
[   28.031431]  kunit_try_run_case+0x170/0x3f0
[   28.031541]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   28.033410]  kthread+0x328/0x630
[   28.033555]  ret_from_fork+0x10/0x20
[   28.033647] 
[   28.033759] CPU: 0 UID: 0 PID: 307 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT 
[   28.033934] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.033995] Hardware name: linux,dummy-virt (DT)
[   28.034066] ==================================================================
[   27.917388] ==================================================================
[   27.917847] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   27.917847] 
[   27.917990] Invalid free of 0x00000000e3c6d5dd (in kfence-#129):
[   27.918556]  test_double_free+0x1bc/0x238
[   27.918724]  kunit_try_run_case+0x170/0x3f0
[   27.918928]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.919272]  kthread+0x328/0x630
[   27.919607]  ret_from_fork+0x10/0x20
[   27.919778] 
[   27.919985] kfence-#129: 0x00000000e3c6d5dd-0x00000000652e3052, size=32, cache=kmalloc-32
[   27.919985] 
[   27.920374] allocated by task 305 on cpu 0 at 27.915315s (0.005048s ago):
[   27.920757]  test_alloc+0x29c/0x628
[   27.921115]  test_double_free+0xd4/0x238
[   27.921432]  kunit_try_run_case+0x170/0x3f0
[   27.921528]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.921609]  kthread+0x328/0x630
[   27.922184]  ret_from_fork+0x10/0x20
[   27.922597] 
[   27.922845] freed by task 305 on cpu 0 at 27.916317s (0.006517s ago):
[   27.923104]  test_double_free+0x1ac/0x238
[   27.923418]  kunit_try_run_case+0x170/0x3f0
[   27.923577]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   27.923927]  kthread+0x328/0x630
[   27.924031]  ret_from_fork+0x10/0x20
[   27.924404] 
[   27.924709] CPU: 0 UID: 0 PID: 305 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT 
[   27.925074] Tainted: [B]=BAD_PAGE, [N]=TEST
[   27.925439] Hardware name: linux,dummy-virt (DT)
[   27.925746] ==================================================================

[   28.411938] ==================================================================
[   28.412564] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   28.412564] 
[   28.413221] Invalid free of 0x(____ptrval____) (in kfence-#115):
[   28.413711]  test_double_free+0x112/0x260
[   28.414120]  kunit_try_run_case+0x1a5/0x480
[   28.414490]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.415018]  kthread+0x337/0x6f0
[   28.415380]  ret_from_fork+0x41/0x80
[   28.415722]  ret_from_fork_asm+0x1a/0x30
[   28.416251] 
[   28.416473] kfence-#115: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   28.416473] 
[   28.417114] allocated by task 325 on cpu 0 at 28.411645s (0.005463s ago):
[   28.417592]  test_alloc+0x2a6/0x10f0
[   28.418036]  test_double_free+0xdb/0x260
[   28.418596]  kunit_try_run_case+0x1a5/0x480
[   28.419040]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.419638]  kthread+0x337/0x6f0
[   28.419982]  ret_from_fork+0x41/0x80
[   28.420409]  ret_from_fork_asm+0x1a/0x30
[   28.420731] 
[   28.420910] freed by task 325 on cpu 0 at 28.411741s (0.009164s ago):
[   28.421500]  test_double_free+0xfa/0x260
[   28.422053]  kunit_try_run_case+0x1a5/0x480
[   28.422525]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.422958]  kthread+0x337/0x6f0
[   28.423253]  ret_from_fork+0x41/0x80
[   28.423700]  ret_from_fork_asm+0x1a/0x30
[   28.424336] 
[   28.424632] CPU: 0 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT(voluntary) 
[   28.425645] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.426047] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.426755] ==================================================================
[   28.308003] ==================================================================
[   28.308689] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   28.308689] 
[   28.309438] Invalid free of 0x(____ptrval____) (in kfence-#114):
[   28.310074]  test_double_free+0x1d3/0x260
[   28.310459]  kunit_try_run_case+0x1a5/0x480
[   28.310948]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.311536]  kthread+0x337/0x6f0
[   28.312015]  ret_from_fork+0x41/0x80
[   28.312392]  ret_from_fork_asm+0x1a/0x30
[   28.312776] 
[   28.313039] kfence-#114: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   28.313039] 
[   28.314038] allocated by task 323 on cpu 0 at 28.307642s (0.006390s ago):
[   28.314715]  test_alloc+0x364/0x10f0
[   28.315164]  test_double_free+0xdb/0x260
[   28.315626]  kunit_try_run_case+0x1a5/0x480
[   28.316081]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.316540]  kthread+0x337/0x6f0
[   28.316825]  ret_from_fork+0x41/0x80
[   28.317348]  ret_from_fork_asm+0x1a/0x30
[   28.317861] 
[   28.318122] freed by task 323 on cpu 0 at 28.307747s (0.010370s ago):
[   28.318643]  test_double_free+0x1e0/0x260
[   28.319043]  kunit_try_run_case+0x1a5/0x480
[   28.319781]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   28.320508]  kthread+0x337/0x6f0
[   28.320887]  ret_from_fork+0x41/0x80
[   28.321335]  ret_from_fork_asm+0x1a/0x30
[   28.321751] 
[   28.322081] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.15.3-rc1 #1 PREEMPT(voluntary) 
[   28.322840] Tainted: [B]=BAD_PAGE, [N]=TEST
[   28.323401] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   28.324074] ==================================================================