What’s Vulnerable › Vulnerabilities
CVE-2022-49422: dmaengine: idxd: Fix the error handling path in idxd_cdev_register()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Fix the error handling path in idxd_cdev_register() If a call to alloc_chrdev_region() fails, the already allocated resources are leaking. Add the needed error handling path to fix the leak.
Affected products
- Linux kernel: from 5.6 before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3 — fixed in 5.10.121, 5.15.46, 5.17.14, 5.18.3
How to fix
Upgrade to a fixed version: Linux kernel 5.10.121, 5.15.46, 5.17.14, 5.18.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/5e88561eceb34ae3f88451c2b8e30fe403484189
- https://git.kernel.org/stable/c/6073af78156b8c3fc1198f8bcc190b7ac3ac0143
- https://git.kernel.org/stable/c/aab08c1aac01097815fbcf10fce7021d2396a31f
- https://git.kernel.org/stable/c/b3c7b5d08e9d5b2ff31c03078c00ecf11042419f
- https://git.kernel.org/stable/c/c308a2e711a52a47f4b45e7add2b5200169e429a
Get alerted when CVE-2022-49422 or the next vulnerability affects your stack