# CVE-2023-53793: perf tool x86: Fix perf\_env memory leak

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-09T00:00:50.132Z
- **Modified:** 2026-06-17T06:46:04.990Z

## Who should check

- Anyone running Linux \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< 75d65c1cc439606ada882755fd205d13c2c7907d; \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< 010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f; \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< f3daf02a41e3c11e1a473517a8a6169248fb8e7b; \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< 99d4850062a84564f36923764bb93935ef2ed108
- Anyone running Linux 6.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

perf tool x86: Fix perf\_env memory leak

Found by leak sanitizer:
\`\`\`
==1632594==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 21 byte(s) in 1 object(s) allocated from:
    \#0 0x7f2953a7077b in \_\_interceptor\_strdup ../../../../src/libsanitizer/asan/asan\_interceptors.cpp:439
    \#1 0x556701d6fbbf in perf\_env\_\_read\_cpuid util/env.c:369
    \#2 0x556701d70589 in perf\_env\_\_cpuid util/env.c:465
    \#3 0x55670204bba2 in x86\_\_is\_amd\_cpu arch/x86/util/env.c:14
    \#4 0x5567020487a2 in arch\_\_post\_evsel\_config arch/x86/util/evsel.c:83
    \#5 0x556701d8f78b in evsel\_\_config util/evsel.c:1366
    \#6 0x556701ef5872 in evlist\_\_config util/record.c:108
    \#7 0x556701cd6bcd in test\_\_PERF\_RECORD tests/perf-record.c:112
    \#8 0x556701cacd07 in run\_test tests/builtin-test.c:236
    \#9 0x556701cacfac in test\_and\_print tests/builtin-test.c:265
    \#10 0x556701cadddb in \_\_cmd\_test tests/builtin-test.c:402
    \#11 0x556701caf2aa in cmd\_test tests/builtin-test.c:559
    \#12 0x556701d3b557 in run\_builtin tools/perf/perf.c:323
    \#13 0x556701d3bac8 in handle\_internal\_command tools/perf/perf.c:377
    \#14 0x556701d3be90 in run\_argv tools/perf/perf.c:421
    \#15 0x556701d3c3f8 in main tools/perf/perf.c:537
    \#16 0x7f2952a46189 in \_\_libc\_start\_call\_main ../sysdeps/nptl/libc\_start\_call\_main.h:58

SUMMARY: AddressSanitizer: 21 byte(s) leaked in 1 allocation(s).
\`\`\`

## Affected and fixed versions

- Linux: \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< 75d65c1cc439606ada882755fd205d13c2c7907d; \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< 010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f; \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< f3daf02a41e3c11e1a473517a8a6169248fb8e7b; \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< 99d4850062a84564f36923764bb93935ef2ed108 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 99d4850062a84564f36923764bb93935ef2ed108 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53793. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53793.md
Affected: Linux >= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, < 75d65c1cc439606ada882755fd205d13c2c7907d; >= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, < 010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f; >= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, < f3daf02a41e3c11e1a473517a8a6169248fb8e7b; >= f7b58cbdb3ff36eba8622e6…
Fixed in: Linux 75d65c1cc439606ada882755fd205d13c2c7907d, Linux 010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f, Linux 99d4850062a84564f36923764bb93935ef2ed108

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53793 being exploited?

There is no confirmed exploitation: CVE-2023-53793 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53793?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53793?

Linux \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< 75d65c1cc439606ada882755fd205d13c2c7907d; \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< 010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f; \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< f3daf02a41e3c11e1a473517a8a6169248fb8e7b; \>= f7b58cbdb3ff36eba8622e67eee66c10dd1c9995, \< 99d4850062a84564f36923764bb93935ef2ed108; Linux 6.1.

### Is there a fix for CVE-2023-53793?

Yes. Fixed in Linux 75d65c1cc439606ada882755fd205d13c2c7907d, Linux 010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f, Linux 99d4850062a84564f36923764bb93935ef2ed108. Upgrade Linux to 99d4850062a84564f36923764bb93935ef2ed108 or later.

### How do I check if I'm affected by CVE-2023-53793?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/75d65c1cc439606ada882755fd205d13c2c7907d>
- other: <https://git.kernel.org/stable/c/010139bfc6bb9ddab81dbc2cf71cd3a9c28adc7f>
- other: <https://git.kernel.org/stable/c/f3daf02a41e3c11e1a473517a8a6169248fb8e7b>
- other: <https://git.kernel.org/stable/c/99d4850062a84564f36923764bb93935ef2ed108>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53793>

HTML: <https://flawdb.com/CVE-2023-53793> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53793>
