Hay
Date
July 11, 2025, 10:11 a.m.

Environment
e850-96
qemu-arm64
qemu-x86_64

[   87.129112] ==================================================================
[   87.129242] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   87.129242] 
[   87.129373] Invalid free of 0x(____ptrval____) (in kfence-#152):
[   87.129476]  test_double_free+0x100/0x238
[   87.131947]  kunit_try_run_case+0x170/0x3f0
[   87.136113]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   87.141582]  kthread+0x328/0x630
[   87.144794]  ret_from_fork+0x10/0x20
[   87.148352] 
[   87.149832] kfence-#152: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   87.149832] 
[   87.158945] allocated by task 389 on cpu 4 at 87.129035s (0.029908s ago):
[   87.165731]  test_alloc+0x230/0x628
[   87.169185]  test_double_free+0xd4/0x238
[   87.173092]  kunit_try_run_case+0x170/0x3f0
[   87.177258]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   87.182727]  kthread+0x328/0x630
[   87.185939]  ret_from_fork+0x10/0x20
[   87.189498] 
[   87.190976] freed by task 389 on cpu 4 at 87.129050s (0.061924s ago):
[   87.197416]  test_double_free+0xf0/0x238
[   87.201303]  kunit_try_run_case+0x170/0x3f0
[   87.205470]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   87.210938]  kthread+0x328/0x630
[   87.214150]  ret_from_fork+0x10/0x20
[   87.217711] 
[   87.219195] CPU: 4 UID: 0 PID: 389 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   87.230305] Tainted: [B]=BAD_PAGE, [N]=TEST
[   87.234464] Hardware name: WinLink E850-96 board (DT)
[   87.239501] ==================================================================
[   86.909125] ==================================================================
[   86.909257] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   86.909257] 
[   86.909392] Invalid free of 0x(____ptrval____) (in kfence-#150):
[   86.909496]  test_double_free+0x1bc/0x238
[   86.911960]  kunit_try_run_case+0x170/0x3f0
[   86.916127]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.921596]  kthread+0x328/0x630
[   86.924808]  ret_from_fork+0x10/0x20
[   86.928366] 
[   86.929845] kfence-#150: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   86.929845] 
[   86.939481] allocated by task 387 on cpu 7 at 86.909045s (0.030434s ago):
[   86.946265]  test_alloc+0x29c/0x628
[   86.949722]  test_double_free+0xd4/0x238
[   86.953627]  kunit_try_run_case+0x170/0x3f0
[   86.957793]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.963263]  kthread+0x328/0x630
[   86.966474]  ret_from_fork+0x10/0x20
[   86.970034] 
[   86.971514] freed by task 387 on cpu 7 at 86.909061s (0.062447s ago):
[   86.977952]  test_double_free+0x1ac/0x238
[   86.981925]  kunit_try_run_case+0x170/0x3f0
[   86.986091]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   86.991560]  kthread+0x328/0x630
[   86.994772]  ret_from_fork+0x10/0x20
[   86.998332] 
[   86.999818] CPU: 7 UID: 0 PID: 387 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   87.010930] Tainted: [B]=BAD_PAGE, [N]=TEST
[   87.015086] Hardware name: WinLink E850-96 board (DT)
[   87.020123] ==================================================================

[   35.046721] ==================================================================
[   35.046827] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   35.046827] 
[   35.046980] Invalid free of 0x00000000eecc345f (in kfence-#136):
[   35.047146]  test_double_free+0x1bc/0x238
[   35.047226]  kunit_try_run_case+0x170/0x3f0
[   35.047281]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.047359]  kthread+0x328/0x630
[   35.047402]  ret_from_fork+0x10/0x20
[   35.047460] 
[   35.047494] kfence-#136: 0x00000000eecc345f-0x0000000030a7a33e, size=32, cache=kmalloc-32
[   35.047494] 
[   35.047554] allocated by task 334 on cpu 0 at 35.046106s (0.001443s ago):
[   35.047618]  test_alloc+0x29c/0x628
[   35.047661]  test_double_free+0xd4/0x238
[   35.047775]  kunit_try_run_case+0x170/0x3f0
[   35.047818]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.047860]  kthread+0x328/0x630
[   35.047898]  ret_from_fork+0x10/0x20
[   35.047937] 
[   35.047967] freed by task 334 on cpu 0 at 35.046432s (0.001530s ago):
[   35.048031]  test_double_free+0x1ac/0x238
[   35.048073]  kunit_try_run_case+0x170/0x3f0
[   35.048114]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.048155]  kthread+0x328/0x630
[   35.048191]  ret_from_fork+0x10/0x20
[   35.048241] 
[   35.048288] CPU: 0 UID: 0 PID: 334 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   35.048380] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.048408] Hardware name: linux,dummy-virt (DT)
[   35.048441] ==================================================================
[   35.150669] ==================================================================
[   35.150745] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   35.150745] 
[   35.150831] Invalid free of 0x0000000027293636 (in kfence-#137):
[   35.150924]  test_double_free+0x100/0x238
[   35.150970]  kunit_try_run_case+0x170/0x3f0
[   35.151016]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.151068]  kthread+0x328/0x630
[   35.151134]  ret_from_fork+0x10/0x20
[   35.151175] 
[   35.151201] kfence-#137: 0x0000000027293636-0x00000000c117db09, size=32, cache=test
[   35.151201] 
[   35.151531] allocated by task 336 on cpu 0 at 35.150431s (0.000976s ago):
[   35.151628]  test_alloc+0x230/0x628
[   35.151748]  test_double_free+0xd4/0x238
[   35.151811]  kunit_try_run_case+0x170/0x3f0
[   35.151854]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.151911]  kthread+0x328/0x630
[   35.151969]  ret_from_fork+0x10/0x20
[   35.152024] 
[   35.152095] freed by task 336 on cpu 0 at 35.150516s (0.001569s ago):
[   35.152179]  test_double_free+0xf0/0x238
[   35.152222]  kunit_try_run_case+0x170/0x3f0
[   35.152265]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   35.152544]  kthread+0x328/0x630
[   35.152611]  ret_from_fork+0x10/0x20
[   35.152670] 
[   35.152752] CPU: 0 UID: 0 PID: 336 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT 
[   35.152844] Tainted: [B]=BAD_PAGE, [N]=TEST
[   35.152874] Hardware name: linux,dummy-virt (DT)
[   35.152907] ==================================================================

