open5gs/tests
Sukchan Lee d1c5ece759 [mme] Use bitmap-based EBI management to avoid bearer allocation crash
When bearer contexts are migrated between MME-UE objects during UE
context relocation (OLD UE -> NEW UE), the existing ogs_pool-based
EBI tracking could become inconsistent.

In mme_ue_set_imsi(), bearer->ebi_node was freed from the old UE pool
without reserving the same EBI in the new UE context. This allowed
duplicate allocations and eventually exhausted the EBI pool (5..15),
triggering a fatal assertion in mme_bearer_add().

This patch replaces the pool-node based EBI handling with a bitmap
allocator, which is safe across UE context migration and supports
explicit EBI reservation.

Also update related test cases to match the new allocation order.

Fixes: #4294
2026-02-02 22:22:56 +09:00
..
310014 [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
af [SBI] Fix double-free 2026-01-31 20:17:58 +09:00
app [AMF] Fix UE context transfer when only NRF is client (#3880) 2025-05-31 20:51:06 +09:00
attach amf,mme: Reject authentication after repeated synch failures 2026-01-14 16:01:43 +09:00
common [tests] fix compiler warnings when used with latest GCC 2025-11-13 06:40:18 +09:00
core [tests] fix compiler warnings when used with latest GCC 2025-11-13 06:40:18 +09:00
crypt [tests] fix compiler warnings when used with latest GCC 2025-11-13 06:40:18 +09:00
csfb MME: handle EPS Bearer Context Status mismatch when active_flag=0 (#4112) 2025-10-16 21:46:38 +09:00
fuzzing [Fuzzing] bug fix 59062 and increasing converge 2023-05-25 22:47:47 +09:00
handover MME: handle EPS Bearer Context Status mismatch when active_flag=0 (#4112) 2025-10-16 21:46:38 +09:00
non3gpp [mme] Use bitmap-based EBI management to avoid bearer allocation crash 2026-02-02 22:22:56 +09:00
registration amf: ignore late SDM_SUBSCRIPTIONS DELETE during re-registration 2026-01-23 11:24:06 +09:00
sctp [SCTP] Support setting local address (#3344) 2024-12-23 21:16:15 +09:00
slice [AMF,SMF] Prevent mapped HPLMN SST to always be set 2025-01-11 20:22:46 +09:00
transfer [AMF] Fix UE context transfer when only NRF is client (#3880) 2025-05-31 20:51:06 +09:00
unit Fix DNN Operator-Identifier format and refactor OI parsing for HR roaming interop 2025-12-06 22:23:34 +09:00
volte [mme] Use bitmap-based EBI management to avoid bearer allocation crash 2026-02-02 22:22:56 +09:00
vonr [HR] Support Xn/N2 handover for Home-Routed Roaming (Direct Forwarding only) (#2194) 2025-07-14 22:03:32 +09:00
meson.build [AMF] Registation status update and tests 2024-09-03 22:09:56 +09:00