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

Environment
qemu-arm64
qemu-x86_64
x86

[   22.027381] ==================================================================
[   22.027508] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   22.027508] 
[   22.027579] Invalid free of 0x0000000018b1b923 (in kfence-#93):
[   22.027650]  test_double_free+0x1bc/0x238
[   22.027698]  kunit_try_run_case+0x170/0x3f0
[   22.027744]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.027786]  kthread+0x328/0x630
[   22.027825]  ret_from_fork+0x10/0x20
[   22.027864] 
[   22.027888] kfence-#93: 0x0000000018b1b923-0x00000000f6588c4b, size=32, cache=kmalloc-32
[   22.027888] 
[   22.027941] allocated by task 304 on cpu 0 at 22.027098s (0.000840s ago):
[   22.028022]  test_alloc+0x29c/0x628
[   22.028062]  test_double_free+0xd4/0x238
[   22.028101]  kunit_try_run_case+0x170/0x3f0
[   22.028143]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.028184]  kthread+0x328/0x630
[   22.028218]  ret_from_fork+0x10/0x20
[   22.028257] 
[   22.028281] freed by task 304 on cpu 0 at 22.027170s (0.001108s ago):
[   22.028343]  test_double_free+0x1ac/0x238
[   22.028383]  kunit_try_run_case+0x170/0x3f0
[   22.028423]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.028465]  kthread+0x328/0x630
[   22.028501]  ret_from_fork+0x10/0x20
[   22.028540] 
[   22.028586] CPU: 0 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.028666] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.028695] Hardware name: linux,dummy-virt (DT)
[   22.028730] ==================================================================
[   22.131214] ==================================================================
[   22.131306] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   22.131306] 
[   22.131366] Invalid free of 0x0000000067dadba1 (in kfence-#94):
[   22.131422]  test_double_free+0x100/0x238
[   22.131468]  kunit_try_run_case+0x170/0x3f0
[   22.131508]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.131550]  kthread+0x328/0x630
[   22.131588]  ret_from_fork+0x10/0x20
[   22.131626] 
[   22.131649] kfence-#94: 0x0000000067dadba1-0x000000001af14dd3, size=32, cache=test
[   22.131649] 
[   22.131701] allocated by task 306 on cpu 0 at 22.131007s (0.000691s ago):
[   22.131763]  test_alloc+0x230/0x628
[   22.131802]  test_double_free+0xd4/0x238
[   22.131842]  kunit_try_run_case+0x170/0x3f0
[   22.131880]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.131924]  kthread+0x328/0x630
[   22.131958]  ret_from_fork+0x10/0x20
[   22.132010] 
[   22.132035] freed by task 306 on cpu 0 at 22.131066s (0.000966s ago):
[   22.132095]  test_double_free+0xf0/0x238
[   22.132136]  kunit_try_run_case+0x170/0x3f0
[   22.132176]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.132219]  kthread+0x328/0x630
[   22.132253]  ret_from_fork+0x10/0x20
[   22.132290] 
[   22.132332] CPU: 0 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.132409] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.132439] Hardware name: linux,dummy-virt (DT)
[   22.132472] ==================================================================

