Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: s390/perf_cpum_cf: Add missing array_index_nospec() to __hw_perf_event_init() ev variable is userspace controlled via event->attr.config and used as an array index after bounds checking, but without speculation barriers. Add the missing array_index_nospec() call to prevent speculative execution.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 212188a596d17d519842ef2173150315735b54e1 before 4c249b214c686f9a1c4cf4f32893b59b189e897a; affected 212188a596d17d519842ef2173150315735b54e1 before 27206bb57c47bdbe33bccc78fa7f7e2a719a06b9; affected 212188a596d17d519842ef2173150315735b54e1 before a21f3615c88421df81060b6ff89220fd34094c4d; affected 212188a596d17d519842ef2173150315735b54e1 before fa1ebae4206e6afc8caa642e9eb1bbe39a9a724f; affected 212188a596d17d519842ef2173150315735b54e1 before f79dff8c721bbb1f3fc312ea55e0551c2cc28801; affected 212188a596d17d519842ef2173150315735b54e1 before 49145bce539117db4b6e9e83c0e5ef528e361050 |
| Linux / Linux | affected 3.4; unaffected 0 before 3.4; unaffected 6.1.184 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/4c249b214c686f9a1c4cf4f32893b59b189e897a
- https://git.kernel.org/stable/c/27206bb57c47bdbe33bccc78fa7f7e2a719a06b9
- https://git.kernel.org/stable/c/a21f3615c88421df81060b6ff89220fd34094c4d
- https://git.kernel.org/stable/c/fa1ebae4206e6afc8caa642e9eb1bbe39a9a724f
- https://git.kernel.org/stable/c/f79dff8c721bbb1f3fc312ea55e0551c2cc28801
- https://git.kernel.org/stable/c/49145bce539117db4b6e9e83c0e5ef528e361050