# bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data

CVE record · `CVE-2022-50536`

- **Identifiers:** `CVE-2022-50536`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 7 Oct 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 7 Oct 2025, 15:21 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: `5f0bfe21c853917aae4bc5a70fe57ddb4054443e to before 7508b9f4daac4ec7dfe0b6fb2d688b1c1c105e10` (git)
  - affected: `15dec6d8f8642a26d6a272af2d7f9877df8f02b8 to before 28e4a763cd4a2b1a78852216ef4bd7df3a05cec6` (git)
  - affected: `cd9733f5d75c94a32544d6ce5be47e14194cf137 to before 8786bde11a4f31b63b3036731df0b47337a7a245` (git)
  - affected: `cd9733f5d75c94a32544d6ce5be47e14194cf137 to before 578a7628b838a3ac8ad61deaab5a816ff032ac13` (git)
  - affected: `cd9733f5d75c94a32544d6ce5be47e14194cf137 to before 113236e8f49f262f318c00ebb14b15f4834e87c1` (git)
  - affected: `cd9733f5d75c94a32544d6ce5be47e14194cf137 to before 7a9841ca025275b5b0edfb0b618934abb6ceec15` (git)
  - affected: `6f226ffe4458ea3b8c33287cb8c86f87dc198dce` (git)
  - affected: `5.4.157 to before 5.4.229` (semver)
  - affected: `5.10.77 to before 5.10.163` (semver)
  - affected: `5.14.16 to before 5.15` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15`
  - unaffected: `before 5.15` (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)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0017, the 6th 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 7 Oct 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/7508b9f4daac4ec7dfe0b6fb2d688b1c1c105e10>
- <https://git.kernel.org/stable/c/28e4a763cd4a2b1a78852216ef4bd7df3a05cec6>
- <https://git.kernel.org/stable/c/8786bde11a4f31b63b3036731df0b47337a7a245>
- <https://git.kernel.org/stable/c/578a7628b838a3ac8ad61deaab5a816ff032ac13>
- <https://git.kernel.org/stable/c/113236e8f49f262f318c00ebb14b15f4834e87c1>
- <https://git.kernel.org/stable/c/7a9841ca025275b5b0edfb0b618934abb6ceec15>

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

---

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