Skip to main content
Mallory
HighVulnerability

CVE-2022-1012: Linux Kernel TCP Source-Port Generation Information Disclosure

Published Aug 5, 2022 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.2High · v3.1
EPSS3.6%90th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2022-1012CWE-200

CVE-2022-1012 is an information-disclosure vulnerability in the Linux kernel's TCP source-port generation algorithm, with core selection logic implemented in __inet_hash_connect(). An undersized perturbation table in the Double-Hash Port Selection Algorithm allows attackers observing source ports to infer the evolution of internal port-selection state. This enables system fingerprinting and inference of outbound TCP connection patterns. The global table is shared across network interfaces and namespaces, allowing information leakage across those boundaries. Fingerprinting can distinguish systems with otherwise identical hardware and software until restart. Despite early descriptions, the vulnerability is not a memory leak or denial-of-service flaw.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Exploitation exposes limited TCP-stack state and network-activity information, enabling persistent device fingerprinting and estimation of the number of outgoing TCP connections within a time window. Shared perturbation state can leak information across network interfaces and namespaces. Red Hat ultimately characterized the impact as limited information disclosure, rather than memory leakage or denial of service. No integrity compromise, privilege escalation, or code execution is established.

Mitigation

If you can’t patch tonight, do this now.

Red Hat identifies no workaround meeting its criteria for ease of deployment, broad applicability, and stability. Restarting resets the fingerprinting state but does not remove the vulnerability and is not a substitute for patching.

Remediation

Patch, then assume compromise.

Install the vendor-fixed kernel or kernel-rt package for the applicable distribution and support channel, then reboot into the updated kernel. RHEL fixes include kernel 4.18.0-193.87.1.el8_2 for RHEL 8.2, 4.18.0-305.57.1.el8_4 for RHEL 8.4, and 4.18.0-372.19.1.el8_6 for RHEL 8.6. RHEL 9 fixes are available through RHSA-2022:5249 and RHSA-2022:5267; supported running kernels can alternatively receive the applicable live patch through RHSA-2022:5214 without a conventional reboot. The upstream fix series increases the perturbation table to 65,536 entries and uses all 64 bits of SipHash for port-offset calculation. RHEL 7 is unaffected because it uses a different port-selection algorithm.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2022-1012 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2022-1012 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2022-1012?
As of Oct 25, 2026, Mallory has found no public exploit for CVE-2022-1012.
Is there a patch for CVE-2022-1012?
Install the vendor-fixed kernel or kernel-rt package for the applicable distribution and support channel, then reboot into the updated kernel. RHEL fixes include kernel 4.18.0-193.87.1.el8_2 for RHEL 8.2, 4.18.0-305.57.1.el8_4 for RHEL 8.4, and 4.18.0-372.19.1.el8_6 for RHEL 8.6.
What products are affected by CVE-2022-1012?
Linux Kernel.
How severe is CVE-2022-1012?
CVE-2022-1012 has a CVSS v3.1 score of 8.2 (High) and an EPSS score of 3.6% (90th percentile) as of Oct 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.