[   29.687825] ==================================================================
[   29.688211] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   29.688211] 
[   29.688604] Invalid free of 0x(____ptrval____) (in kfence-#103):
[   29.688971]  test_double_free+0x112/0x260
[   29.689174]  kunit_try_run_case+0x1a5/0x480
[   29.689315]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.689727]  kthread+0x337/0x6f0
[   29.689891]  ret_from_fork+0x116/0x1d0
[   29.690102]  ret_from_fork_asm+0x1a/0x30
[   29.690305] 
[   29.690390] kfence-#103: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   29.690390] 
[   29.690775] allocated by task 355 on cpu 0 at 29.687615s (0.003157s ago):
[   29.691040]  test_alloc+0x2a6/0x10f0
[   29.691190]  test_double_free+0xdb/0x260
[   29.691380]  kunit_try_run_case+0x1a5/0x480
[   29.691590]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.691837]  kthread+0x337/0x6f0
[   29.691987]  ret_from_fork+0x116/0x1d0
[   29.692169]  ret_from_fork_asm+0x1a/0x30
[   29.692348] 
[   29.692476] freed by task 355 on cpu 0 at 29.687673s (0.004801s ago):
[   29.692884]  test_double_free+0xfa/0x260
[   29.693043]  kunit_try_run_case+0x1a5/0x480
[   29.693269]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.693551]  kthread+0x337/0x6f0
[   29.693703]  ret_from_fork+0x116/0x1d0
[   29.693895]  ret_from_fork_asm+0x1a/0x30
[   29.694121] 
[   29.694242] CPU: 0 UID: 0 PID: 355 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT(voluntary) 
[   29.694725] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.694864] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.695166] ==================================================================
[   29.583924] ==================================================================
[   29.584349] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   29.584349] 
[   29.584761] Invalid free of 0x(____ptrval____) (in kfence-#102):
[   29.585082]  test_double_free+0x1d3/0x260
[   29.585271]  kunit_try_run_case+0x1a5/0x480
[   29.585802]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.586083]  kthread+0x337/0x6f0
[   29.586611]  ret_from_fork+0x116/0x1d0
[   29.586790]  ret_from_fork_asm+0x1a/0x30
[   29.586988] 
[   29.587169] kfence-#102: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   29.587169] 
[   29.587454] allocated by task 353 on cpu 1 at 29.583624s (0.003828s ago):
[   29.587954]  test_alloc+0x364/0x10f0
[   29.588122]  test_double_free+0xdb/0x260
[   29.588386]  kunit_try_run_case+0x1a5/0x480
[   29.588524]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.588689]  kthread+0x337/0x6f0
[   29.588814]  ret_from_fork+0x116/0x1d0
[   29.588940]  ret_from_fork_asm+0x1a/0x30
[   29.589069] 
[   29.589134] freed by task 353 on cpu 1 at 29.583702s (0.005430s ago):
[   29.589335]  test_double_free+0x1e0/0x260
[   29.589465]  kunit_try_run_case+0x1a5/0x480
[   29.589598]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   29.589813]  kthread+0x337/0x6f0
[   29.589955]  ret_from_fork+0x116/0x1d0
[   29.590436]  ret_from_fork_asm+0x1a/0x30
[   29.590870] 
[   29.591002] CPU: 1 UID: 0 PID: 353 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5-next-20250711 #1 PREEMPT(voluntary) 
[   29.592861] Tainted: [B]=BAD_PAGE, [N]=TEST
[   29.594127] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   29.594997] ==================================================================