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

CVE record · `CVE-2022-50865`

- **Identifiers:** `CVE-2022-50865`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 30 Dec 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 30 Dec 2025, 12:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `c9c3321257e1b95be9b375f811fb250162af8d39 to before 9d04b4d0feee12bce6bfe37f30d8e953d3c30368` (git)
  - affected: `c9c3321257e1b95be9b375f811fb250162af8d39 to before 4f23cb2be530785db284a685d1b1c30224d8a538` (git)
  - affected: `c9c3321257e1b95be9b375f811fb250162af8d39 to before a85d39f14aa8a71e29cfb5eb5de02878a8779898` (git)
  - affected: `c9c3321257e1b95be9b375f811fb250162af8d39 to before 28addf029417d53b1df062b4c87feb7bc033cb5f` (git)
  - affected: `c9c3321257e1b95be9b375f811fb250162af8d39 to before ec791d8149ff60c40ad2074af3b92a39c916a03f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.9`
  - unaffected: `before 4.9` (semver)
  - unaffected: `5.4.278 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.153 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.77 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.7 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0053, the 45th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 30 Dec 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-50865](https://www.cve.org/CVERecord?id=CVE-2022-50865)
- [NVD: CVE-2022-50865](https://nvd.nist.gov/vuln/detail/CVE-2022-50865)

### References from the CNA

- <https://git.kernel.org/stable/c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368>
- <https://git.kernel.org/stable/c/4f23cb2be530785db284a685d1b1c30224d8a538>
- <https://git.kernel.org/stable/c/a85d39f14aa8a71e29cfb5eb5de02878a8779898>
- <https://git.kernel.org/stable/c/28addf029417d53b1df062b4c87feb7bc033cb5f>
- <https://git.kernel.org/stable/c/ec791d8149ff60c40ad2074af3b92a39c916a03f>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50865>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50865/>. Everything for agents: <https://agentprime.io/llms.txt>.
