# memcg: fix possible use-after-free in memcg_write_event_control()

CVE record · `CVE-2022-48988`

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

Published by the CVE Program (CNA: Linux) at 21 Oct 2024, 20:06 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: `347c4a8747104a945ecced358944e42879176ca5 to before b77600e26fd48727a95ffd50ba1e937efb548125` (git)
  - affected: `347c4a8747104a945ecced358944e42879176ca5 to before e1ae97624ecf400ea56c238bff23e5cd139df0b8` (git)
  - affected: `347c4a8747104a945ecced358944e42879176ca5 to before 35963b31821920908e397146502066f6b032c917` (git)
  - affected: `347c4a8747104a945ecced358944e42879176ca5 to before f1f7f36cf682fa59db15e2089039a2eeb58ff2ad` (git)
  - affected: `347c4a8747104a945ecced358944e42879176ca5 to before aad8bbd17a1d586005feb9226c2e9cfce1432e13` (git)
  - affected: `347c4a8747104a945ecced358944e42879176ca5 to before 0ed074317b835caa6c03bcfa8f133365324673dc` (git)
  - affected: `347c4a8747104a945ecced358944e42879176ca5 to before 4a7ba45b1a435e7097ca0f79a847d0949d0eb088` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.14`
  - unaffected: `before 3.14` (semver)
  - unaffected: `4.14.302 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.269 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.227 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.159 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.83 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.13 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 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.0024, the 15th 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 21 Oct 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/b77600e26fd48727a95ffd50ba1e937efb548125>
- <https://git.kernel.org/stable/c/e1ae97624ecf400ea56c238bff23e5cd139df0b8>
- <https://git.kernel.org/stable/c/35963b31821920908e397146502066f6b032c917>
- <https://git.kernel.org/stable/c/f1f7f36cf682fa59db15e2089039a2eeb58ff2ad>
- <https://git.kernel.org/stable/c/aad8bbd17a1d586005feb9226c2e9cfce1432e13>
- <https://git.kernel.org/stable/c/0ed074317b835caa6c03bcfa8f133365324673dc>
- <https://git.kernel.org/stable/c/4a7ba45b1a435e7097ca0f79a847d0949d0eb088>

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

---

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