提交 #891578: Linux Foundation Projects Magma 5G v1.9.0 Denial of Service信息

标题Linux Foundation Projects Magma 5G v1.9.0 Denial of Service
描述AMF doesn't clear up the contexts when a gNB is restarted or association is terminated. As a result certain context stays and the RAN_UE_NGAP_ID gets blocked and can not be re used. Context stays in memory. NGAP Context and AMF Context becomes out of sync. UEContextRelease or De Register is also not able to clear the context. A bad denial of service issue which requires the service restart for the specific customers. To Reproduce Start Magma Core with 5G support enabled and default configuration Complete the Registration as per mentioned in Issue 2, Skip NGSetup in Issue 2 for this case. Restart the gNB without restarting the AMF Send the same Initial UE Message again with the same RAN_UE_NGAP_ID in previous step Observe error: "This ue context already exists gnb_ue_ngap_id X" and "Failed to insert UE context" Send any subsequent Initial UE Message with RAN_UE_NGAP_ID=X Observe error: "Initial UE Message- Duplicate GNB_UE_NGAP_ID. Ignoring the message" The RAN_UE_NGAP_ID=2 is now permanently blocked from registering until AMF restart or context has been cleared somehow Expected behavior AMF should clear and remove all context in case gNB is crashed or gNB is disconnected. But Magma 5G doesn't clear the context and it potentially lead to Denial of Service.
来源⚠️ https://github.com/magma/magma/issues/16019
用户
 shovon0203 (UID 96191)
提交2026-07-15 06時58分 (2 月前)
管理2026-08-29 20時44分 (2 months later)
状态已接受
VulDB条目397068 [Linux Foundation Magma 1.9.0 gNB Termination tasks/ngap/ngap_amf.c 拒绝服务]
积分20

Do you know our Splunk app?

Download it now for free!