Skip to content

Comments

fix: return 204 when UE context missing and avoid nil deref#78

Open
wiwi878 wants to merge 6 commits intofree5gc:mainfrom
wiwi878:fix/udm/sdm-notify-204-nil-guard
Open

fix: return 204 when UE context missing and avoid nil deref#78
wiwi878 wants to merge 6 commits intofree5gc:mainfrom
wiwi878:fix/udm/sdm-notify-204-nil-guard

Conversation

@wiwi878
Copy link
Contributor

@wiwi878 wiwi878 commented Jan 17, 2026

This PR is for issue#781

@wiwi878 wiwi878 closed this Jan 19, 2026
@wiwi878 wiwi878 reopened this Feb 2, 2026
Copy link
Contributor

@c9274326 c9274326 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @wiwi878,

It seems like the functional test part is currently stuck.
Please execute ./test.sh TestEAPAKAPrimeAuthentication and check the logs?

Please take a look at the failure, thanks.

2026-02-12T12:05:57.630963826Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:1,AU:1(3GPP)][supi:SUPI:] Start T3560 timer
2026-02-12T12:05:57.631048996Z [INFO][AMF][Ngap][ran_addr:127.0.0.1:9487] Handle UplinkNASTransport
2026-02-12T12:05:57.631073772Z [INFO][AMF][Ngap][amf_ue_ngap_id:RU:1,AU:1(3GPP)][ran_addr:127.0.0.1:9487] Handle UplinkNASTransport (RAN UE NGAP ID: 1)
2026-02-12T12:05:57.631190434Z [INFO][AMF][Gmm] Handle event[Gmm Message], transition from [Authentication] to [Authentication]
2026-02-12T12:05:57.631280137Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:1,AU:1(3GPP)][supi:SUPI:] Handle Authentication Response
2026-02-12T12:05:57.631340723Z [INFO][AMF][Gmm][amf_ue_ngap_id:RU:1,AU:1(3GPP)][supi:SUPI:] Stop T3560 timer
2026-02-12T12:05:57.632720375Z [INFO][AUSF][5gAka] EapAuthComfirmRequest
2026-02-12T12:05:57.632938467Z [INFO][AUSF][Eap] Correct RES value, EAP-AKA' auth succeed
2026-02-12T12:05:57.634024782Z [WARN][UDM][UEAU] Supi is invalid
2026-02-12T12:05:57.634749529Z [INFO][UDM][GIN] | 400 |       127.0.0.1 | POST    | /nudm-ueau/v1/suci-0-208-93-0-0-0-0000007487/auth-events |  |
2026-02-12T12:05:57.637430323Z [ERRO][AUSF][Consumer] Error in ConfirmAuth: 400, Bad Request
2026-02-12T12:05:57.637519864Z [INFO][AUSF][Eap] 400, Bad Request
2026-02-12T12:05:57.642372844Z [INFO][AUSF][GIN] | 500 |       127.0.0.1 | POST    | /nausf-auth/v1/ue-authentications/suci-0-208-93-0-0-0-0000007487/eap-session |  |
2026-02-12T12:05:57.642882778Z [ERRO][AMF][Gmm] 500, Internal Server Error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants