CVE-2022-50865

tcp: fix a signed-integer-overflow bug in tcp_add_backlog()

HIGH
7.5
CVSS Score
Published: December 30, 2025 at 12:15 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.9 ≤ v < 5.10.1534.9 ≤ v < 5.15.774.9 ≤ v < 5.4.2784.9 ≤ v < 6.0.74.9 ≤ v < 6.14.9c9c3321257e1b95be9b375f811fb250162af8d39
Vendor states this is fixed in 28addf029417d53b1df062b4c87feb7bc033cb5f (fixed)
Vendor states this is fixed in 4f23cb2be530785db284a685d1b1c30224d8a538 (fixed)
Vendor states this is fixed in 9d04b4d0feee12bce6bfe37f30d8e953d3c30368 (fixed)
Vendor states this is fixed in a85d39f14aa8a71e29cfb5eb5de02878a8779898 (fixed)
Vendor states this is fixed in ec791d8149ff60c40ad2074af3b92a39c916a03f (fixed)
Vendor states this is fixed in 4.9 (unaffected)
Vendor states this is fixed in 5.10.153 (unaffected)
Vendor states this is fixed in 5.15.77 (unaffected)
Vendor states this is fixed in 5.4.278 (unaffected)
Vendor states this is fixed in 6.0.7 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHLinux
Vector?

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card