Hay
Date
July 13, 2025, 11:09 p.m.

Environment
qemu-arm64
qemu-x86_64

[   20.610802] ==================================================================
[   20.610922] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   20.610922] 
[   20.610981] Invalid free of 0x00000000d1421d74 (in kfence-#92):
[   20.611035]  test_double_free+0x100/0x238
[   20.611527]  kunit_try_run_case+0x170/0x3f0
[   20.611597]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.611682]  kthread+0x328/0x630
[   20.611971]  ret_from_fork+0x10/0x20
[   20.612090] 
[   20.612140] kfence-#92: 0x00000000d1421d74-0x0000000078fab22f, size=32, cache=test
[   20.612140] 
[   20.612354] allocated by task 306 on cpu 0 at 20.610132s (0.002144s ago):
[   20.612525]  test_alloc+0x230/0x628
[   20.612698]  test_double_free+0xd4/0x238
[   20.612759]  kunit_try_run_case+0x170/0x3f0
[   20.612806]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.612848]  kthread+0x328/0x630
[   20.613208]  ret_from_fork+0x10/0x20
[   20.613397] 
[   20.613531] freed by task 306 on cpu 0 at 20.610510s (0.002980s ago):
[   20.613747]  test_double_free+0xf0/0x238
[   20.613792]  kunit_try_run_case+0x170/0x3f0
[   20.614182]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.614281]  kthread+0x328/0x630
[   20.614512]  ret_from_fork+0x10/0x20
[   20.614641] 
[   20.614697] CPU: 0 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.615049] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.615350] Hardware name: linux,dummy-virt (DT)
[   20.615433] ==================================================================
[   20.506218] ==================================================================
[   20.506327] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   20.506327] 
[   20.506737] Invalid free of 0x000000008b10a104 (in kfence-#91):
[   20.506821]  test_double_free+0x1bc/0x238
[   20.506947]  kunit_try_run_case+0x170/0x3f0
[   20.506999]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.507044]  kthread+0x328/0x630
[   20.507126]  ret_from_fork+0x10/0x20
[   20.507170] 
[   20.507283] kfence-#91: 0x000000008b10a104-0x000000002b435d2a, size=32, cache=kmalloc-32
[   20.507283] 
[   20.507366] allocated by task 304 on cpu 0 at 20.505135s (0.002225s ago):
[   20.507488]  test_alloc+0x29c/0x628
[   20.507531]  test_double_free+0xd4/0x238
[   20.507571]  kunit_try_run_case+0x170/0x3f0
[   20.507609]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.507652]  kthread+0x328/0x630
[   20.507694]  ret_from_fork+0x10/0x20
[   20.507734] 
[   20.507765] freed by task 304 on cpu 0 at 20.505225s (0.002528s ago):
[   20.507829]  test_double_free+0x1ac/0x238
[   20.507868]  kunit_try_run_case+0x170/0x3f0
[   20.507908]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   20.507961]  kthread+0x328/0x630
[   20.507997]  ret_from_fork+0x10/0x20
[   20.508036] 
[   20.508083] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   20.508391] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.508477] Hardware name: linux,dummy-virt (DT)
[   20.508914] ==================================================================

