open5gs/lib/pfcp
Sukchan Lee 0965700c4e pfcp: validate Outer Header Creation IE length
The PFCP FAR handlers copied Outer Header Creation directly after
asserting that the decoded IE had a data pointer and non-zero length.
A malformed message with a present but empty Outer Header Creation IE
could therefore trigger an assertion failure.

Reject such malformed Create FAR and Update FAR requests with
Invalid Length and report Outer Header Creation as the offending IE,
instead of relying on assertions.

Issues #4423
2026-05-19 10:31:10 +09:00
..
support [PFCP] Add Missing 3GPP Interface Type in PFCP Messages 2024-10-20 22:54:08 +09:00
build.c Merge branch 'main' into home-routed 2024-11-07 17:52:48 +09:00
build.h [PFCP] Fix SGW-U/UPF Bugs and Improve Header Handling 2024-10-20 18:52:21 +09:00
context.c pfcp: Prevent DoS by removing assert-based QER/FAR/URR/PDR allocation failures 2025-12-05 16:35:13 +09:00
context.h UPF: Fix crash on CH F-TEID address family mismatch for selected DNN 2025-11-27 17:15:29 +09:00
conv.c [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00
conv.h [PFCP] Support PFCP advertise address in F-SEID 2023-05-25 22:46:52 +09:00
handler.c pfcp: validate Outer Header Creation IE length 2026-05-19 10:31:10 +09:00
handler.h [HR] Implement GTP-U processing for HR Roaming in User Plane (#2194) 2024-11-23 17:51:42 +09:00
meson.build [PFCP] Add ogs_pfcp_get_node_id function with util modules (#3431) 2025-01-11 20:33:02 +09:00
message.c [PFCP] Add Missing 3GPP Interface Type in PFCP Messages 2024-10-20 22:54:08 +09:00
message.h [PFCP] Add Missing 3GPP Interface Type in PFCP Messages 2024-10-20 22:54:08 +09:00
ogs-pfcp.h [PFCP] Add ogs_pfcp_get_node_id function with util modules (#3431) 2025-01-11 20:33:02 +09:00
path.c Merge branch 'main' into home-routed 2025-02-09 11:15:55 +09:00
path.h Merge branch 'main' into home-routed 2025-02-09 11:15:55 +09:00
rule-match.c pfcp: validate packet bounds before PDR rule matching 2026-05-09 07:19:23 +09:00
rule-match.h Fixes UE IPv6 BUG (#808) 2021-03-15 10:01:55 +09:00
types.c pfcp: Fix crash on malformed Dropped-DL-Traffic-Threshold IE 2025-11-28 10:01:55 +09:00
types.h [PFCP] Reduce DNS spam for FQDN nodes (#3431) (#3664) 2025-01-18 12:15:00 +09:00
util.c Always make fqdn a NULL terminated string 2025-04-17 17:14:15 +09:00
util.h [PFCP] Refactor PFCP address handling (#3431) 2025-01-11 20:33:02 +09:00
xact.c core,gtp,pfcp,sgwc: avoid fatal asserts on pool and timer exhaustion 2025-12-30 11:49:40 +09:00
xact.h [HR] Implement handling of UE-initiated PDU Session Modification (#2194) 2025-06-30 10:07:06 +09:00