arXiv:2610.03245cs.NIOct 2026

Manuscript Offprint

arXiv:2610.03245

A Dynamic UPF Fault Recovery Mechanism for Enhanced Resilience in 5G Core Networks

Shirin Behnaminia, Pardis Yavari, Zeinab Zali, Mohammad Reza Heidarpour

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Shirin Behnaminia 1∗^{1*}, Pardis Yavari 1∗^{1*}, Zeinab Zali 1^{1}, Mohammad Reza Heidarpour 1^{1}

1^{1}Department of Electrical and Computer Engineering, Isfahan University of Technology, Isfahan, Iran

Abstract—Ensuring fault tolerance in the User Plane Function is essential to maintain service continuity in 5G networks, particularly as latency-sensitive applications become more prevalent. This paper presents a novel mechanism for dynamic UPF failure detection and recovery within an OpenAirInterface-based 5G core environment. The approach introduces an application-layer session restoration mechanism to ensure service continuity and minimize disruptions during UPF failures*. Experimental results demonstrate that the proposed mechanism reduces UPF downtime while maintaining low packet loss and enabling rapid service recovery. In tests with TCP and UDP traffic, connectivity was restored within a few seconds, minimizing service degradation. Furthermore, our failure-aware UPF selection mechanism improves long-term system resilience by considering recent failure history. The results highlight the effectiveness of our lightweight framework in improving the overall reliability of 5G networks, making it a valuable contribution to network robustness.

Index Terms—5G networks, User Plane Function, failure-aware, service continuity, reliability, OpenAirInterface

I. INTRODUCTION

Communication networks have evolved significantly and become more complex over time [1]. As part of this progress, 5G has been developed to support diverse services, such as critical communications, industrial IoT, and high-speed internet for mobile users [2].

As a result, ensuring continuous and reliable user connectivity in 5G networks has become more critical than ever. Moreover, adopting Virtual Network Functions (VNFs) has made networks more flexible and scalable, but this shift has increased reliance on software. VNFs offer great advantages such as increasing network scalability and improving resource management [3]. However, their operation on general-purpose servers lacks the inherent reliability of traditional dedicated network appliances, which raises concerns about potential failures. A failure in a VNF can interrupt the services that depend on it, making effective fault tolerance essential for maintaining continuous network operation. This is particularly important in 5G networks, where VNFs play a vital role in maintaining overall network functionality. Additionally, 5G networks incorporate network slicing, which allows multiple logical networks to operate over shared physical infrastructure. While this enables customized Quality of Service (QoS) for different applications, it also increases network complexity, making traditional fault management techniques insufficient [1].

A key challenge in this regard is maintaining the fault tolerance of core network components like the User Plane Function (UPF), which plays a unique and essential role in the data plane by directly handling user data traffic. The UPF is also responsible for managing packet forwarding, enforcing QoS policies, and ensuring seamless interconnection between users and external networks such as the internet or private data centers. Because it operates at the heart of the data path, any failure in the UPF can lead to major service disruptions, directly affecting user experience and network performance. This module faces high traffic loads, especially in 5G networks that provide high throughput, low latency, and massive connectivity. As the number of end users and demand for services like video streaming and gaming increases, the UPF's load also rises. It directly impacts user experience and network performance, especially in a dynamic environment where real-time data processing is essential.

Low latency, a critical feature of 5G networks, relies heavily on the UPF's ability to process and forward data with minimal delay. This is especially important for latency-sensitive applications such as cloud gaming and augmented or virtual reality (AR/VR), where even slight delays can disrupt user experience and responsiveness. Given the reliance of these services on the UPF, any disruption can lead to severe service interruptions and potentially critical failures, resulting in user dissatisfaction and degraded service quality. Maintaining session continuity during UPF failures remains a major challenge in cloud-native 5G core deployments. While infrastructure-level tools such as Kubernetes and Docker offer effective mechanisms for scalability and fault recovery, such as automatic restarts, they inherently treat network functions like the UPF as stateless components. As a result, they do not preserve in-memory session context, which is essential for maintaining uninterrupted user sessions. When a UPF is restarted, for instance, it is reinitialized as a completely new instance. This results in the loss of session-specific data, such as PDU session contexts. Consequently, disruptions occur for end users who were already connected to the network, leading to issues such as dropped connections or degraded service, as the re-established UPF lacks the ability to restore the previous state.

Kubernetes provides stateful facilities, such as StatefulSets, designed to manage applications that require stable network identities and persistent storage across restarts. However, these mechanisms are primarily focused on retaining data on persistent volumes and ensuring ordered deployment and scaling.

∗^{*}These authors contributed equally to this work.

In addition, Kubernetes and Docker offer a feature known

∗^{*}The source code is available at https://github.com/ION-Lab-Organization/smf.

as Service, which ensures stable access to a group of pods or containers, even as they are replaced or rescheduled. While Services facilitate stable networking and load balancing, they are primarily designed for stateless applications. As such, they do not ensure the continuity of active connections during failures.

Several recent studies, including [4] and [5], have demonstrated the deployment of 5G core components on Kubernetes to enhance scalability and reliability. However, these efforts largely focus on infrastructure-level concerns and do not address the critical need for preserving session state during failures. This highlights the necessity for application-layer solutions that can maintain session continuity and minimize service disruptions.

To address this limitation, we need to incorporate session restoration logic at the application layer. By explicitly transferring the session context from the Session Management Function (SMF) to the failed UPF during recovery, we ensure continuity in data flows and mitigate user-perceived service disruptions.

This paper introduces a proactive failure detection and recovery mechanism for the UPF to overcome these limitations. Our primary contribution is as follows:

  1. Leveraging standard procedures, we designed a lightweight mechanism to restore lost context and ensure service continuity efficiently.

  2. Through rigorous testing and performance analysis, we demonstrate the proposed mechanism's effectiveness in minimizing downtime and ensuring robust service continuity, providing insights for future enhancements in fault-tolerant 5G networks.

  3. Additionally, this work contributes to the OpenAirInterface project by providing a detailed explanation of the codebase and by open-sourcing our implementation. This clarity facilitates the development of new features, empowering contributors to improve UPF functionality and network fault management.

The rest of the paper is organized as follows. We begin by reviewing existing studies on fault tolerance in 5G networks to highlight current limitations. Next, we provide background on 5G architecture and core components, with a focus on the SMF, UPF, and PDU session procedures. We then introduce our proposed method for UPF fault recovery, including design considerations such as recovery scenarios, session context restoration, and failure-aware UPF selection. This is followed by a detailed explanation of the OpenAirInterface SMF codebase, where our modifications were implemented. We describe the implementation process, outline the experimental setup, and evaluate the performance of our solution. Finally, we conclude with a summary and suggestions for future work.