# perf/core: Fix data race between perf_event_set_output() and perf_mmap_close()

CVE record · `CVE-2022-49607`

- **Identifiers:** `CVE-2022-49607`
- **State:** Confirmed
- **Severity:** CVSS 4.7 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-362](https://cwe.mitre.org/data/definitions/362.html)
- **Tags:** [Race condition](https://agentprime.io/advisories/tag/race-condition.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 26 Feb 2025
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 26 Feb 2025, 02:23 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: `9bb5d40cd93c9dd4be74834b1dcb1ba03629716b to before 3bbd868099287ff9027db59029b502fcfa2202a0` (git)
  - affected: `9bb5d40cd93c9dd4be74834b1dcb1ba03629716b to before f836f9ac95df15f1e0af4beb0ec20021e8c91998` (git)
  - affected: `9bb5d40cd93c9dd4be74834b1dcb1ba03629716b to before 17f5417194136517ee9bbd6511249e5310e5617c` (git)
  - affected: `9bb5d40cd93c9dd4be74834b1dcb1ba03629716b to before 98c3c8fd0d4c560e0f8335b79c407bbf7fc9462c` (git)
  - affected: `9bb5d40cd93c9dd4be74834b1dcb1ba03629716b to before 43128b3eee337824158f34da6648163d2f2fb937` (git)
  - affected: `9bb5d40cd93c9dd4be74834b1dcb1ba03629716b to before da3c256e2d0ebc87c7db0c605c9692b6f1722074` (git)
  - affected: `9bb5d40cd93c9dd4be74834b1dcb1ba03629716b to before a9391ff7a7c5f113d6f2bf6621d49110950de49c` (git)
  - affected: `9bb5d40cd93c9dd4be74834b1dcb1ba03629716b to before 68e3c69803dada336893640110cb87221bb01dcf` (git)
  - affected: `2487f0db30527032c4d56fc2d0b1a240fe89fef8` (git)
  - affected: `703197b61d05f5edae54bad3256901c5a5c8794c` (git)
  - affected: `c52217e88ae0f3a4ae00562d86e338f8f85969b4` (git)
  - affected: `3.2.49 to before 3.3` (semver)
  - and 2 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.10`
  - unaffected: `before 3.10` (semver)
  - unaffected: `4.9.325 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.290 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.254 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.208 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.134 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.58 to 5.15.*, inclusive` (semver)
  - unaffected: `5.18.15 to 5.18.*, inclusive` (semver)
  - unaffected: `5.19 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, 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 26 Feb 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/3bbd868099287ff9027db59029b502fcfa2202a0>
- <https://git.kernel.org/stable/c/f836f9ac95df15f1e0af4beb0ec20021e8c91998>
- <https://git.kernel.org/stable/c/17f5417194136517ee9bbd6511249e5310e5617c>
- <https://git.kernel.org/stable/c/98c3c8fd0d4c560e0f8335b79c407bbf7fc9462c>
- <https://git.kernel.org/stable/c/43128b3eee337824158f34da6648163d2f2fb937>
- <https://git.kernel.org/stable/c/da3c256e2d0ebc87c7db0c605c9692b6f1722074>
- <https://git.kernel.org/stable/c/a9391ff7a7c5f113d6f2bf6621d49110950de49c>
- <https://git.kernel.org/stable/c/68e3c69803dada336893640110cb87221bb01dcf>

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

---

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