CVE-2022-50865 Details
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.
A signed integer overflow vulnerability has been identified in the Linux kernel's TCP backlog management function, tcp_add_backlog(). This issue arises because the function calculates a limit by adding the receive buffer (sk_rcvbuf), send buffer (sk_sndbuf), and a fixed value of 64KB. This calculation can exceed the maximum value of an integer, leading to an overflow. The vulnerability is present in the stable versions of the Linux kernel.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/28addf029417d53b1df062b4c87feb7bc033cb5f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4f23cb2be530785db284a685d1b1c30224d8a538 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a85d39f14aa8a71e29cfb5eb5de02878a8779898 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ec791d8149ff60c40ad2074af3b92a39c916a03f | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion