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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-18T13:33:21.664Z
- Modified: 2026-06-17T06:45:08.577Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 2f754e771b1a6feba670782e82c45555984ac43b before 987f599fc556a4e64c405d8dde32c70311e8c278; from 2f754e771b1a6feba670782e82c45555984ac43b before 6e36373aa5ffa8e00fe7c71b3209f6f17081e552; from 2f754e771b1a6feba670782e82c45555984ac43b before 33d5d4e67a0e13c3ca6257fa67bf6503bc000878; from 2f754e771b1a6feba670782e82c45555984ac43b before c0cf0f55be043ef67c38f492aa37ed1986d2f6b6; from 2f754e771b1a6feba670782e82c45555984ac43b before 46771c34d6721abfd9e7903eaed2201051eebec6; from 2f754e771b1a6feba670782e82c45555984ac43b before 3357c6e429643231e60447b52ffbb7ac895aca22; 5.2 (not affected: before 5.2; from 5.4.241 up to 5.4.*; from 5.10.178 up to 5.10.*; from 5.15.107 up to 5.15.*; from 6.1.24 up to 6.1.*; from 6.2.11 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 5.2 before 5.4.241; from 5.5 before 5.10.178; from 5.11 before 5.15.107; from 5.16 before 6.1.24; from 6.2 before 6.2.11; 6.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2023-53375](https://www.cve.org/CVERecord?id=CVE-2023-53375), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53375](https://nvd.nist.gov/vuln/detail/CVE-2023-53375), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53375 · Whole record: https://cve.day/CVE-2023-53375.json · Rebuilt by cve.day 2026-11-25T22:58:34.856Z
