open5gs/lib/nas
Sukchan Lee 884747c301 smf: harden UE-requested QoS modification handling
Validate malformed NAS QoS flow descriptions before they can reach
SMF QoS update logic. Reject unsupported QoS flow parameter counts and
invalid bitrate units during parsing, so invalid input cannot trigger
assertions in ogs_nas_bitrate_to_uint64().

Also avoid aborting while handling QoS rules and QoS flow descriptions
in PDU Session Modification Request processing. Use the packet-filter
index when reconfiguring packet filters, handle reconfiguration failures
as invalid requests, and return an error instead of calling fatal/assert
for unknown QoS flow parameters.

Finally, replace assert-based parsing of QoS rules and QoS flow
descriptions in gsm-build.c with normal error handling, so malformed
QoS data from HR roaming paths does not terminate the SMF process.

Issues #4429
Issues #4430
Issues #4511
Issues #4512
Related to PR #4513
Related to PR #4514
2026-05-11 10:15:41 +09:00
..
5gs smf: harden UE-requested QoS modification handling 2026-05-11 10:15:41 +09:00
common [MME] Fix length parameter of NAS Emergency Number List IE 2025-10-27 21:28:53 +09:00
eps Follow up on #4102 2025-10-27 21:31:21 +09:00
meson.build NAS-5GS is added 2020-05-21 21:24:21 -04:00