# capabilities: fix potential memleak on error path from vfs_getxattr_alloc()

CVE record · `CVE-2022-49890`

- **Identifiers:** `CVE-2022-49890`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-401](https://cwe.mitre.org/data/definitions/401.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2025
- **Updated:** 11 May 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: `8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before 6bb00eb21c0fbf18e5d3538c9ff0cf63fd0ace85` (git)
  - affected: `8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before 90577bcc01c4188416a47269f8433f70502abe98` (git)
  - affected: `8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before 0c3e6288da650d1ec911a259c77bc2d88e498603` (git)
  - affected: `8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before cdf01c807e974048c43c7fd3ca574f6086a57906` (git)
  - affected: `8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before 2de8eec8afb75792440b8900a01d52b8f6742fd1` (git)
  - affected: `8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before 7480aeff0093d8c54377553ec6b31110bea37b4d` (git)
  - affected: `8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before 8cf0a1bc12870d148ae830a4ba88cfdf0e879cee` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.14`
  - unaffected: `before 4.14` (semver)
  - unaffected: `4.14.299 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.265 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.224 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.154 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.78 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.8 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

- 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.0022, the 12th percentile, on 17 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 1 May 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/6bb00eb21c0fbf18e5d3538c9ff0cf63fd0ace85>
- <https://git.kernel.org/stable/c/90577bcc01c4188416a47269f8433f70502abe98>
- <https://git.kernel.org/stable/c/0c3e6288da650d1ec911a259c77bc2d88e498603>
- <https://git.kernel.org/stable/c/cdf01c807e974048c43c7fd3ca574f6086a57906>
- <https://git.kernel.org/stable/c/2de8eec8afb75792440b8900a01d52b8f6742fd1>
- <https://git.kernel.org/stable/c/7480aeff0093d8c54377553ec6b31110bea37b4d>
- <https://git.kernel.org/stable/c/8cf0a1bc12870d148ae830a4ba88cfdf0e879cee>

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

---

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