{"id":"CVE-2023-53793","state":"PUBLISHED","title":"perf tool x86: Fix perf_env memory leak","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf tool x86: Fix perf_env memory leak\n\nFound by leak sanitizer:\n```\n==1632594==ERROR: LeakSanitizer: detected memory leaks\n\nDirect leak of 21 byte(s) in 1 object(s) allocated from:\n    #0 0x7f2953a7077b in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439\n    #1 0x556701d6fbbf in perf_env__read_cpuid util/env.c:369\n    #2 0x556701d70589 in perf_env__cpuid util/env.c:465\n    #3 0x55670204bba2 in x86__is_amd_cpu arch/x86/util/env.c:14\n    #4 0x5567020487a2 in arch__post_evsel_config arch/x86/util/evsel.c:83\n    #5 0x556701d8f78b in evsel__config util/evsel.c:1366\n    #6 0x556701ef5872 in evlist__config util/record.c:108\n    #7 0x556701cd6bcd in test__PERF_RECORD tests/perf-record.c:112\n    #8 0x556701cacd07 in run_test tests/builtin-test.c:236\n    #9 0x556701cacfac in test_and_print tests/builtin-test.c:265\n    #10 0x556701cadddb in __cmd_test tests/builtin-test.c:402\n    #11 0x556701caf2aa in cmd_test tests/builtin-test.c:559\n    #12 0x556701d3b557 in run_builtin tools/perf/perf.c:323\n    #13 0x556701d3bac8 in handle_internal_command tools/perf/perf.c:377\n    #14 0x556701d3be90 in run_argv tools/perf/perf.c:421\n    #15 0x556701d3c3f8 in main tools/perf/perf.c:537\n    #16 0x7f2952a46189 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58\n\nSUMMARY: AddressSanitizer: 21 byte(s) leaked in 1 allocation(s).\n```","publishedAt":"2025-12-09T00:00:50.132Z","updatedAt":"2026-05-11T19:51:38.130Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f7b58cbdb3ff36eba8622e67eee66c10dd1c9995","status":"affected","lessThan":"75d65c1cc439606ada882755fd205d13c2c7907d","versionType":"git"},{"version":"f7b58cbdb3ff36eba8622e67eee66c10dd1c9995","status":"affected","lessThan":"010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f","versionType":"git"},{"version":"f7b58cbdb3ff36eba8622e67eee66c10dd1c9995","status":"affected","lessThan":"f3daf02a41e3c11e1a473517a8a6169248fb8e7b","versionType":"git"},{"version":"f7b58cbdb3ff36eba8622e67eee66c10dd1c9995","status":"affected","lessThan":"99d4850062a84564f36923764bb93935ef2ed108","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["tools/perf/arch/x86/util/env.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.39","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.3.13","status":"unaffected","lessThanOrEqual":"6.3.*","versionType":"semver"},{"version":"6.4.4","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["tools/perf/arch/x86/util/env.c"]}],"references":["https://git.kernel.org/stable/c/75d65c1cc439606ada882755fd205d13c2c7907d","https://git.kernel.org/stable/c/010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f","https://git.kernel.org/stable/c/f3daf02a41e3c11e1a473517a8a6169248fb8e7b","https://git.kernel.org/stable/c/99d4850062a84564f36923764bb93935ef2ed108"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53793.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53793","state":"PUBLISHED","datePublished":"2025-12-09T00:00:50.132Z","dateUpdated":"2026-05-11T19:51:38.130Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-08T23:58:35.274Z"},"containers":{"cna":{"title":"perf tool x86: Fix perf_env memory leak","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf tool x86: Fix perf_env memory leak\n\nFound by leak sanitizer:\n```\n==1632594==ERROR: LeakSanitizer: detected memory leaks\n\nDirect leak of 21 byte(s) in 1 object(s) allocated from:\n    #0 0x7f2953a7077b in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439\n    #1 0x556701d6fbbf in perf_env__read_cpuid util/env.c:369\n    #2 0x556701d70589 in perf_env__cpuid util/env.c:465\n    #3 0x55670204bba2 in x86__is_amd_cpu arch/x86/util/env.c:14\n    #4 0x5567020487a2 in arch__post_evsel_config arch/x86/util/evsel.c:83\n    #5 0x556701d8f78b in evsel__config util/evsel.c:1366\n    #6 0x556701ef5872 in evlist__config util/record.c:108\n    #7 0x556701cd6bcd in test__PERF_RECORD tests/perf-record.c:112\n    #8 0x556701cacd07 in run_test tests/builtin-test.c:236\n    #9 0x556701cacfac in test_and_print tests/builtin-test.c:265\n    #10 0x556701cadddb in __cmd_test tests/builtin-test.c:402\n    #11 0x556701caf2aa in cmd_test tests/builtin-test.c:559\n    #12 0x556701d3b557 in run_builtin tools/perf/perf.c:323\n    #13 0x556701d3bac8 in handle_internal_command tools/perf/perf.c:377\n    #14 0x556701d3be90 in run_argv tools/perf/perf.c:421\n    #15 0x556701d3c3f8 in main tools/perf/perf.c:537\n    #16 0x7f2952a46189 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58\n\nSUMMARY: AddressSanitizer: 21 byte(s) leaked in 1 allocation(s).\n```"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f7b58cbdb3ff36eba8622e67eee66c10dd1c9995","status":"affected","lessThan":"75d65c1cc439606ada882755fd205d13c2c7907d","versionType":"git"},{"version":"f7b58cbdb3ff36eba8622e67eee66c10dd1c9995","status":"affected","lessThan":"010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f","versionType":"git"},{"version":"f7b58cbdb3ff36eba8622e67eee66c10dd1c9995","status":"affected","lessThan":"f3daf02a41e3c11e1a473517a8a6169248fb8e7b","versionType":"git"},{"version":"f7b58cbdb3ff36eba8622e67eee66c10dd1c9995","status":"affected","lessThan":"99d4850062a84564f36923764bb93935ef2ed108","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["tools/perf/arch/x86/util/env.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.39","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.3.13","status":"unaffected","lessThanOrEqual":"6.3.*","versionType":"semver"},{"version":"6.4.4","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["tools/perf/arch/x86/util/env.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/75d65c1cc439606ada882755fd205d13c2c7907d"},{"url":"https://git.kernel.org/stable/c/010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f"},{"url":"https://git.kernel.org/stable/c/f3daf02a41e3c11e1a473517a8a6169248fb8e7b"},{"url":"https://git.kernel.org/stable/c/99d4850062a84564f36923764bb93935ef2ed108"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:51:38.130Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.1.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.3.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.4.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}