CyberRota Analysis
AI-GeneratedThe vulnerability in the Linux kernel affects the mem_write() function within the Intel TPMI platform, where a temporary array is not properly released on all exit paths, potentially leading to memory leaks. This issue has been addressed by implementing scope-based cleanup to ensure the array is automatically freed upon return. System administrators and developers managing Linux kernel environments, particularly those utilizing Intel TPMI, should prioritize this update to mitigate potential memory management issues.
Original NVD Description
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.