# CVE-2023-53375: tracing: Free error logs of tracing instances

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-09-18T13:33:21.664Z
- **Modified:** 2026-06-17T06:45:08.577Z

## Who should check

- Anyone running Linux \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 987f599fc556a4e64c405d8dde32c70311e8c278; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 6e36373aa5ffa8e00fe7c71b3209f6f17081e552; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 33d5d4e67a0e13c3ca6257fa67bf6503bc000878; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< c0cf0f55be043ef67c38f492aa37ed1986d2f6b6; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 46771c34d6721abfd9e7903eaed2201051eebec6; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 3357c6e429643231e60447b52ffbb7ac895aca22
- Anyone running Linux 5.2

## Description

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

tracing: Free error logs of tracing instances

When a tracing instance is removed, the error messages that hold errors
that occurred in the instance needs to be freed. The following reports a
memory leak:

 \# cd /sys/kernel/tracing
 \# mkdir instances/foo
 \# echo 'hist:keys=x' \> instances/foo/events/sched/sched\_switch/trigger
 \# cat instances/foo/error\_log
 \[  117.404795\] hist:sched:sched\_switch: error: Couldn't find field
   Command: hist:keys=x
                      ^
 \# rmdir instances/foo

Then check for memory leaks:

 \# echo scan \> /sys/kernel/debug/kmemleak
 \# cat /sys/kernel/debug/kmemleak
unreferenced object 0xffff88810d8ec700 (size 192):
  comm "bash", pid 869, jiffies 4294950577 (age 215.752s)
  hex dump (first 32 bytes):
    60 dd 68 61 81 88 ff ff 60 dd 68 61 81 88 ff ff  \`.ha....\`.ha....
    a0 30 8c 83 ff ff ff ff 26 00 0a 00 00 00 00 00  .0......&.......
  backtrace:
    \[\<00000000dae26536\>\] kmalloc\_trace+0x2a/0xa0
    \[\<00000000b2938940\>\] tracing\_log\_err+0x277/0x2e0
    \[\<000000004a0e1b07\>\] parse\_atom+0x966/0xb40
    \[\<0000000023b24337\>\] parse\_expr+0x5f3/0xdb0
    \[\<00000000594ad074\>\] event\_hist\_trigger\_parse+0x27f8/0x3560
    \[\<00000000293a9645\>\] trigger\_process\_regex+0x135/0x1a0
    \[\<000000005c22b4f2\>\] event\_trigger\_write+0x87/0xf0
    \[\<000000002cadc509\>\] vfs\_write+0x162/0x670
    \[\<0000000059c3b9be\>\] ksys\_write+0xca/0x170
    \[\<00000000f1cddc00\>\] do\_syscall\_64+0x3e/0xc0
    \[\<00000000868ac68c\>\] entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc
unreferenced object 0xffff888170c35a00 (size 32):
  comm "bash", pid 869, jiffies 4294950577 (age 215.752s)
  hex dump (first 32 bytes):
    0a 20 20 43 6f 6d 6d 61 6e 64 3a 20 68 69 73 74  .  Command: hist
    3a 6b 65 79 73 3d 78 0a 00 00 00 00 00 00 00 00  :keys=x.........
  backtrace:
    \[\<000000006a747de5\>\] \_\_kmalloc+0x4d/0x160
    \[\<000000000039df5f\>\] tracing\_log\_err+0x29b/0x2e0
    \[\<000000004a0e1b07\>\] parse\_atom+0x966/0xb40
    \[\<0000000023b24337\>\] parse\_expr+0x5f3/0xdb0
    \[\<00000000594ad074\>\] event\_hist\_trigger\_parse+0x27f8/0x3560
    \[\<00000000293a9645\>\] trigger\_process\_regex+0x135/0x1a0
    \[\<000000005c22b4f2\>\] event\_trigger\_write+0x87/0xf0
    \[\<000000002cadc509\>\] vfs\_write+0x162/0x670
    \[\<0000000059c3b9be\>\] ksys\_write+0xca/0x170
    \[\<00000000f1cddc00\>\] do\_syscall\_64+0x3e/0xc0
    \[\<00000000868ac68c\>\] entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc

The problem is that the error log needs to be freed when the instance is
removed.

## Affected and fixed versions

- Linux: \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 987f599fc556a4e64c405d8dde32c70311e8c278; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 6e36373aa5ffa8e00fe7c71b3209f6f17081e552; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 33d5d4e67a0e13c3ca6257fa67bf6503bc000878; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< c0cf0f55be043ef67c38f492aa37ed1986d2f6b6; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 46771c34d6721abfd9e7903eaed2201051eebec6; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 3357c6e429643231e60447b52ffbb7ac895aca22 (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- Upgrade Linux to 3357c6e429643231e60447b52ffbb7ac895aca22 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-53375. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53375.md
Affected: Linux >= 2f754e771b1a6feba670782e82c45555984ac43b, < 987f599fc556a4e64c405d8dde32c70311e8c278; >= 2f754e771b1a6feba670782e82c45555984ac43b, < 6e36373aa5ffa8e00fe7c71b3209f6f17081e552; >= 2f754e771b1a6feba670782e82c45555984ac43b, < 33d5d4e67a0e13c3ca6257fa67bf6503bc000878; >= 2f754e771b1a6feba670782…
Fixed in: Linux 987f599fc556a4e64c405d8dde32c70311e8c278, Linux 6e36373aa5ffa8e00fe7c71b3209f6f17081e552, Linux 33d5d4e67a0e13c3ca6257fa67bf6503bc000878, Linux 46771c34d6721abfd9e7903eaed2201051eebec6, Linux 3357c6e429643231e60447b52ffbb7ac895aca22

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-53375 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 987f599fc556a4e64c405d8dde32c70311e8c278; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 6e36373aa5ffa8e00fe7c71b3209f6f17081e552; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 33d5d4e67a0e13c3ca6257fa67bf6503bc000878; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< c0cf0f55be043ef67c38f492aa37ed1986d2f6b6; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 46771c34d6721abfd9e7903eaed2201051eebec6; \>= 2f754e771b1a6feba670782e82c45555984ac43b, \< 3357c6e429643231e60447b52ffbb7ac895aca22; Linux 5.2.

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

Yes. Fixed in Linux 987f599fc556a4e64c405d8dde32c70311e8c278, Linux 6e36373aa5ffa8e00fe7c71b3209f6f17081e552, Linux 33d5d4e67a0e13c3ca6257fa67bf6503bc000878, Linux 46771c34d6721abfd9e7903eaed2201051eebec6, Linux 3357c6e429643231e60447b52ffbb7ac895aca22. Upgrade Linux to 3357c6e429643231e60447b52ffbb7ac895aca22 or later.

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

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

- patch: <https://git.kernel.org/stable/c/987f599fc556a4e64c405d8dde32c70311e8c278>
- patch: <https://git.kernel.org/stable/c/6e36373aa5ffa8e00fe7c71b3209f6f17081e552>
- patch: <https://git.kernel.org/stable/c/33d5d4e67a0e13c3ca6257fa67bf6503bc000878>
- patch: <https://git.kernel.org/stable/c/c0cf0f55be043ef67c38f492aa37ed1986d2f6b6>
- patch: <https://git.kernel.org/stable/c/46771c34d6721abfd9e7903eaed2201051eebec6>
- patch: <https://git.kernel.org/stable/c/3357c6e429643231e60447b52ffbb7ac895aca22>

## 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-53375>

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