# CVE-2025-21733: tracing/osnoise: Fix resetting of tracepoints

> 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.28% (percentile 13, 2026-11-26)
- **Published:** 2025-02-27T02:12:11.145Z
- **Modified:** 2026-11-05T21:17:41.940Z

## Who should check

- Anyone running Linux \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< ee8c4c39a8f97467d63adfe03bcd45139d8c8b53; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< b45707c3c0671d9c49fa7b94c197a508aa55d16f; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< e482cecd2305be1e3e6a8ee70c9b86c511484f7b; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< e3ff4245928f948f3eb2e852aa350b870421c358
- Anyone running Linux 6.5

## Description

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

tracing/osnoise: Fix resetting of tracepoints

If a timerlat tracer is started with the osnoise option OSNOISE\_WORKLOAD
disabled, but then that option is enabled and timerlat is removed, the
tracepoints that were enabled on timerlat registration do not get
disabled. If the option is disabled again and timelat is started, then it
triggers a warning in the tracepoint code due to registering the
tracepoint again without ever disabling it.

Do not use the same user space defined options to know to disable the
tracepoints when timerlat is removed. Instead, set a global flag when it
is enabled and use that flag to know to disable the events.

 ~\# echo NO\_OSNOISE\_WORKLOAD \> /sys/kernel/tracing/osnoise/options
 ~\# echo timerlat \> /sys/kernel/tracing/current\_tracer
 ~\# echo OSNOISE\_WORKLOAD \> /sys/kernel/tracing/osnoise/options
 ~\# echo nop \> /sys/kernel/tracing/current\_tracer
 ~\# echo NO\_OSNOISE\_WORKLOAD \> /sys/kernel/tracing/osnoise/options
 ~\# echo timerlat \> /sys/kernel/tracing/current\_tracer

Triggers:

 ------------\[ cut here \]------------
 WARNING: CPU: 6 PID: 1337 at kernel/tracepoint.c:294 tracepoint\_add\_func+0x3b6/0x3f0
 Modules linked in:
 CPU: 6 UID: 0 PID: 1337 Comm: rtla Not tainted 6.13.0-rc4-test-00018-ga867c441128e-dirty \#73
 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
 RIP: 0010:tracepoint\_add\_func+0x3b6/0x3f0
 Code: 48 8b 53 28 48 8b 73 20 4c 89 04 24 e8 23 59 11 00 4c 8b 04 24 e9 36 fe ff ff 0f 0b b8 ea ff ff ff 45 84 e4 0f 84 68 fe ff ff \<0f\> 0b e9 61 fe ff ff 48 8b 7b 18 48 85 ff 0f 84 4f ff ff ff 49 8b
 RSP: 0018:ffffb9b003a87ca0 EFLAGS: 00010202
 RAX: 00000000ffffffef RBX: ffffffff92f30860 RCX: 0000000000000000
 RDX: 0000000000000000 RSI: ffff9bf59e91ccd0 RDI: ffffffff913b6410
 RBP: 000000000000000a R08: 00000000000005c7 R09: 0000000000000002
 R10: ffffb9b003a87ce0 R11: 0000000000000002 R12: 0000000000000001
 R13: ffffb9b003a87ce0 R14: ffffffffffffffef R15: 0000000000000008
 FS:  00007fce81209240(0000) GS:ffff9bf6fdd00000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 000055e99b728000 CR3: 00000001277c0002 CR4: 0000000000172ef0
 Call Trace:
  \<TASK\>
  ? \_\_warn.cold+0xb7/0x14d
  ? tracepoint\_add\_func+0x3b6/0x3f0
  ? report\_bug+0xea/0x170
  ? handle\_bug+0x58/0x90
  ? exc\_invalid\_op+0x17/0x70
  ? asm\_exc\_invalid\_op+0x1a/0x20
  ? \_\_pfx\_trace\_sched\_migrate\_callback+0x10/0x10
  ? tracepoint\_add\_func+0x3b6/0x3f0
  ? \_\_pfx\_trace\_sched\_migrate\_callback+0x10/0x10
  ? \_\_pfx\_trace\_sched\_migrate\_callback+0x10/0x10
  tracepoint\_probe\_register+0x78/0xb0
  ? \_\_pfx\_trace\_sched\_migrate\_callback+0x10/0x10
  osnoise\_workload\_start+0x2b5/0x370
  timerlat\_tracer\_init+0x76/0x1b0
  tracing\_set\_tracer+0x244/0x400
  tracing\_set\_trace\_write+0xa0/0xe0
  vfs\_write+0xfc/0x570
  ? do\_sys\_openat2+0x9c/0xe0
  ksys\_write+0x72/0xf0
  do\_syscall\_64+0x79/0x1c0
  entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e

## Affected and fixed versions

- Linux: \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< ee8c4c39a8f97467d63adfe03bcd45139d8c8b53; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< b45707c3c0671d9c49fa7b94c197a508aa55d16f; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< e482cecd2305be1e3e6a8ee70c9b86c511484f7b; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< e3ff4245928f948f3eb2e852aa350b870421c358 (cvelist)
- Linux: 6.5 (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-21733. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21733.md
Affected: Linux >= e88ed227f639ebcb31ed4e5b88756b47d904584b, < ee8c4c39a8f97467d63adfe03bcd45139d8c8b53; >= e88ed227f639ebcb31ed4e5b88756b47d904584b, < b45707c3c0671d9c49fa7b94c197a508aa55d16f; >= e88ed227f639ebcb31ed4e5b88756b47d904584b, < e482cecd2305be1e3e6a8ee70c9b86c511484f7b; >= e88ed227f639ebcb31ed4e5…
Fixed in: no fixed version listed yet

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

There is no confirmed exploitation: CVE-2025-21733 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-2025-21733?

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

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

Linux \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< ee8c4c39a8f97467d63adfe03bcd45139d8c8b53; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< b45707c3c0671d9c49fa7b94c197a508aa55d16f; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< e482cecd2305be1e3e6a8ee70c9b86c511484f7b; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< e3ff4245928f948f3eb2e852aa350b870421c358; Linux 6.5.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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/ee8c4c39a8f97467d63adfe03bcd45139d8c8b53>
- patch: <https://git.kernel.org/stable/c/b45707c3c0671d9c49fa7b94c197a508aa55d16f>
- patch: <https://git.kernel.org/stable/c/e482cecd2305be1e3e6a8ee70c9b86c511484f7b>
- patch: <https://git.kernel.org/stable/c/e3ff4245928f948f3eb2e852aa350b870421c358>

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

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