Find a file
Sukchan Lee f87da618b5
Some checks failed
Meson Continuous Integration / Build and Test on Ubuntu Latest (push) Has been cancelled
mme: remove the dedicated bearer when E-RAB setup fails
When the eNB reported a dedicated bearer in the
E-RABFailedToSetupListBearerSURes, s1ap_handle_e_rab_setup_response()
only logged "Not implemented : remove dedicated bearer" and kept the
bearer context.

That bearer was created by mme_s11_handle_create_bearer_request(), so it
already held an EPS Bearer Identity taken from the UE bitmap (EBI 5-15).
Leaving it behind leaked that identity for good, and the SGW was never
told that the bearer had not been established because no Create Bearer
Response was sent at all.

In a VoLTE deployment where the radio side rejects the dedicated bearer,
every call attempt consumed one more EBI. After eleven bearers the
bitmap was full and the next Create Bearer Request took the MME down:

  [mme] WARNING:     Cause[Group:1 Cause:25]
  [mme] ERROR: Not implemented : remove dedicated bearer
  ...
  [mme] ERROR: No available EBI (range 5-15)
  [mme] FATAL: mme_s11_handle_create_bearer_request:
  Assertion `bearer' failed.

Reject the pending Create Bearer Request with "No resources available"
and remove the bearer, mirroring the cleanup that a default bearer
already gets in the same loop.

The transaction id is checked before answering because
mme_gtp_send_create_bearer_response() asserts on it, and a dedicated
bearer can exist without one: mme_s11_handle_create_bearer_request()
returns early when ogs_gtp2_parse_bearer_qos() fails, before
bearer->create.xact_id is assigned. That path leaks the bearer as well
and is left for a separate change.
2026-07-27 18:42:38 +09:00
.github build: detect optional c-ares dependency for the MME 2026-07-21 16:41:41 +09:00
configs MME: Learn HSS identity from successful S6a answers 2026-07-22 19:02:47 +09:00
debian [mme] Follow-up #4693: harden DNS-based gateway selection 2026-07-21 16:44:07 +09:00
docker [mme] Follow-up #4693: harden DNS-based gateway selection 2026-07-21 16:44:07 +09:00
docs [mme] Follow-up #4693: harden DNS-based gateway selection 2026-07-21 16:44:07 +09:00
lib pfcp: fix reversed Reporting Triggers byte order in handle_update_urr 2026-07-22 19:49:10 +09:00
misc Add roaming type toggle via command line (#4211) 2025-12-23 13:53:53 +09:00
src mme: remove the dedicated bearer when E-RAB setup fails 2026-07-27 18:42:38 +09:00
subprojects Tested on FreeBSD-14.1-STABLE (#3350) 2024-08-03 21:45:52 +09:00
tests [mme] Follow-up #4693: harden DNS-based gateway selection 2026-07-21 16:44:07 +09:00
vagrant Tested on FreeBSD-14.1-STABLE (#3350) 2024-08-03 21:45:52 +09:00
webui Release v2.8.0 2026-06-20 12:38:31 +09:00
.clang-tidy [MISC] Add support for static code analysis 2022-07-01 21:38:47 +09:00
.dockerignore [build] Use local sources to build applications (#1583) 2022-06-19 18:18:09 +09:00
.editorconfig editorconfig: new file (#2746) 2023-11-27 22:21:35 +09:00
.gitignore .gitignore: Add install/ dir 2023-10-10 08:03:25 +09:00
LICENSE Change LICENSE to GNU AGPL v3.0 2017-12-18 10:35:54 +09:00
meson.build Release v2.8.0 2026-06-20 12:38:31 +09:00
meson_options.txt [Fuzzing] oss-fuzz support for fuzzing (#2283) 2023-05-05 17:20:11 +09:00
README.md nrf: Fix serving PLMN counter reset on NF register 2026-02-04 20:51:29 +09:00

Open5GS logo

Getting Started

Please follow the documentation at open5gs.org!

Sponsors

If you find Open5GS useful for work, please consider supporting this Open Source project by Becoming a sponsor. To manage the funding transactions transparently, you can donate through OpenCollective.

sponsors

Community

  • Problem with Open5GS can be filed as issues in this repository.
  • Other topics related to this project are happening on the discussions.
  • Voice and text chat are available in Open5GS's Discord workspace. Use this link to get started.

Contributing

If you're contributing through a pull request to Open5GS project on GitHub, please read the Contributor License Agreement in advance.

License

Support

Technical support and customized services for Open5GS are provided by NewPlane at support@newplane.io.