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

Environment
qemu-arm64
qemu-x86_64
x86

[   22.235237] ==================================================================
[   22.235324] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   22.235324] 
[   22.235386] Invalid free of 0x000000009a4289e7 (in kfence-#95):
[   22.235441]  test_invalid_addr_free+0x1ac/0x238
[   22.235491]  kunit_try_run_case+0x170/0x3f0
[   22.235534]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.235576]  kthread+0x328/0x630
[   22.235615]  ret_from_fork+0x10/0x20
[   22.235655] 
[   22.235680] kfence-#95: 0x000000004c6c5a8f-0x00000000d9a0fc35, size=32, cache=kmalloc-32
[   22.235680] 
[   22.235735] allocated by task 308 on cpu 1 at 22.235098s (0.000634s ago):
[   22.235798]  test_alloc+0x29c/0x628
[   22.235838]  test_invalid_addr_free+0xd4/0x238
[   22.235879]  kunit_try_run_case+0x170/0x3f0
[   22.235919]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.235962]  kthread+0x328/0x630
[   22.236013]  ret_from_fork+0x10/0x20
[   22.236055] 
[   22.236103] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.236183] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.236213] Hardware name: linux,dummy-virt (DT)
[   22.236248] ==================================================================
[   22.339109] ==================================================================
[   22.339202] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   22.339202] 
[   22.339263] Invalid free of 0x0000000078184a5d (in kfence-#96):
[   22.339317]  test_invalid_addr_free+0xec/0x238
[   22.339364]  kunit_try_run_case+0x170/0x3f0
[   22.339406]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.339450]  kthread+0x328/0x630
[   22.339487]  ret_from_fork+0x10/0x20
[   22.339526] 
[   22.339549] kfence-#96: 0x00000000e0b64c6c-0x000000002d235205, size=32, cache=test
[   22.339549] 
[   22.339601] allocated by task 310 on cpu 1 at 22.338986s (0.000611s ago):
[   22.339663]  test_alloc+0x230/0x628
[   22.339703]  test_invalid_addr_free+0xd4/0x238
[   22.339743]  kunit_try_run_case+0x170/0x3f0
[   22.339782]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   22.339825]  kthread+0x328/0x630
[   22.339859]  ret_from_fork+0x10/0x20
[   22.339899] 
[   22.339941] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   22.340030] Tainted: [B]=BAD_PAGE, [N]=TEST
[   22.340059] Hardware name: linux,dummy-virt (DT)
[   22.340093] ==================================================================

[   21.858504] ==================================================================
[   21.858590] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1ac/0x238
[   21.858590] 
[   21.858652] Invalid free of 0x00000000c846b2cc (in kfence-#91):
[   21.858704]  test_invalid_addr_free+0x1ac/0x238
[   21.858752]  kunit_try_run_case+0x170/0x3f0
[   21.858794]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.858838]  kthread+0x328/0x630
[   21.858876]  ret_from_fork+0x10/0x20
[   21.858935] 
[   21.858959] kfence-#91: 0x00000000345cd49d-0x00000000a7e1ed4e, size=32, cache=kmalloc-32
[   21.858959] 
[   21.859015] allocated by task 308 on cpu 1 at 21.858362s (0.000650s ago):
[   21.859079]  test_alloc+0x29c/0x628
[   21.859120]  test_invalid_addr_free+0xd4/0x238
[   21.859162]  kunit_try_run_case+0x170/0x3f0
[   21.859202]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.859245]  kthread+0x328/0x630
[   21.859282]  ret_from_fork+0x10/0x20
[   21.859321] 
[   21.859366] CPU: 1 UID: 0 PID: 308 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.859446] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.859476] Hardware name: linux,dummy-virt (DT)
[   21.859511] ==================================================================
[   21.962498] ==================================================================
[   21.962589] BUG: KFENCE: invalid free in test_invalid_addr_free+0xec/0x238
[   21.962589] 
[   21.962649] Invalid free of 0x000000004a485706 (in kfence-#92):
[   21.962703]  test_invalid_addr_free+0xec/0x238
[   21.962747]  kunit_try_run_case+0x170/0x3f0
[   21.962790]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.962835]  kthread+0x328/0x630
[   21.962871]  ret_from_fork+0x10/0x20
[   21.962926] 
[   21.962950] kfence-#92: 0x00000000b9a6fd19-0x000000002011ed04, size=32, cache=test
[   21.962950] 
[   21.963002] allocated by task 310 on cpu 1 at 21.962378s (0.000620s ago):
[   21.963065]  test_alloc+0x230/0x628
[   21.963104]  test_invalid_addr_free+0xd4/0x238
[   21.963147]  kunit_try_run_case+0x170/0x3f0
[   21.963185]  kunit_generic_run_threadfn_adapter+0x88/0x100
[   21.963228]  kthread+0x328/0x630
[   21.963262]  ret_from_fork+0x10/0x20
[   21.963304] 
[   21.963349] CPU: 1 UID: 0 PID: 310 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT 
[   21.963427] Tainted: [B]=BAD_PAGE, [N]=TEST
[   21.963456] Hardware name: linux,dummy-virt (DT)
[   21.963491] ==================================================================

