Acknowledged
Created: Jun 18, 2025
Updated: Sep 4, 2026
Resolved Date: Jun 19, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel
In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]kunit: executor: Fix a memory leak on failure in kunit_filter_tests[EOL][EOL]It's possible that memory allocation for 'filtered' will fail, but for the[EOL]copy of the suite to succeed. In this case, the copy could be leaked.[EOL][EOL]Properly free 'copy' in the error case for the allocation of 'filtered'[EOL]failing.[EOL][EOL]Note that there may also have been a similar issue in[EOL]kunit_filter_subsuites, before it was removed in "kunit: flatten[EOL]kunit_suite*** to kunit_suite** in .kunit_test_suites".[EOL][EOL]This was reported by clang-analyzer via the kernel test robot, here:[EOL]https://lore.kernel.org/all/c8073b8e-7b9e-0830-4177-87c12f16349c@intel.com/[EOL][EOL]And by smatch via Dan Carpenter and the kernel test robot:[EOL]https://lore.kernel.org/all/202207101328.ASjx88yj-lkp@intel.com/
CREATE(Triage):(User=lchen-cn) [CVE-2022-50170 (https://nvd.nist.gov/vuln/detail/CVE-2022-50170)