open5gs/tests/attach
Sukchan Lee 93319c1a8e mme: remove old IMSI hash entry before overwriting UE IMSI
When mme_ue_set_imsi() updates an existing UE IMSI, the previous
code overwrote mme_ue->imsi before removing the old hash entry.

As a result, the old IMSI key could remain in imsi_ue_hash and keep
pointing to the same mme_ue object. After the UE context was removed,
a later lookup by the stale IMSI key could return an invalid context
and trigger a fatal path during re-attach handling.

Remove the old IMSI hash entry before updating mme_ue->imsi, then
register the new IMSI after the update.

Issues: #4357
2026-03-13 22:07:09 +09:00
..
abts-main.c Merge branch 'main' into home-routed 2025-04-06 18:36:57 +09:00
auth-test.c amf,mme: Reject authentication after repeated synch failures 2026-01-14 16:01:43 +09:00
crash-test.c mme: remove old IMSI hash entry before overwriting UE IMSI 2026-03-13 22:07:09 +09:00
emm-status-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
guti-test.c MME: handle EPS Bearer Context Status mismatch when active_flag=0 (#4112) 2025-10-16 21:46:38 +09:00
idle-test.c MME: handle EPS Bearer Context Status mismatch when active_flag=0 (#4112) 2025-10-16 21:46:38 +09:00
issues-test.c Merge branch 'main' into home-routed 2025-04-06 18:36:57 +09:00
meson.build Fixed security vulnerability for malformed packet 2023-07-26 16:32:46 +09:00
reset-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
s1setup-test.c [MME] Implement ENBConfigurationUpdate (#2589) 2023-09-16 20:58:58 +09:00
simple-test.c Merge branch 'main' into home-routed 2025-04-06 18:36:57 +09:00
ue-context-test.c Merge branch 'main' into home-routed 2025-04-06 18:36:57 +09:00