# CVE-2025-37923: tracing: Fix oob write in trace\_seq\_to\_buffer()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2025-05-20T15:21:51.927Z
- **Modified:** 2026-08-05T11:58:24.005Z

## Who should check

- Anyone running Linux \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< f4b0174e9f18aaba59ee6ffdaf8827a7f94eb606; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 665ce421041890571852422487f4c613d1824ba9; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 1a3f9482b50b74fa9421bff8ceecfefd0dc06f8f; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 441021e5b3c7d9bd1b963590652c415929f3b157; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 056ebbddb8faf4ddf83d005454dd78fc25c2d897; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 1f27a3e93b8d674b24b27fcdbc6f72743cd96c0d; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< c5d2b66c5ef5037b4b4360e5447605ff00ba1bd4; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< f5178c41bb43444a6008150fe6094497135d07cb
- Anyone running Linux 2.6.30

## Description

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

tracing: Fix oob write in trace\_seq\_to\_buffer()

syzbot reported this bug:
==================================================================
BUG: KASAN: slab-out-of-bounds in trace\_seq\_to\_buffer kernel/trace/trace.c:1830 \[inline\]
BUG: KASAN: slab-out-of-bounds in tracing\_splice\_read\_pipe+0x6be/0xdd0 kernel/trace/trace.c:6822
Write of size 4507 at addr ffff888032b6b000 by task syz.2.320/7260

CPU: 1 UID: 0 PID: 7260 Comm: syz.2.320 Not tainted 6.15.0-rc1-syzkaller-00301-g3bde70a2c827 \#0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
 \<TASK\>
 \_\_dump\_stack lib/dump\_stack.c:94 \[inline\]
 dump\_stack\_lvl+0x116/0x1f0 lib/dump\_stack.c:120
 print\_address\_description mm/kasan/report.c:408 \[inline\]
 print\_report+0xc3/0x670 mm/kasan/report.c:521
 kasan\_report+0xe0/0x110 mm/kasan/report.c:634
 check\_region\_inline mm/kasan/generic.c:183 \[inline\]
 kasan\_check\_range+0xef/0x1a0 mm/kasan/generic.c:189
 \_\_asan\_memcpy+0x3c/0x60 mm/kasan/shadow.c:106
 trace\_seq\_to\_buffer kernel/trace/trace.c:1830 \[inline\]
 tracing\_splice\_read\_pipe+0x6be/0xdd0 kernel/trace/trace.c:6822
 ....
==================================================================

It has been reported that trace\_seq\_to\_buffer() tries to copy more data
than PAGE\_SIZE to buf. Therefore, to prevent this, we should use the
smaller of trace\_seq\_used(&iter-\>seq) and PAGE\_SIZE as an argument.

## Affected and fixed versions

- Linux: \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< f4b0174e9f18aaba59ee6ffdaf8827a7f94eb606; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 665ce421041890571852422487f4c613d1824ba9; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 1a3f9482b50b74fa9421bff8ceecfefd0dc06f8f; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 441021e5b3c7d9bd1b963590652c415929f3b157; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 056ebbddb8faf4ddf83d005454dd78fc25c2d897; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 1f27a3e93b8d674b24b27fcdbc6f72743cd96c0d; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< c5d2b66c5ef5037b4b4360e5447605ff00ba1bd4; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< f5178c41bb43444a6008150fe6094497135d07cb (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-37923.md
Affected: Linux >= 3c56819b14b00dd449bd776303e61f8532fad09f, < f4b0174e9f18aaba59ee6ffdaf8827a7f94eb606; >= 3c56819b14b00dd449bd776303e61f8532fad09f, < 665ce421041890571852422487f4c613d1824ba9; >= 3c56819b14b00dd449bd776303e61f8532fad09f, < 1a3f9482b50b74fa9421bff8ceecfefd0dc06f8f; >= 3c56819b14b00dd449bd776…
Fixed in: Linux 665ce421041890571852422487f4c613d1824ba9, Linux 1a3f9482b50b74fa9421bff8ceecfefd0dc06f8f, Linux 441021e5b3c7d9bd1b963590652c415929f3b157, Linux 056ebbddb8faf4ddf83d005454dd78fc25c2d897, Linux 1f27a3e93b8d674b24b27fcdbc6f72743cd96c0d

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-2025-37923 being exploited?

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

### How serious is CVE-2025-37923?

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

### Which versions are affected by CVE-2025-37923?

Linux \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< f4b0174e9f18aaba59ee6ffdaf8827a7f94eb606; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 665ce421041890571852422487f4c613d1824ba9; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 1a3f9482b50b74fa9421bff8ceecfefd0dc06f8f; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 441021e5b3c7d9bd1b963590652c415929f3b157; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 056ebbddb8faf4ddf83d005454dd78fc25c2d897; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< 1f27a3e93b8d674b24b27fcdbc6f72743cd96c0d; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< c5d2b66c5ef5037b4b4360e5447605ff00ba1bd4; \>= 3c56819b14b00dd449bd776303e61f8532fad09f, \< f5178c41bb43444a6008150fe6094497135d07cb; Linux 2.6.30.

### Is there a fix for CVE-2025-37923?

Yes. Fixed in Linux 665ce421041890571852422487f4c613d1824ba9, Linux 1a3f9482b50b74fa9421bff8ceecfefd0dc06f8f, Linux 441021e5b3c7d9bd1b963590652c415929f3b157, Linux 056ebbddb8faf4ddf83d005454dd78fc25c2d897, Linux 1f27a3e93b8d674b24b27fcdbc6f72743cd96c0d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-37923?

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/f4b0174e9f18aaba59ee6ffdaf8827a7f94eb606>
- patch: <https://git.kernel.org/stable/c/665ce421041890571852422487f4c613d1824ba9>
- patch: <https://git.kernel.org/stable/c/1a3f9482b50b74fa9421bff8ceecfefd0dc06f8f>
- patch: <https://git.kernel.org/stable/c/441021e5b3c7d9bd1b963590652c415929f3b157>
- patch: <https://git.kernel.org/stable/c/056ebbddb8faf4ddf83d005454dd78fc25c2d897>
- patch: <https://git.kernel.org/stable/c/1f27a3e93b8d674b24b27fcdbc6f72743cd96c0d>
- patch: <https://git.kernel.org/stable/c/c5d2b66c5ef5037b4b4360e5447605ff00ba1bd4>
- patch: <https://git.kernel.org/stable/c/f5178c41bb43444a6008150fe6094497135d07cb>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>

## 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-2025-37923>

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