# bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queues

CVE record · `CVE-2022-49877`

- **Identifiers:** `CVE-2022-49877`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2025, 14:10 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: `244ce90c8d0bd10ebf957da02c6f3fcd5d920bdf to before d975bec1eaeb52341acc9273db79ddb078220399` (git)
  - affected: `7b812a369e6416ab06d83cdd39d8e3f752781dd0 to before cc21dc48a78cc9e5af9a4d039cd456446a6e73ff` (git)
  - affected: `168ff181f5b6e7fce684c98a30d35da1dbf8f82a to before 95adbd2ac8de82e43fd6b347e7e1b47f74dc1abb` (git)
  - affected: `84472b436e760ba439e1969a9e3c5ae7c86de39d to before 14e8bc3bf7bd6af64d7538a0684c8238d96cdfd7` (git)
  - affected: `84472b436e760ba439e1969a9e3c5ae7c86de39d to before 8ec95b94716a1e4d126edc3fb2bc426a717e2dba` (git)
  - affected: `87d532d41ef937e16f61b3d2094f3a2ac49be365` (git)
  - affected: `abb4caa477a5450817d2aa1198edce66450aecf8` (git)
  - affected: `5.4.189 to before 5.4.225` (semver)
  - affected: `5.10.110 to before 5.10.155` (semver)
  - affected: `5.15.33 to before 5.15.79` (semver)
  - affected: `5.16.19 to before 5.17` (semver)
  - affected: `5.17.2 to before 5.18` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.18`
  - unaffected: `before 5.18` (semver)
  - unaffected: `5.4.225 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.155 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.79 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.9 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's BPF sockmap code can trigger a kernel warning in sk_stream_kill_queues when sockets are closed, as seen in the test_sockmap selftests. The source gives few details on what an attacker could do. Affected kernels are listed as 5.18 and later; upgrade to 5.4.225, 5.10.155, 5.15.79, or 6.0.9 (or a later release in those series).

Written 16 Nov 2026.

## 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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 10th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 May 2025, 14:10 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-49877)
- 1 May 2025, 15:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-49877)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/d975bec1eaeb52341acc9273db79ddb078220399>
- <https://git.kernel.org/stable/c/cc21dc48a78cc9e5af9a4d039cd456446a6e73ff>
- <https://git.kernel.org/stable/c/95adbd2ac8de82e43fd6b347e7e1b47f74dc1abb>
- <https://git.kernel.org/stable/c/14e8bc3bf7bd6af64d7538a0684c8238d96cdfd7>
- <https://git.kernel.org/stable/c/8ec95b94716a1e4d126edc3fb2bc426a717e2dba>

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

---

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