[   21.651235] ==================================================================
[   21.651354] BUG: KFENCE: invalid free in test_double_free+0x1bc/0x238
[   21.651354] 
[   21.651422] Invalid free of 0x0000000061d1c8cb (in kfence-#89):
[   21.651487]  test_double_free+0x1bc/0x238
[   21.651533]  kunit_try_run_case+0x170/0x3f0
[   21.651577]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.651620]  kthread+0x328/0x630
[   21.651660]  ret_from_fork+0x10/0x20
[   21.651699] 
[   21.651724] kfence-#89: 0x0000000061d1c8cb-0x00000000ff7f02b7, size=32, cache=kmalloc-32
[   21.651724] 
[   21.651780] allocated by task 304 on cpu 1 at 21.650431s (0.001345s ago):
[   21.651841]  test_alloc+0x29c/0x628
[   21.651882]  test_double_free+0xd4/0x238
[   21.651950]  kunit_try_run_case+0x170/0x3f0
[   21.651992]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.652035]  kthread+0x328/0x630
[   21.652072]  ret_from_fork+0x10/0x20
[   21.652110] 
[   21.652134] freed by task 304 on cpu 1 at 21.650923s (0.001208s ago):
[   21.652198]  test_double_free+0x1ac/0x238
[   21.652240]  kunit_try_run_case+0x170/0x3f0
[   21.652280]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.652323]  kthread+0x328/0x630
[   21.652359]  ret_from_fork+0x10/0x20
[   21.652400] 
[   21.652448] CPU: 1 UID: 0 PID: 304 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.652529] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.652558] Hardware name: linux,dummy-virt (DT)
[   21.652594] ==================================================================
[   21.754652] ==================================================================
[   21.754741] BUG: KFENCE: invalid free in test_double_free+0x100/0x238
[   21.754741] 
[   21.754803] Invalid free of 0x0000000051839fe7 (in kfence-#90):
[   21.754857]  test_double_free+0x100/0x238
[   21.754904]  kunit_try_run_case+0x170/0x3f0
[   21.754963]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.755006]  kthread+0x328/0x630
[   21.755044]  ret_from_fork+0x10/0x20
[   21.755083] 
[   21.755108] kfence-#90: 0x0000000051839fe7-0x00000000cbe12fd2, size=32, cache=test
[   21.755108] 
[   21.755161] allocated by task 306 on cpu 1 at 21.754437s (0.000720s ago):
[   21.755223]  test_alloc+0x230/0x628
[   21.755262]  test_double_free+0xd4/0x238
[   21.755303]  kunit_try_run_case+0x170/0x3f0
[   21.755341]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.755386]  kthread+0x328/0x630
[   21.755420]  ret_from_fork+0x10/0x20
[   21.755460] 
[   21.755483] freed by task 306 on cpu 1 at 21.754513s (0.000966s ago):
[   21.755545]  test_double_free+0xf0/0x238
[   21.755584]  kunit_try_run_case+0x170/0x3f0
[   21.755627]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.755670]  kthread+0x328/0x630
[   21.755704]  ret_from_fork+0x10/0x20
[   21.755744] 
[   21.755789] CPU: 1 UID: 0 PID: 306 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.755867] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.755896] Hardware name: linux,dummy-virt (DT)
[   21.755942] ==================================================================

[   20.253275] ==================================================================
[   20.253755] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   20.253755] 
[   20.253996] Invalid free of 0x(____ptrval____) (in kfence-#95):
[   20.254347]  test_double_free+0x112/0x260
[   20.254659]  kunit_try_run_case+0x1a5/0x480
[   20.254968]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.255148]  kthread+0x337/0x6f0
[   20.255464]  ret_from_fork+0x116/0x1d0
[   20.255716]  ret_from_fork_asm+0x1a/0x30
[   20.255887] 
[   20.255998] kfence-#95: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.255998] 
[   20.256561] allocated by task 323 on cpu 0 at 20.253026s (0.003531s ago):
[   20.256912]  test_alloc+0x2a6/0x10f0
[   20.257083]  test_double_free+0xdb/0x260
[   20.257383]  kunit_try_run_case+0x1a5/0x480
[   20.257698]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.258068]  kthread+0x337/0x6f0
[   20.258257]  ret_from_fork+0x116/0x1d0
[   20.258506]  ret_from_fork_asm+0x1a/0x30
[   20.258744] 
[   20.258905] freed by task 323 on cpu 0 at 20.253113s (0.005788s ago):
[   20.259343]  test_double_free+0xfa/0x260
[   20.259651]  kunit_try_run_case+0x1a5/0x480
[   20.259884]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.260119]  kthread+0x337/0x6f0
[   20.260274]  ret_from_fork+0x116/0x1d0
[   20.260439]  ret_from_fork_asm+0x1a/0x30
[   20.260630] 
[   20.260805] CPU: 0 UID: 0 PID: 323 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.261593] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.261935] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.262470] ==================================================================
[   20.149376] ==================================================================
[   20.149830] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   20.149830] 
[   20.150099] Invalid free of 0x(____ptrval____) (in kfence-#94):
[   20.150769]  test_double_free+0x1d3/0x260
[   20.151054]  kunit_try_run_case+0x1a5/0x480
[   20.151566]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.151836]  kthread+0x337/0x6f0
[   20.152006]  ret_from_fork+0x116/0x1d0
[   20.152165]  ret_from_fork_asm+0x1a/0x30
[   20.152262] 
[   20.152317] kfence-#94: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.152317] 
[   20.152505] allocated by task 321 on cpu 1 at 20.149089s (0.003413s ago):
[   20.152659]  test_alloc+0x364/0x10f0
[   20.152749]  test_double_free+0xdb/0x260
[   20.152833]  kunit_try_run_case+0x1a5/0x480
[   20.152918]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.153015]  kthread+0x337/0x6f0
[   20.153090]  ret_from_fork+0x116/0x1d0
[   20.153168]  ret_from_fork_asm+0x1a/0x30
[   20.153250] 
[   20.153300] freed by task 321 on cpu 1 at 20.149192s (0.004105s ago):
[   20.153418]  test_double_free+0x1e0/0x260
[   20.153501]  kunit_try_run_case+0x1a5/0x480
[   20.153587]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.154033]  kthread+0x337/0x6f0
[   20.154404]  ret_from_fork+0x116/0x1d0
[   20.154795]  ret_from_fork_asm+0x1a/0x30
[   20.155205] 
[   20.155522] CPU: 1 UID: 0 PID: 321 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.156426] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.156780] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.157421] ==================================================================