[   21.792096] ==================================================================
[   21.792204] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   21.792204] 
[   21.792270] Invalid free of 0x00000000202f215f (in kfence-#96):
[   21.792324]  test_double_free+0x100/0x238
[   21.792369]  kunit_try_run_case+0x170/0x3f0
[   21.792414]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.792459]  kthread+0x328/0x630
[   21.792497]  ret_from_fork+0x10/0x20
[   21.792537] 
[   21.792561] kfence-#96: 0x00000000202f215f-0x000000009cae078c, size=32, cache=test
[   21.792561] 
[   21.792614] allocated by task 306 on cpu 0 at 21.791873s (0.000737s ago):
[   21.792674]  test_alloc+0x230/0x628
[   21.792716]  test_double_free+0xd4/0x238
[   21.792756]  kunit_try_run_case+0x170/0x3f0
[   21.792796]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.792838]  kthread+0x328/0x630
[   21.792874]  ret_from_fork+0x10/0x20
[   21.792912] 
[   21.792936] freed by task 306 on cpu 0 at 21.791946s (0.000986s ago):
[   21.792996]  test_double_free+0xf0/0x238
[   21.793036]  kunit_try_run_case+0x170/0x3f0
[   21.793075]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.793118]  kthread+0x328/0x630
[   21.793152]  ret_from_fork+0x10/0x20
[   21.793203] 
[   21.793245] CPU: 0 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.793324] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.793352] Hardware name: linux,dummy-virt (DT)
[   21.793387] ==================================================================
[   21.688077] ==================================================================
[   21.688211] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   21.688211] 
[   21.688282] Invalid free of 0x000000001d53076b (in kfence-#95):
[   21.688347]  test_double_free+0x1bc/0x238
[   21.688393]  kunit_try_run_case+0x170/0x3f0
[   21.688443]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.688488]  kthread+0x328/0x630
[   21.688527]  ret_from_fork+0x10/0x20
[   21.688567] 
[   21.688591] kfence-#95: 0x000000001d53076b-0x000000004d01d73c, size=32, cache=kmalloc-32
[   21.688591] 
[   21.688646] allocated by task 304 on cpu 0 at 21.687782s (0.000860s ago):
[   21.688710]  test_alloc+0x29c/0x628
[   21.688750]  test_double_free+0xd4/0x238
[   21.688791]  kunit_try_run_case+0x170/0x3f0
[   21.688830]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.688874]  kthread+0x328/0x630
[   21.688910]  ret_from_fork+0x10/0x20
[   21.688950] 
[   21.688973] freed by task 304 on cpu 0 at 21.687860s (0.001109s ago):
[   21.689034]  test_double_free+0x1ac/0x238
[   21.689073]  kunit_try_run_case+0x170/0x3f0
[   21.689112]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.689158]  kthread+0x328/0x630
[   21.689206]  ret_from_fork+0x10/0x20
[   21.689247] 
[   21.689291] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT 
[   21.689372] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.689401] Hardware name: linux,dummy-virt (DT)
[   21.689438] ==================================================================

[   19.413095] ==================================================================
[   19.413521] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   19.413521] 
[   19.413900] Invalid free of 0x(____ptrval____) (in kfence-#87):
[   19.414200]  test_double_free+0x112/0x260
[   19.414407]  kunit_try_run_case+0x1a5/0x480
[   19.414672]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.414878]  kthread+0x337/0x6f0
[   19.415053]  ret_from_fork+0x116/0x1d0
[   19.415187]  ret_from_fork_asm+0x1a/0x30
[   19.415380] 
[   19.415516] kfence-#87: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   19.415516] 
[   19.415887] allocated by task 323 on cpu 1 at 19.412932s (0.002953s ago):
[   19.416215]  test_alloc+0x2a6/0x10f0
[   19.416430]  test_double_free+0xdb/0x260
[   19.416625]  kunit_try_run_case+0x1a5/0x480
[   19.416810]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.417063]  kthread+0x337/0x6f0
[   19.417232]  ret_from_fork+0x116/0x1d0
[   19.417413]  ret_from_fork_asm+0x1a/0x30
[   19.417592] 
[   19.417664] freed by task 323 on cpu 1 at 19.412975s (0.004686s ago):
[   19.418086]  test_double_free+0xfa/0x260
[   19.418285]  kunit_try_run_case+0x1a5/0x480
[   19.418508]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.418812]  kthread+0x337/0x6f0
[   19.419015]  ret_from_fork+0x116/0x1d0
[   19.419222]  ret_from_fork_asm+0x1a/0x30
[   19.419396] 
[   19.419559] CPU: 1 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.420004] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.420172] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.420612] ==================================================================
[   19.309175] ==================================================================
[   19.309730] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   19.309730] 
[   19.310086] Invalid free of 0x(____ptrval____) (in kfence-#86):
[   19.310354]  test_double_free+0x1d3/0x260
[   19.310520]  kunit_try_run_case+0x1a5/0x480
[   19.310695]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.311114]  kthread+0x337/0x6f0
[   19.311257]  ret_from_fork+0x116/0x1d0
[   19.311399]  ret_from_fork_asm+0x1a/0x30
[   19.312211] 
[   19.312333] kfence-#86: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   19.312333] 
[   19.312877] allocated by task 321 on cpu 0 at 19.308906s (0.003969s ago):
[   19.313180]  test_alloc+0x364/0x10f0
[   19.313354]  test_double_free+0xdb/0x260
[   19.313919]  kunit_try_run_case+0x1a5/0x480
[   19.314123]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.314428]  kthread+0x337/0x6f0
[   19.314614]  ret_from_fork+0x116/0x1d0
[   19.314786]  ret_from_fork_asm+0x1a/0x30
[   19.314959] 
[   19.315045] freed by task 321 on cpu 0 at 19.308986s (0.006057s ago):
[   19.315327]  test_double_free+0x1e0/0x260
[   19.315818]  kunit_try_run_case+0x1a5/0x480
[   19.315991]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   19.316371]  kthread+0x337/0x6f0
[   19.316584]  ret_from_fork+0x116/0x1d0
[   19.316881]  ret_from_fork_asm+0x1a/0x30
[   19.317146] 
[   19.317265] CPU: 0 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   19.317991] Tainted: [B]=BAD_PAGE, [N]=TEST
[   19.318186] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   19.318956] ==================================================================

[   18.777164] ==================================================================
[   18.777618] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   18.777618] 
[   18.777994] Invalid free of 0x(____ptrval____) (in kfence-#77):
[   18.778270]  test_double_free+0x112/0x260
[   18.778603]  kunit_try_run_case+0x1a5/0x480
[   18.778822]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.779074]  kthread+0x337/0x6f0
[   18.779264]  ret_from_fork+0x116/0x1d0
[   18.779520]  ret_from_fork_asm+0x1a/0x30
[   18.779724] 
[   18.779822] kfence-#77: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   18.779822] 
[   18.780218] allocated by task 324 on cpu 0 at 18.776905s (0.003310s ago):
[   18.780484]  test_alloc+0x2a6/0x10f0
[   18.780617]  test_double_free+0xdb/0x260
[   18.780901]  kunit_try_run_case+0x1a5/0x480
[   18.781145]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.781327]  kthread+0x337/0x6f0
[   18.781618]  ret_from_fork+0x116/0x1d0
[   18.781815]  ret_from_fork_asm+0x1a/0x30
[   18.782047] 
[   18.782164] freed by task 324 on cpu 0 at 18.776966s (0.005196s ago):
[   18.782493]  test_double_free+0xfa/0x260
[   18.782636]  kunit_try_run_case+0x1a5/0x480
[   18.782852]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.783186]  kthread+0x337/0x6f0
[   18.783320]  ret_from_fork+0x116/0x1d0
[   18.783510]  ret_from_fork_asm+0x1a/0x30
[   18.783732] 
[   18.783870] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.784376] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.784579] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.784851] ==================================================================
[   18.673230] ==================================================================
[   18.673653] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   18.673653] 
[   18.674072] Invalid free of 0x(____ptrval____) (in kfence-#76):
[   18.674438]  test_double_free+0x1d3/0x260
[   18.674619]  kunit_try_run_case+0x1a5/0x480
[   18.674775]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.674990]  kthread+0x337/0x6f0
[   18.675239]  ret_from_fork+0x116/0x1d0
[   18.675454]  ret_from_fork_asm+0x1a/0x30
[   18.675662] 
[   18.675778] kfence-#76: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   18.675778] 
[   18.676103] allocated by task 322 on cpu 1 at 18.672963s (0.003139s ago):
[   18.676421]  test_alloc+0x364/0x10f0
[   18.676606]  test_double_free+0xdb/0x260
[   18.676832]  kunit_try_run_case+0x1a5/0x480
[   18.677002]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.677357]  kthread+0x337/0x6f0
[   18.677534]  ret_from_fork+0x116/0x1d0
[   18.677694]  ret_from_fork_asm+0x1a/0x30
[   18.677903] 
[   18.678006] freed by task 322 on cpu 1 at 18.673028s (0.004976s ago):
[   18.678343]  test_double_free+0x1e0/0x260
[   18.678558]  kunit_try_run_case+0x1a5/0x480
[   18.678766]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   18.679007]  kthread+0x337/0x6f0
[   18.679274]  ret_from_fork+0x116/0x1d0
[   18.679409]  ret_from_fork_asm+0x1a/0x30
[   18.679569] 
[   18.679717] CPU: 1 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[   18.680270] Tainted: [B]=BAD_PAGE, [N]=TEST
[   18.680439] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   18.680806] ==================================================================