free5GC PCF through 1.4.6 contains a resource leak in HandleCreateSmPolicyRequest that leaves SM policy entries in memory when UDR token retrieval fails. Attackers sending repeated Npcf_SMPolicyControl create requests during an NRF outage can accumulate undeletable policy entries, growing PCF memory until restart.
https://github.com/free5gc/pcf/commit/10d877414f5f41e9a8efdcedd521e3c96053adaf
https://github.com/free5gc/pcf/blob/v1.4.6/internal/sbi/processor/smpolicy.go#L380-L385
https://github.com/free5gc/pcf/blob/v1.4.6/internal/sbi/processor/smpolicy.go#L113-L116