CVE-2022-50865
Unknown Unknown - Not Provided

Signed Integer Overflow in Linux Kernel TCP Backlog Handling

Vulnerability report for CVE-2022-50865, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: tcp: fix a signed-integer-overflow bug in tcp_add_backlog() The type of sk_rcvbuf and sk_sndbuf in struct sock is int, and in tcp_add_backlog(), the variable limit is caculated by adding sk_rcvbuf, sk_sndbuf and 64 * 1024, it may exceed the max value of int and overflow. This patch reduces the limit budget by halving the sndbuf to solve this issue since ACK packets are much smaller than the payload.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-07-06
AI Q&A
2025-12-30
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Impact Analysis

This vulnerability involves a signed-integer-overflow bug in the Linux kernel's tcp_add_backlog() function, which could potentially lead to incorrect handling of TCP backlog limits. This might cause unexpected behavior in network packet processing, possibly affecting system stability or network performance.

Executive Summary

This vulnerability is a signed-integer-overflow bug in the Linux kernel's tcp_add_backlog() function. It occurs because the variables sk_rcvbuf and sk_sndbuf, which are integers, are added together along with 64 * 1024 to calculate a limit. This sum can exceed the maximum value an int can hold, causing an overflow. The issue was fixed by reducing the limit budget by halving the sndbuf value, as ACK packets are smaller than the payload.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50865. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart