# net/tunnel: wait until all sk_user_data reader finish before releasing the sock

CVE record · `CVE-2022-50405`

- **Identifiers:** `CVE-2022-50405`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Sept 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Sept 2025, 16:03 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: `6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d to before e8316584b0a6c61c9c407631040c22712b26e38c` (git)
  - affected: `6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d to before 84e566d157cc22ad2da8bdd970495855fbf13d92` (git)
  - affected: `6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d to before be34e79e0ae6adbf6e7e75ddaee9ad84795ab933` (git)
  - affected: `6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d to before 303000c793f705d07b551eb7c1c27001c5b33c8d` (git)
  - affected: `6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d to before 91f09a776ae335ca836ed864b8f2a9461882a280` (git)
  - affected: `6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d to before 9a6544343bba7da929d6d4a2dc44ec0f15970081` (git)
  - affected: `6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d to before b38aa7465411795e9e744b8d94633910497fec2a` (git)
  - affected: `6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d to before 588d0b8462f5ffed3e677e65639825b2678117ab` (git)
  - affected: `6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d to before 3cf7203ca620682165706f70a1b12b5194607dce` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.18`
  - unaffected: `before 3.18` (semver)
  - unaffected: `4.9.337 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.303 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.270 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.229 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.163 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.86 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.16 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.2 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 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) (used for this record)
- 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.0018, the 8th percentile, on 20 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 18 Sept 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/e8316584b0a6c61c9c407631040c22712b26e38c>
- <https://git.kernel.org/stable/c/84e566d157cc22ad2da8bdd970495855fbf13d92>
- <https://git.kernel.org/stable/c/be34e79e0ae6adbf6e7e75ddaee9ad84795ab933>
- <https://git.kernel.org/stable/c/303000c793f705d07b551eb7c1c27001c5b33c8d>
- <https://git.kernel.org/stable/c/91f09a776ae335ca836ed864b8f2a9461882a280>
- <https://git.kernel.org/stable/c/9a6544343bba7da929d6d4a2dc44ec0f15970081>
- <https://git.kernel.org/stable/c/b38aa7465411795e9e744b8d94633910497fec2a>
- <https://git.kernel.org/stable/c/588d0b8462f5ffed3e677e65639825b2678117ab>
- <https://git.kernel.org/stable/c/3cf7203ca620682165706f70a1b12b5194607dce>

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

---

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