CVE-2022-49422Published Feb 26, 2025 · Feb 26Updated Nov 7
dmaengine: idxd: Fix the error handling path in idxd_cdev_register()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's idxd dmaengine driver leaks previously allocated resources if alloc_chrdev_region() fails during idxd_cdev_register(). The input does not establish how an attacker could trigger the failure or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the idxd dmaengine driver should check their versions; affected versions are not specified.