# dmaengine: idxd: Fix the error handling path in idxd_cdev_register()

CVE record · `CVE-2022-49422`

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

Published by the CVE Program (CNA: Linux) at 26 Feb 2025, 02:12 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: `42d279f9137ab7d5503836baec2739284b278d8f to before 6073af78156b8c3fc1198f8bcc190b7ac3ac0143` (git)
  - affected: `42d279f9137ab7d5503836baec2739284b278d8f to before b3c7b5d08e9d5b2ff31c03078c00ecf11042419f` (git)
  - affected: `42d279f9137ab7d5503836baec2739284b278d8f to before 5e88561eceb34ae3f88451c2b8e30fe403484189` (git)
  - affected: `42d279f9137ab7d5503836baec2739284b278d8f to before c308a2e711a52a47f4b45e7add2b5200169e429a` (git)
  - affected: `42d279f9137ab7d5503836baec2739284b278d8f to before aab08c1aac01097815fbcf10fce7021d2396a31f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.6`
  - unaffected: `before 5.6` (semver)
  - unaffected: `5.10.121 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.46 to 5.15.*, inclusive` (semver)
  - unaffected: `5.17.14 to 5.17.*, inclusive` (semver)
  - unaffected: `5.18.3 to 5.18.*, inclusive` (semver)
  - unaffected: `5.19 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 dmaengine idxd driver, in its idxd_cdev_register() function, leaks already allocated resources when a call to alloc_chrdev_region() fails. The source gives few details about the impact or how the leak could be triggered. The fix is to upgrade to a kernel version that includes the error-handling correction, and the source lists fixed stable releases from 5.10.121, 5.15.46, 5.17.14 and 5.18.3 onward.

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.0026, the 18th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 26 Feb 2025, 02:12 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-49422)
- 26 Feb 2025, 07:01 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-49422)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/6073af78156b8c3fc1198f8bcc190b7ac3ac0143>
- <https://git.kernel.org/stable/c/b3c7b5d08e9d5b2ff31c03078c00ecf11042419f>
- <https://git.kernel.org/stable/c/5e88561eceb34ae3f88451c2b8e30fe403484189>
- <https://git.kernel.org/stable/c/c308a2e711a52a47f4b45e7add2b5200169e429a>
- <https://git.kernel.org/stable/c/aab08c1aac01097815fbcf10fce7021d2396a31f>

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

---

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