[   20.323258] ==================================================================
[   20.323775] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   20.323775] 
[   20.324143] Invalid free of 0x(____ptrval____) (in kfence-#80):
[   20.324408]  test_double_free+0x1d3/0x260
[   20.324621]  kunit_try_run_case+0x1a5/0x480
[   20.324778]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.324965]  kthread+0x337/0x6f0
[   20.325165]  ret_from_fork+0x116/0x1d0
[   20.325491]  ret_from_fork_asm+0x1a/0x30
[   20.325725] 
[   20.325830] kfence-#80: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.325830] 
[   20.326214] allocated by task 320 on cpu 1 at 20.322977s (0.003235s ago):
[   20.326527]  test_alloc+0x364/0x10f0
[   20.326694]  test_double_free+0xdb/0x260
[   20.326839]  kunit_try_run_case+0x1a5/0x480
[   20.327035]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.327224]  kthread+0x337/0x6f0
[   20.327654]  ret_from_fork+0x116/0x1d0
[   20.327959]  ret_from_fork_asm+0x1a/0x30
[   20.328148] 
[   20.328248] freed by task 320 on cpu 1 at 20.323037s (0.005209s ago):
[   20.328464]  test_double_free+0x1e0/0x260
[   20.328752]  kunit_try_run_case+0x1a5/0x480
[   20.328975]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.329197]  kthread+0x337/0x6f0
[   20.329326]  ret_from_fork+0x116/0x1d0
[   20.329464]  ret_from_fork_asm+0x1a/0x30
[   20.329738] 
[   20.329869] CPU: 1 UID: 0 PID: 320 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.330373] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.330573] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.331002] ==================================================================
[   20.427343] ==================================================================
[   20.427926] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   20.427926] 
[   20.428228] Invalid free of 0x(____ptrval____) (in kfence-#81):
[   20.428952]  test_double_free+0x112/0x260
[   20.429196]  kunit_try_run_case+0x1a5/0x480
[   20.429366]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.429633]  kthread+0x337/0x6f0
[   20.430112]  ret_from_fork+0x116/0x1d0
[   20.430299]  ret_from_fork_asm+0x1a/0x30
[   20.430504] 
[   20.430801] kfence-#81: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.430801] 
[   20.431292] allocated by task 322 on cpu 0 at 20.427065s (0.004224s ago):
[   20.431923]  test_alloc+0x2a6/0x10f0
[   20.432123]  test_double_free+0xdb/0x260
[   20.432305]  kunit_try_run_case+0x1a5/0x480
[   20.432505]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.432992]  kthread+0x337/0x6f0
[   20.433182]  ret_from_fork+0x116/0x1d0
[   20.433341]  ret_from_fork_asm+0x1a/0x30
[   20.433668] 
[   20.433754] freed by task 322 on cpu 0 at 20.427126s (0.006625s ago):
[   20.434235]  test_double_free+0xfa/0x260
[   20.434505]  kunit_try_run_case+0x1a5/0x480
[   20.434804]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.435062]  kthread+0x337/0x6f0
[   20.435361]  ret_from_fork+0x116/0x1d0
[   20.435614]  ret_from_fork_asm+0x1a/0x30
[   20.435783] 
[   20.435935] CPU: 0 UID: 0 PID: 322 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.436424] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.436621] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.437273] ==================================================================

