# net: ipv4: fix memory leak in ip_mc_add1_src

CVE record · `CVE-2021-47238`

- **Identifiers:** `CVE-2021-47238`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-400](https://cwe.mitre.org/data/definitions/400.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 21 May 2024
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 21 May 2024, 14:19 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: `24803f38a5c0b6c57ed800b47e695f9ce474bc3a to before 0dc13e75507faa17ac9f7562b4ef7bf8fcd78422` (git)
  - affected: `24803f38a5c0b6c57ed800b47e695f9ce474bc3a to before 6cff57eea3347f79f1867cc53e1093b6614138d8` (git)
  - affected: `24803f38a5c0b6c57ed800b47e695f9ce474bc3a to before 1e28018b5c83d5073f74a6fb72eabe8370b2f501` (git)
  - affected: `24803f38a5c0b6c57ed800b47e695f9ce474bc3a to before 3dd2aeac2e9624cff9fa634710837e4f2e352758` (git)
  - affected: `24803f38a5c0b6c57ed800b47e695f9ce474bc3a to before ac31cc837cafb57a271babad8ccffbf733caa076` (git)
  - affected: `24803f38a5c0b6c57ed800b47e695f9ce474bc3a to before 77de6ee73f54a9a89c0afa0bf4c53b239aa9953a` (git)
  - affected: `24803f38a5c0b6c57ed800b47e695f9ce474bc3a to before d8e2973029b8b2ce477b564824431f3385c77083` (git)
  - affected: `bd1b664a19403ede448d29c87b2f23796bc7a577` (git)
  - affected: `b38c6e0bd5b5e439ecebdc0df599d573c2f610f8` (git)
  - affected: `3.2.87 to before 3.3` (semver)
  - affected: `3.16.42 to before 3.17` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.9`
  - unaffected: `before 4.9` (semver)
  - unaffected: `4.9.274 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.238 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.196 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.128 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.46 to 5.10.*, inclusive` (semver)
  - unaffected: `5.12.13 to 5.12.*, inclusive` (semver)
  - unaffected: `5.13 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

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

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

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/0dc13e75507faa17ac9f7562b4ef7bf8fcd78422>
- <https://git.kernel.org/stable/c/6cff57eea3347f79f1867cc53e1093b6614138d8>
- <https://git.kernel.org/stable/c/1e28018b5c83d5073f74a6fb72eabe8370b2f501>
- <https://git.kernel.org/stable/c/3dd2aeac2e9624cff9fa634710837e4f2e352758>
- <https://git.kernel.org/stable/c/ac31cc837cafb57a271babad8ccffbf733caa076>
- <https://git.kernel.org/stable/c/77de6ee73f54a9a89c0afa0bf4c53b239aa9953a>
- <https://git.kernel.org/stable/c/d8e2973029b8b2ce477b564824431f3385c77083>

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

---

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