[   20.461067] ==================================================================
[   20.461345] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   20.461345] 
[   20.461691] Invalid free of 0x(____ptrval____) (in kfence-#97):
[   20.461981]  test_invalid_addr_free+0xfb/0x260
[   20.462308]  kunit_try_run_case+0x1a5/0x480
[   20.462510]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.462829]  kthread+0x337/0x6f0
[   20.463014]  ret_from_fork+0x116/0x1d0
[   20.463219]  ret_from_fork_asm+0x1a/0x30
[   20.463454] 
[   20.463565] kfence-#97: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.463565] 
[   20.463845] allocated by task 327 on cpu 0 at 20.460933s (0.002908s ago):
[   20.464134]  test_alloc+0x2a6/0x10f0
[   20.464306]  test_invalid_addr_free+0xdb/0x260
[   20.464639]  kunit_try_run_case+0x1a5/0x480
[   20.464928]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.465331]  kthread+0x337/0x6f0
[   20.465607]  ret_from_fork+0x116/0x1d0
[   20.465891]  ret_from_fork_asm+0x1a/0x30
[   20.466211] 
[   20.466413] CPU: 0 UID: 0 PID: 327 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.466992] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.467200] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.467801] ==================================================================
[   20.357026] ==================================================================
[   20.357354] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   20.357354] 
[   20.357577] Invalid free of 0x(____ptrval____) (in kfence-#96):
[   20.358021]  test_invalid_addr_free+0x1e1/0x260
[   20.358393]  kunit_try_run_case+0x1a5/0x480
[   20.358719]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.359044]  kthread+0x337/0x6f0
[   20.359196]  ret_from_fork+0x116/0x1d0
[   20.359405]  ret_from_fork_asm+0x1a/0x30
[   20.359734] 
[   20.359903] kfence-#96: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.359903] 
[   20.360499] allocated by task 325 on cpu 1 at 20.356871s (0.003624s ago):
[   20.360884]  test_alloc+0x364/0x10f0
[   20.361208]  test_invalid_addr_free+0xdb/0x260
[   20.361540]  kunit_try_run_case+0x1a5/0x480
[   20.361771]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.362171]  kthread+0x337/0x6f0
[   20.362391]  ret_from_fork+0x116/0x1d0
[   20.362564]  ret_from_fork_asm+0x1a/0x30
[   20.362883] 
[   20.363110] CPU: 1 UID: 0 PID: 325 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.363633] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.363833] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.364413] ==================================================================

[   20.531116] ==================================================================
[   20.531501] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   20.531501] 
[   20.531924] Invalid free of 0x(____ptrval____) (in kfence-#82):
[   20.532228]  test_invalid_addr_free+0x1e1/0x260
[   20.533110]  kunit_try_run_case+0x1a5/0x480
[   20.533335]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.533561]  kthread+0x337/0x6f0
[   20.534000]  ret_from_fork+0x116/0x1d0
[   20.534232]  ret_from_fork_asm+0x1a/0x30
[   20.534443] 
[   20.534535] kfence-#82: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=kmalloc-32
[   20.534535] 
[   20.535230] allocated by task 324 on cpu 0 at 20.530985s (0.004242s ago):
[   20.535675]  test_alloc+0x364/0x10f0
[   20.535921]  test_invalid_addr_free+0xdb/0x260
[   20.536228]  kunit_try_run_case+0x1a5/0x480
[   20.536409]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.536825]  kthread+0x337/0x6f0
[   20.537130]  ret_from_fork+0x116/0x1d0
[   20.537297]  ret_from_fork_asm+0x1a/0x30
[   20.537641] 
[   20.537783] CPU: 0 UID: 0 PID: 324 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.538421] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.538622] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.539196] ==================================================================
[   20.635164] ==================================================================
[   20.635563] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   20.635563] 
[   20.635953] Invalid free of 0x(____ptrval____) (in kfence-#83):
[   20.636267]  test_invalid_addr_free+0xfb/0x260
[   20.636828]  kunit_try_run_case+0x1a5/0x480
[   20.637062]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.637342]  kthread+0x337/0x6f0
[   20.637513]  ret_from_fork+0x116/0x1d0
[   20.637706]  ret_from_fork_asm+0x1a/0x30
[   20.638292] 
[   20.638388] kfence-#83: 0x(____ptrval____)-0x(____ptrval____), size=32, cache=test
[   20.638388] 
[   20.638996] allocated by task 326 on cpu 0 at 20.635057s (0.003937s ago):
[   20.639487]  test_alloc+0x2a6/0x10f0
[   20.639760]  test_invalid_addr_free+0xdb/0x260
[   20.639959]  kunit_try_run_case+0x1a5/0x480
[   20.640321]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[   20.640580]  kthread+0x337/0x6f0
[   20.640855]  ret_from_fork+0x116/0x1d0
[   20.641117]  ret_from_fork_asm+0x1a/0x30
[   20.641332] 
[   20.641546] CPU: 0 UID: 0 PID: 326 Comm: kunit_try_catch Tainted: G    B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   20.642159] Tainted: [B]=BAD_PAGE, [N]=TEST
[   20.642439] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   20.642916] ==================================================================

