# tcp: Use refcount_inc_not_zero() in tcp_twsk_unique().

CVE record · `CVE-2024-36904`

- **Identifiers:** `CVE-2024-36904`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 30 May 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 30 May 2024, 15:29 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: `ec94c2696f0bcd5ae92a553244e4ac30d2171a2d to before 84546cc1aeeb4df3e444b18a4293c9823f974be9` (git)
  - affected: `ec94c2696f0bcd5ae92a553244e4ac30d2171a2d to before 1796ca9c6f5bd50554214053af5f47d112818ee3` (git)
  - affected: `ec94c2696f0bcd5ae92a553244e4ac30d2171a2d to before 1d9cf07810c30ef7948879567d10fd1f01121d34` (git)
  - affected: `ec94c2696f0bcd5ae92a553244e4ac30d2171a2d to before 27b0284d8be182a81feb65581ab6a724dfd596e8` (git)
  - affected: `ec94c2696f0bcd5ae92a553244e4ac30d2171a2d to before 13ed7cdf079686ccd3618335205700c03f6fb446` (git)
  - affected: `ec94c2696f0bcd5ae92a553244e4ac30d2171a2d to before 6e48faad92be13166184d21506e4e54c79c13adc` (git)
  - affected: `ec94c2696f0bcd5ae92a553244e4ac30d2171a2d to before 517e32ea0a8c72202d0d8aa8df50a7cd3d6fdefc` (git)
  - affected: `ec94c2696f0bcd5ae92a553244e4ac30d2171a2d to before f2db7230f73a80dbb179deab78f88a7947f0ab7e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.16`
  - unaffected: `before 4.16` (semver)
  - unaffected: `4.19.314 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.276 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.217 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.159 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.91 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.31 to 6.6.*, inclusive` (semver)
  - unaffected: `6.8.10 to 6.8.*, inclusive` (semver)
  - unaffected: `6.9 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.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0061, the 50th percentile, on 21 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 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/84546cc1aeeb4df3e444b18a4293c9823f974be9>
- <https://git.kernel.org/stable/c/1796ca9c6f5bd50554214053af5f47d112818ee3>
- <https://git.kernel.org/stable/c/1d9cf07810c30ef7948879567d10fd1f01121d34>
- <https://git.kernel.org/stable/c/27b0284d8be182a81feb65581ab6a724dfd596e8>
- <https://git.kernel.org/stable/c/13ed7cdf079686ccd3618335205700c03f6fb446>
- <https://git.kernel.org/stable/c/6e48faad92be13166184d21506e4e54c79c13adc>
- <https://git.kernel.org/stable/c/517e32ea0a8c72202d0d8aa8df50a7cd3d6fdefc>
- <https://git.kernel.org/stable/c/f2db7230f73a80dbb179deab78f88a7947f0ab7e>

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-2024-36904>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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