# CVE-2025-39914: tracing: Silence warning when chunk allocation fails in trace\_pid\_write

> 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, NVD) `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.25% (percentile 10, 2026-11-28)
- **CWE:** CWE-415
- **Published:** 2025-10-01T07:44:37.018Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 7583a73c53f1d1ae7a39b130eb7190a11f0a902f; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 1262bda871dace8c6efae25f3b6a2d34f6f06d54; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 88525accf16947ab459f8e91c27c8c53e1d612d7; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 793338906ff57d8c683f44fe48ca99d49c8782a7; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< cd4453c5e983cf1fd5757e9acb915adb1e4602b6
- Anyone running Linux 5.16

## Description

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

tracing: Silence warning when chunk allocation fails in trace\_pid\_write

Syzkaller trigger a fault injection warning:

WARNING: CPU: 1 PID: 12326 at tracepoint\_add\_func+0xbfc/0xeb0
Modules linked in:
CPU: 1 UID: 0 PID: 12326 Comm: syz.6.10325 Tainted: G U 6.14.0-rc5-syzkaller \#0
Tainted: \[U\]=USER
Hardware name: Google Compute Engine/Google Compute Engine
RIP: 0010:tracepoint\_add\_func+0xbfc/0xeb0 kernel/tracepoint.c:294
Code: 09 fe ff 90 0f 0b 90 0f b6 74 24 43 31 ff 41 bc ea ff ff ff
RSP: 0018:ffffc9000414fb48 EFLAGS: 00010283
RAX: 00000000000012a1 RBX: ffffffff8e240ae0 RCX: ffffc90014b78000
RDX: 0000000000080000 RSI: ffffffff81bbd78b RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffffffffffffef
R13: 0000000000000000 R14: dffffc0000000000 R15: ffffffff81c264f0
FS:  00007f27217f66c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e80dff8 CR3: 00000000268f8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 tracepoint\_probe\_register\_prio+0xc0/0x110 kernel/tracepoint.c:464
 register\_trace\_prio\_sched\_switch include/trace/events/sched.h:222 \[inline\]
 register\_pid\_events kernel/trace/trace\_events.c:2354 \[inline\]
 event\_pid\_write.isra.0+0x439/0x7a0 kernel/trace/trace\_events.c:2425
 vfs\_write+0x24c/0x1150 fs/read\_write.c:677
 ksys\_write+0x12b/0x250 fs/read\_write.c:731
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

We can reproduce the warning by following the steps below:
1. echo 8 \>\> set\_event\_notrace\_pid. Let tr-\>filtered\_pids owns one pid
   and register sched\_switch tracepoint.
2. echo ' ' \>\> set\_event\_pid, and perform fault injection during chunk
   allocation of trace\_pid\_list\_alloc. Let pid\_list with no pid and
assign to tr-\>filtered\_pids.
3. echo ' ' \>\> set\_event\_pid. Let pid\_list is NULL and assign to
   tr-\>filtered\_pids.
4. echo 9 \>\> set\_event\_pid, will trigger the double register
   sched\_switch tracepoint warning.

The reason is that syzkaller injects a fault into the chunk allocation
in trace\_pid\_list\_alloc, causing a failure in trace\_pid\_list\_set, which
may trigger double register of the same tracepoint. This only occurs
when the system is about to crash, but to suppress this warning, let's
add failure handling logic to trace\_pid\_list\_set.

## Affected and fixed versions

- Linux: \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 7583a73c53f1d1ae7a39b130eb7190a11f0a902f; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 1262bda871dace8c6efae25f3b6a2d34f6f06d54; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 88525accf16947ab459f8e91c27c8c53e1d612d7; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 793338906ff57d8c683f44fe48ca99d49c8782a7; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< cd4453c5e983cf1fd5757e9acb915adb1e4602b6 (cvelist)
- Linux: 5.16 (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-39914. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39914.md
Affected: Linux >= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, < 7583a73c53f1d1ae7a39b130eb7190a11f0a902f; >= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, < 1262bda871dace8c6efae25f3b6a2d34f6f06d54; >= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, < 88525accf16947ab459f8e91c27c8c53e1d612d7; >= 8d6e90983ade25ec7925211…
Fixed in: Linux 7583a73c53f1d1ae7a39b130eb7190a11f0a902f, Linux 1262bda871dace8c6efae25f3b6a2d34f6f06d54, Linux 88525accf16947ab459f8e91c27c8c53e1d612d7, Linux 793338906ff57d8c683f44fe48ca99d49c8782a7

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

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

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

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

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

Linux \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 7583a73c53f1d1ae7a39b130eb7190a11f0a902f; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 1262bda871dace8c6efae25f3b6a2d34f6f06d54; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 88525accf16947ab459f8e91c27c8c53e1d612d7; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< 793338906ff57d8c683f44fe48ca99d49c8782a7; \>= 8d6e90983ade25ec7925211ac31d9ccaf64b7edf, \< cd4453c5e983cf1fd5757e9acb915adb1e4602b6; Linux 5.16.

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

Yes. Fixed in Linux 7583a73c53f1d1ae7a39b130eb7190a11f0a902f, Linux 1262bda871dace8c6efae25f3b6a2d34f6f06d54, Linux 88525accf16947ab459f8e91c27c8c53e1d612d7, Linux 793338906ff57d8c683f44fe48ca99d49c8782a7. No fix listed yet: follow the vendor advisory.

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

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/7583a73c53f1d1ae7a39b130eb7190a11f0a902f>
- patch: <https://git.kernel.org/stable/c/1262bda871dace8c6efae25f3b6a2d34f6f06d54>
- patch: <https://git.kernel.org/stable/c/88525accf16947ab459f8e91c27c8c53e1d612d7>
- patch: <https://git.kernel.org/stable/c/793338906ff57d8c683f44fe48ca99d49c8782a7>
- patch: <https://git.kernel.org/stable/c/cd4453c5e983cf1fd5757e9acb915adb1e4602b6>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.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-39914>

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