# xen/gntdev: Prevent leaking grants

CVE record · `CVE-2022-50257`

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

Published by the CVE Program (CNA: Linux) at 15 Sept 2025, 14:02 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: `36cd49b071fceca70326d9db786aa15e9fffd677 to before b043f2cab100bed3e0a999dcf38cc05b1e4a7e41` (git)
  - affected: `2fe26a9a70482bea7827803fdec98050fec68b20 to before 49bb053b1ec367b6883030eb2cca696e91435679` (git)
  - affected: `73e9e72247b98da65bc32d41a961e820cca5f503 to before cb1ccfe7655380f77a58b340072f5f40bc285902` (git)
  - affected: `ee25841221c17228cbd30262a90f3b03ad80cdf6 to before 3d056d81b93a787613eda44aeb21fc14c3392b34` (git)
  - affected: `79963021fd718b74bed4cbc98f5f49d3ba6fb48c to before 49db6cb81400ba863e1a85e55fcdf1031807c23f` (git)
  - affected: `87a54feba68f5e47925c8e49100db9b2a8add761 to before 1cb73704cb4778299609634a790a80daba582f7d` (git)
  - affected: `dbe97cff7dd9f0f75c524afdd55ad46be3d15295 to before 0bccddd9b8f03ad57bb738f0d3da8845d4e1e579` (git)
  - affected: `dbe97cff7dd9f0f75c524afdd55ad46be3d15295 to before 273f6a4f71be12e2ec80a4919837d6e4fa933a04` (git)
  - affected: `dbe97cff7dd9f0f75c524afdd55ad46be3d15295 to before 0991028cd49567d7016d1b224fe0117c35059f86` (git)
  - affected: `d4a49d20cd7cdb6bd075cd04c2cd00a7eba907ed` (git)
  - affected: `4.9.322 to before 4.9.332` (semver)
  - affected: `4.14.287 to before 4.14.298` (semver)
  - and 5 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.19`
  - unaffected: `before 5.19` (semver)
  - unaffected: `4.9.332 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.298 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.264 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.223 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.153 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.75 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.17 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0.3 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

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

- **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 15 Sept 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/b043f2cab100bed3e0a999dcf38cc05b1e4a7e41>
- <https://git.kernel.org/stable/c/49bb053b1ec367b6883030eb2cca696e91435679>
- <https://git.kernel.org/stable/c/cb1ccfe7655380f77a58b340072f5f40bc285902>
- <https://git.kernel.org/stable/c/3d056d81b93a787613eda44aeb21fc14c3392b34>
- <https://git.kernel.org/stable/c/49db6cb81400ba863e1a85e55fcdf1031807c23f>
- <https://git.kernel.org/stable/c/1cb73704cb4778299609634a790a80daba582f7d>
- <https://git.kernel.org/stable/c/0bccddd9b8f03ad57bb738f0d3da8845d4e1e579>
- <https://git.kernel.org/stable/c/273f6a4f71be12e2ec80a4919837d6e4fa933a04>
- <https://git.kernel.org/stable/c/0991028cd49567d7016d1b224fe0117c35059f86>

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

---

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