CVE-2022-50865
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50865 is a signed integer overflow vulnerability in the Linux kernel's TCP stack, specifically within the tcp_add_backlog() function. The flaw arises because the limit variable is computed by summing sk_rcvbuf, sk_sndbuf (both of type int in struct sock), and 64 * 1024, which can exceed the maximum value of a signed 32-bit integer and wrap around. The vulnerability affects Linux kernel versions from commit c9c3321257e1 onward, with fixes backported to stable releases 5.4.278, 5.10.153, 5.15.77, 6.0.7, and 6.1. It was publicly disclosed on December 30, 2025, and carries an estimated CVSS severity of Medium (Feedly, ENISA EUVD).

Technical details

The root cause is a signed integer overflow (CWE-190) in tcp_add_backlog(), where the backlog limit is calculated by adding three values — sk_rcvbuf, sk_sndbuf, and 65536 — all within a signed int context. If the socket buffer sizes are large enough, the sum overflows, producing a negative or unexpectedly small limit value, which can cause incorrect backlog enforcement. The fix halves the sk_sndbuf contribution to the limit calculation, reflecting that ACK packets queued in the backlog are significantly smaller than data payloads, thereby keeping the sum within safe integer bounds (Feedly). Patch commits are available across multiple stable kernel branches via the kernel.org stable tree (Kernel Stable).

Impact

The integer overflow in tcp_add_backlog() can result in incorrect backlog limit enforcement, potentially allowing more data than intended to be queued in the socket's backlog or causing unexpected kernel behavior. In practice, this could lead to memory exhaustion or denial-of-service conditions on affected systems by disrupting TCP connection handling. Confidentiality and integrity impacts are considered low; the primary risk is availability degradation of network services on the affected host (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches across multiple stable branches. Users should upgrade to the following fixed versions or later: 5.4.278, 5.10.153, 5.15.77, 6.0.7, or 6.1. Major Linux distributions including Red Hat Enterprise Linux (via RHSA-2026:1661, RHSA-2026:1662, RHSA-2026:1946, RHSA-2026:2490, RHSA-2026:2577, RHSA-2026:3277, RHSA-2026:3360, RHSA-2026:3388), AlmaLinux, Rocky Linux, and Oracle Linux have issued kernel update advisories addressing this vulnerability (Red Hat Errata, AlmaLinux). No configuration-based workaround is available; applying the kernel update is the recommended remediation.

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