Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: platform/x86/intel/tpmi: use cleanup helpers in mem_write() In mem_write(), the temporary array returned by parse_int_array_user() must be released on all exit paths. Convert the array variable to use cleanup.h scope-based cleanup so it is freed automatically on return. This also moves the array declaration next to parse_int_array_user() as required by cleanup.h usage guidelines.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 8e0a2fc68ec369f2b6755994da1d318d0898a9d9 before 2137f21542900233a42bf00578817f9b8dfecadc; affected 8e0a2fc68ec369f2b6755994da1d318d0898a9d9 before a221557958e3a82d8565729d445a7385963f30b6 |
| Linux / Linux | affected 7.1; unaffected 0 before 7.1; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.