CVE-2022-50865: tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
Vulnerability summary
CVE-2022-50865 is a high (CVSS 7.5) vulnerability in linux. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 44.7% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 1Timeline
- 30-12-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.53% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu119 products
- linuxAll versions (No fix recorded) | < 5.4.0-192.212 | < 5.15.0-60.66
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1130.140 | < 5.15.0-1030.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.0.7-1
Linux1 product
- linux≥ c9c3321257e1b95be9b375f811fb250162af8d39, < 9d04b4d0feee12bce6bfe37f30d8e953d3c30368 | ≥ c9c3321257e1b95be9b375f811fb250162af8d39, < 4f23cb2be530785db284a685d1b1c30224d8a538 | ≥ c9c3321257e1b95be9b375f811fb250162af8d39, < a85d39f14aa8a71e29cfb5eb5de02878a8779898 | ≥ c9c3321257e1b95be9b375f811fb250162af8d39, < 28addf029417d53b1df062b4c87feb7bc033cb5f | ≥ c9c3321257e1b95be9b375f811fb250162af8d39, < ec791d8149ff60c40ad2074af3b92a39c916a03f | 4.9
3 vendors · 121 products