Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: irqchip/mchp-eic: Fix error code in mchp_eic_domain_alloc() If irq_domain_translate_twocell() sets "hwirq" to >= MCHP_EIC_NIRQ (2) then it results in an out of bounds access. The code checks for invalid values, but doesn't set the error code. Return -EINVAL in that case, instead of returning success.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 00fa3461c86dd289b441d4d5a6bb236064bd207b before 324c60a67c4b9668497940f667db14d216cc7b1b; affected 00fa3461c86dd289b441d4d5a6bb236064bd207b before c21c606ad398eeb86a0f3aaff9ba4f2665e286c6; affected 00fa3461c86dd289b441d4d5a6bb236064bd207b before 3873afcb57614c1aaa5b6715554d6d1c22cac95a; affected 00fa3461c86dd289b441d4d5a6bb236064bd207b before 09efe7cfbf919c4d763bc425473fcfee0dc98356; affected 00fa3461c86dd289b441d4d5a6bb236064bd207b before efd65e2e2fd96f7aaa5cb07d79bbbfcfc80aa552; affected 00fa3461c86dd289b441d4d5a6bb236064bd207b before 7dbc0d40d8347bd9de55c904f59ea44bcc8dedb7 |
| Linux / Linux | affected 5.16; unaffected 0 before 5.16; unaffected 6.1.160 through 6.1.*; unaffected 6.6.120 through 6.6.*; unaffected 6.12.63 through 6.12.*; unaffected 6.17.13 through 6.17.*; unaffected 6.18.2 through 6.18.*; unaffected 6.19 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/324c60a67c4b9668497940f667db14d216cc7b1b
- https://git.kernel.org/stable/c/c21c606ad398eeb86a0f3aaff9ba4f2665e286c6
- https://git.kernel.org/stable/c/3873afcb57614c1aaa5b6715554d6d1c22cac95a
- https://git.kernel.org/stable/c/09efe7cfbf919c4d763bc425473fcfee0dc98356
- https://git.kernel.org/stable/c/efd65e2e2fd96f7aaa5cb07d79bbbfcfc80aa552
- https://git.kernel.org/stable/c/7dbc0d40d8347bd9de55c904f59ea44bcc8dedb7