Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 42d279f9137ab7d5503836baec2739284b278d8f before 6073af78156b8c3fc1198f8bcc190b7ac3ac0143; affected 42d279f9137ab7d5503836baec2739284b278d8f before b3c7b5d08e9d5b2ff31c03078c00ecf11042419f; affected 42d279f9137ab7d5503836baec2739284b278d8f before 5e88561eceb34ae3f88451c2b8e30fe403484189; affected 42d279f9137ab7d5503836baec2739284b278d8f before c308a2e711a52a47f4b45e7add2b5200169e429a; affected 42d279f9137ab7d5503836baec2739284b278d8f before aab08c1aac01097815fbcf10fce7021d2396a31f |
| Linux / Linux | affected 5.6; unaffected 0 before 5.6; unaffected 5.10.121 through 5.10.*; unaffected 5.15.46 through 5.15.*; unaffected 5.17.14 through 5.17.*; unaffected 5.18.3 through 5.18.*; unaffected 5.19 through * |
CWE
No CWE identifiers supplied.
References
- 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