[   83.242354] ==================================================================
[   83.249607] BUG: KFENCE: invalid free in test_invalid_addr_free+0xfb/0x260
[   83.249607] 
[   83.257961] Invalid free of 0x000000001d4d85c2 (in kfence-#190):
[   83.263975]  test_invalid_addr_free+0xfb/0x260
[   83.268427]  kunit_try_run_case+0x1a2/0x480
[   83.272614]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   83.278012]  kthread+0x334/0x6f0
[   83.281245]  ret_from_fork+0x113/0x1d0
[   83.285001]  ret_from_fork_asm+0x1a/0x30
[   83.288933] 
[   83.290432] kfence-#190: 0x00000000c9936bc5-0x000000004965f527, size=32, cache=test
[   83.290432] 
[   83.299559] allocated by task 350 on cpu 1 at 83.242349s (0.057210s ago):
[   83.306345]  test_alloc+0x2a6/0x10f0
[   83.309925]  test_invalid_addr_free+0xdb/0x260
[   83.314370]  kunit_try_run_case+0x1a2/0x480
[   83.318557]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   83.323955]  kthread+0x334/0x6f0
[   83.327187]  ret_from_fork+0x113/0x1d0
[   83.330942]  ret_from_fork_asm+0x1a/0x30
[   83.334877] 
[   83.336376] CPU: 1 UID: 0 PID: 350 Comm: kunit_try_catch Tainted: G S  B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   83.347254] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [N]=TEST
[   83.353257] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   83.360651] ==================================================================
[   83.010356] ==================================================================
[   83.017610] BUG: KFENCE: invalid free in test_invalid_addr_free+0x1e1/0x260
[   83.017610] 
[   83.026050] Invalid free of 0x0000000058d7f59a (in kfence-#188):
[   83.032065]  test_invalid_addr_free+0x1e1/0x260
[   83.036606]  kunit_try_run_case+0x1a2/0x480
[   83.040799]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   83.046198]  kthread+0x334/0x6f0
[   83.049433]  ret_from_fork+0x113/0x1d0
[   83.053191]  ret_from_fork_asm+0x1a/0x30
[   83.057120] 
[   83.058618] kfence-#188: 0x0000000041211a33-0x0000000040647611, size=32, cache=kmalloc-32
[   83.058618] 
[   83.068273] allocated by task 348 on cpu 0 at 83.010350s (0.057922s ago):
[   83.075059]  test_alloc+0x364/0x10f0
[   83.078638]  test_invalid_addr_free+0xdb/0x260
[   83.083085]  kunit_try_run_case+0x1a2/0x480
[   83.087271]  kunit_generic_run_threadfn_adapter+0x82/0xf0
[   83.092668]  kthread+0x334/0x6f0
[   83.095903]  ret_from_fork+0x113/0x1d0
[   83.099655]  ret_from_fork_asm+0x1a/0x30
[   83.103580] 
[   83.105083] CPU: 0 UID: 0 PID: 348 Comm: kunit_try_catch Tainted: G S  B            N  6.16.0-rc5 #1 PREEMPT(voluntary) 
[   83.115958] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [N]=TEST
[   83.121964] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021
[   83.129356] ==================================================================