{"id":"CVE-2026-72145","state":"PUBLISHED","title":"platform/x86/intel/tpmi: use cleanup helpers in mem_write()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86/intel/tpmi: use cleanup helpers in mem_write()\n\nIn mem_write(), the temporary array returned by\nparse_int_array_user() must be released on all exit paths.\nConvert the array variable to use cleanup.h scope-based\ncleanup so it is freed automatically on return.\n\nThis also moves the array declaration next to\nparse_int_array_user() as required by cleanup.h usage\nguidelines.","publishedAt":"2026-08-15T05:53:17.703Z","updatedAt":"2026-08-17T05:09:03.889Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8e0a2fc68ec369f2b6755994da1d318d0898a9d9","status":"affected","lessThan":"2137f21542900233a42bf00578817f9b8dfecadc","versionType":"git"},{"version":"8e0a2fc68ec369f2b6755994da1d318d0898a9d9","status":"affected","lessThan":"a221557958e3a82d8565729d445a7385963f30b6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/intel/vsec_tpmi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/intel/vsec_tpmi.c"]}],"references":["https://git.kernel.org/stable/c/2137f21542900233a42bf00578817f9b8dfecadc","https://git.kernel.org/stable/c/a221557958e3a82d8565729d445a7385963f30b6"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72145.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72145","state":"PUBLISHED","datePublished":"2026-08-15T05:53:17.703Z","dateUpdated":"2026-08-17T05:09:03.889Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.908Z"},"containers":{"cna":{"title":"platform/x86/intel/tpmi: use cleanup helpers in mem_write()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86/intel/tpmi: use cleanup helpers in mem_write()\n\nIn mem_write(), the temporary array returned by\nparse_int_array_user() must be released on all exit paths.\nConvert the array variable to use cleanup.h scope-based\ncleanup so it is freed automatically on return.\n\nThis also moves the array declaration next to\nparse_int_array_user() as required by cleanup.h usage\nguidelines."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8e0a2fc68ec369f2b6755994da1d318d0898a9d9","status":"affected","lessThan":"2137f21542900233a42bf00578817f9b8dfecadc","versionType":"git"},{"version":"8e0a2fc68ec369f2b6755994da1d318d0898a9d9","status":"affected","lessThan":"a221557958e3a82d8565729d445a7385963f30b6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/intel/vsec_tpmi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/platform/x86/intel/vsec_tpmi.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2137f21542900233a42bf00578817f9b8dfecadc"},{"url":"https://git.kernel.org/stable/c/a221557958e3a82d8565729d445a7385963f30b6"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:09:03.889Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}