free5GC SMF through 1.4.6 contains a resource exhaustion vulnerability because sendPDUSessionEstablishmentAccept returns early without calling RemoveSMContextFromAllNF on failures. Authenticated UEs repeatedly establishing PDU sessions during NRF or AMF failures leak SM contexts, UE IP addresses and TEIDs, exhausting the DNN IP pool.
https://github.com/free5gc/smf/pull/246
https://github.com/free5gc/smf/commit/0c1715f951c73d382b93b787a9fd4d5c96d59a99
https://github.com/free5gc/smf/blob/v1.4.6/internal/sbi/processor/datapath.go