mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 03:19:31 +00:00
The AMF will crash on the following locations when it receives a sequence of NAS messages from a UE. - ogs_nas_encrypt: Assertion `pkbuf->len' failed. (../lib/nas/common/security.c:86) - gmm_state_authentication: Assertion `r != OGS_ERROR' failed. (../src/amf/gmm-sm.c:1561) Besides the crashes found above, an incorrect protocol transition is identified in Open5GS. Without any Registration/Attach Request message, when the Identity Response message sent, the Core Network responds with an Authentication Request message. According to the standard, only the Registration/Attach Request message can start a state transition from the 5GMM/EMM-DEREGISTERED state to the 5GMM/EMM-COMMON-PROCEDURE-INITIATED. So I've modified the relevant code to address these issues. |
||
|---|---|---|
| .. | ||
| abts-main.c | ||
| auth-test.c | ||
| crash-test.c | ||
| dereg-test.c | ||
| ecc-test.c | ||
| gmm-status-test.c | ||
| guti-test.c | ||
| identity-test.c | ||
| idle-test.c | ||
| meson.build | ||
| multi-ue-test.c | ||
| reset-test.c | ||
| simple-test.c | ||
| ue-context-test.c | ||