[   82.746358] ==================================================================
[   82.753615] BUG: KFENCE: invalid free in test_double_free+0x112/0x260
[   82.753615] 
[   82.761536] Invalid free of 0x00000000f11130fc (in kfence-#186):
[   82.767549]  test_double_free+0x112/0x260
[   82.771562]  kunit_try_run_case+0x1a2/0x480
[   82.775749]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.781147]  kthread+0x334/0x6f0
[   82.784380]  ret_from_fork+0x113/0x1d0
[   82.788133]  ret_from_fork_asm+0x1a/0x30
[   82.792058] 
[   82.793559] kfence-#186: 0x00000000f11130fc-0x00000000b89beab0, size=32, cache=test
[   82.793559] 
[   82.802693] allocated by task 346 on cpu 1 at 82.746351s (0.056341s ago):
[   82.809479]  test_alloc+0x2a6/0x10f0
[   82.813058]  test_double_free+0xdb/0x260
[   82.816983]  kunit_try_run_case+0x1a2/0x480
[   82.821170]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.826568]  kthread+0x334/0x6f0
[   82.829801]  ret_from_fork+0x113/0x1d0
[   82.833555]  ret_from_fork_asm+0x1a/0x30
[   82.837481] 
[   82.838979] freed by task 346 on cpu 1 at 82.746353s (0.092625s ago):
[   82.845422]  test_double_free+0xfa/0x260
[   82.849354]  kunit_try_run_case+0x1a2/0x480
[   82.853540]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.858940]  kthread+0x334/0x6f0
[   82.862173]  ret_from_fork+0x113/0x1d0
[   82.865925]  ret_from_fork_asm+0x1a/0x30
[   82.869851] 
[   82.871353] CPU: 1 UID: 0 PID: 346 Comm: kunit_try_catch Tainted: G S  B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   82.882228] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [N]=TEST
[   82.888231] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   82.895624] ==================================================================
[   82.482363] ==================================================================
[   82.489619] BUG: KFENCE: invalid free in test_double_free+0x1d3/0x260
[   82.489619] 
[   82.497540] Invalid free of 0x00000000dc6b3dc2 (in kfence-#184):
[   82.503548]  test_double_free+0x1d3/0x260
[   82.507567]  kunit_try_run_case+0x1a2/0x480
[   82.511753]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.517154]  kthread+0x334/0x6f0
[   82.520386]  ret_from_fork+0x113/0x1d0
[   82.524139]  ret_from_fork_asm+0x1a/0x30
[   82.528065] 
[   82.529563] kfence-#184: 0x00000000dc6b3dc2-0x000000003276d158, size=32, cache=kmalloc-32
[   82.529563] 
[   82.539209] allocated by task 344 on cpu 0 at 82.482355s (0.056854s ago):
[   82.545998]  test_alloc+0x364/0x10f0
[   82.549584]  test_double_free+0xdb/0x260
[   82.553509]  kunit_try_run_case+0x1a2/0x480
[   82.557695]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.563096]  kthread+0x334/0x6f0
[   82.566328]  ret_from_fork+0x113/0x1d0
[   82.570080]  ret_from_fork_asm+0x1a/0x30
[   82.574006] 
[   82.575507] freed by task 344 on cpu 0 at 82.482357s (0.093150s ago):
[   82.581956]  test_double_free+0x1e0/0x260
[   82.585976]  kunit_try_run_case+0x1a2/0x480
[   82.590169]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   82.595570]  kthread+0x334/0x6f0
[   82.598802]  ret_from_fork+0x113/0x1d0
[   82.602554]  ret_from_fork_asm+0x1a/0x30
[   82.606480] 
[   82.607981] CPU: 0 UID: 0 PID: 344 Comm: kunit_try_catch Tainted: G S  B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   82.618859] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [N]=TEST
[   82.624872] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   82.632263] ==================================================================