CVE-2023-54114
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54114 is a denial-of-service vulnerability in the Linux kernel's Network Service Header (NSH) Generic Segmentation Offload (GSO) handling, specifically in the nsh_gso_segment() function. The flaw causes a kernel panic (skb_panic) due to an incorrect mac_header calculation during error unwinding when an inner-layer protocol GSO (e.g., MPLS) fails and resets skb->network_header. It affects the Linux kernel and was publicly disclosed on December 24, 2025. It carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) lies in nsh_gso_segment(), which calculates nhoff as skb->network_header - skb->mac_header before pulling the NSH header. When an inner-layer GSO function such as mpls_gso_segment() calls skb_reset_network_header() and then returns -EINVAL, the error-unwind path in skb_gso_error_unwind() uses the now-stale network_header value to restore mac_header, producing a value larger than the actual skb headroom. The subsequent skb_push() call detects this inconsistency and triggers skb_panic. Exploitation requires a local attacker with low privileges to send crafted network packets through the NSH/MPLS stack (Red Hat Bugzilla, Red Hat CVE).

Impact

Successful exploitation causes a kernel panic, resulting in a complete system crash and denial of service. There is no confidentiality or integrity impact — the vulnerability is limited to availability. A local user with low privileges can crash the host, potentially disrupting all services running on the affected system (Red Hat CVE, Red Hat Bugzilla).

Indicators of compromise

  • Logs: Kernel logs (dmesg or /var/log/kern.log) showing invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI followed by a call trace involving skb_panic, skb_push, nsh_gso_segment, skb_mac_gso_segment, and __skb_gso_segment.
  • Process: Unusual processes sending raw network packets (e.g., via packet_sendmsg) that trigger NSH/MPLS GSO paths, potentially identifiable via strace or audit logs.
  • System: Unexpected system reboots or kernel panics on hosts processing NSH-encapsulated network traffic.

Mitigation and workarounds

The fix involves using a saved mac_offset value (rather than recomputing it from the potentially modified network_header) to correctly restore mac_header in the error-unwind path of nsh_gso_segment(). Patches have been committed to the stable Linux kernel tree across multiple stable branches (referenced at git.kernel.org). Users should update their Linux kernel to a patched version as soon as one is available for their distribution. As interim mitigations, administrators can restrict local user access, implement strict network packet filtering to limit NSH traffic, and monitor kernel logs for panic-related events (Red Hat Bugzilla, Red Hat CVE).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management