# CVE-2024-26703: tracing/timerlat: Move hrtimer\_init to timerlat\_fd open()

> 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.30% (percentile 16, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2024-04-03T14:55:01.838Z
- **Modified:** 2026-06-17T07:18:08.130Z

## Who should check

- Anyone running Linux \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< 5f703935fdb559642d85b2088442ee55a557ae6d; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< 2354d29986ebd138f89c2b73fecf8237e0a4ad6b; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< 1389358bb008e7625942846e9f03554319b7fecc
- Anyone running Linux 6.5

## Description

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

tracing/timerlat: Move hrtimer\_init to timerlat\_fd open()

Currently, the timerlat's hrtimer is initialized at the first read of
timerlat\_fd, and destroyed at close(). It works, but it causes an error
if the user program open() and close() the file without reading.

Here's an example:

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

 \# cat \<\<EOF \> ./timerlat\_load.py
 \# !/usr/bin/env python3

 timerlat\_fd = open("/sys/kernel/tracing/osnoise/per\_cpu/cpu0/timerlat\_fd", 'r')
 timerlat\_fd.close();
 EOF

 \# ./taskset -c 0 ./timerlat\_load.py
\<BOOM\>

 BUG: kernel NULL pointer dereference, address: 0000000000000010
 \#PF: supervisor read access in kernel mode
 \#PF: error\_code(0x0000) - not-present page
 PGD 0 P4D 0
 Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
 CPU: 1 PID: 2673 Comm: python3 Not tainted 6.6.13-200.fc39.x86\_64 \#1
 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-1.fc39 04/01/2014
 RIP: 0010:hrtimer\_active+0xd/0x50
 Code: 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 48 8b 57 30 \<8b\> 42 10 a8 01 74 09 f3 90 8b 42 10 a8 01 75 f7 80 7f 38 00 75 1d
 RSP: 0018:ffffb031009b7e10 EFLAGS: 00010286
 RAX: 000000000002db00 RBX: ffff9118f786db08 RCX: 0000000000000000
 RDX: 0000000000000000 RSI: ffff9117a0e64400 RDI: ffff9118f786db08
 RBP: ffff9118f786db80 R08: ffff9117a0ddd420 R09: ffff9117804d4f70
 R10: 0000000000000000 R11: 0000000000000000 R12: ffff9118f786db08
 R13: ffff91178fdd5e20 R14: ffff9117840978c0 R15: 0000000000000000
 FS:  00007f2ffbab1740(0000) GS:ffff9118f7840000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000000010 CR3: 00000001b402e000 CR4: 0000000000750ee0
 PKRU: 55555554
 Call Trace:
  \<TASK\>
  ? \_\_die+0x23/0x70
  ? page\_fault\_oops+0x171/0x4e0
  ? srso\_alias\_return\_thunk+0x5/0x7f
  ? avc\_has\_extended\_perms+0x237/0x520
  ? exc\_page\_fault+0x7f/0x180
  ? asm\_exc\_page\_fault+0x26/0x30
  ? hrtimer\_active+0xd/0x50
  hrtimer\_cancel+0x15/0x40
  timerlat\_fd\_release+0x48/0xe0
  \_\_fput+0xf5/0x290
  \_\_x64\_sys\_close+0x3d/0x80
  do\_syscall\_64+0x60/0x90
  ? srso\_alias\_return\_thunk+0x5/0x7f
  ? \_\_x64\_sys\_ioctl+0x72/0xd0
  ? srso\_alias\_return\_thunk+0x5/0x7f
  ? syscall\_exit\_to\_user\_mode+0x2b/0x40
  ? srso\_alias\_return\_thunk+0x5/0x7f
  ? do\_syscall\_64+0x6c/0x90
  ? srso\_alias\_return\_thunk+0x5/0x7f
  ? exit\_to\_user\_mode\_prepare+0x142/0x1f0
  ? srso\_alias\_return\_thunk+0x5/0x7f
  ? syscall\_exit\_to\_user\_mode+0x2b/0x40
  ? srso\_alias\_return\_thunk+0x5/0x7f
  ? do\_syscall\_64+0x6c/0x90
  entry\_SYSCALL\_64\_after\_hwframe+0x6e/0xd8
 RIP: 0033:0x7f2ffb321594
 Code: 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 80 3d d5 cd 0d 00 00 74 13 b8 03 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 3c c3 0f 1f 00 55 48 89 e5 48 83 ec 10 89 7d
 RSP: 002b:00007ffe8d8eef18 EFLAGS: 00000202 ORIG\_RAX: 0000000000000003
 RAX: ffffffffffffffda RBX: 00007f2ffba4e668 RCX: 00007f2ffb321594
 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
 RBP: 00007ffe8d8eef40 R08: 0000000000000000 R09: 0000000000000000
 R10: 55c926e3167eae79 R11: 0000000000000202 R12: 0000000000000003
 R13: 00007ffe8d8ef030 R14: 0000000000000000 R15: 00007f2ffba4e668
  \</TASK\>
 CR2: 0000000000000010
 ---\[ end trace 0000000000000000 \]---

Move hrtimer\_init to timerlat\_fd open() to avoid this problem.

## Affected and fixed versions

- Linux: \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< 5f703935fdb559642d85b2088442ee55a557ae6d; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< 2354d29986ebd138f89c2b73fecf8237e0a4ad6b; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< 1389358bb008e7625942846e9f03554319b7fecc (cvelist)
- Linux: 6.5 (cvelist)

## Mitigation

- Upgrade Linux to 1389358bb008e7625942846e9f03554319b7fecc or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26703.md
Affected: Linux >= e88ed227f639ebcb31ed4e5b88756b47d904584b, < 5f703935fdb559642d85b2088442ee55a557ae6d; >= e88ed227f639ebcb31ed4e5b88756b47d904584b, < 2354d29986ebd138f89c2b73fecf8237e0a4ad6b; >= e88ed227f639ebcb31ed4e5b88756b47d904584b, < 1389358bb008e7625942846e9f03554319b7fecc; Linux 6.5
Fixed in: Linux 5f703935fdb559642d85b2088442ee55a557ae6d, Linux 2354d29986ebd138f89c2b73fecf8237e0a4ad6b, Linux 1389358bb008e7625942846e9f03554319b7fecc

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-2024-26703 being exploited?

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

### How serious is CVE-2024-26703?

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

### Which versions are affected by CVE-2024-26703?

Linux \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< 5f703935fdb559642d85b2088442ee55a557ae6d; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< 2354d29986ebd138f89c2b73fecf8237e0a4ad6b; \>= e88ed227f639ebcb31ed4e5b88756b47d904584b, \< 1389358bb008e7625942846e9f03554319b7fecc; Linux 6.5.

### Is there a fix for CVE-2024-26703?

Yes. Fixed in Linux 5f703935fdb559642d85b2088442ee55a557ae6d, Linux 2354d29986ebd138f89c2b73fecf8237e0a4ad6b, Linux 1389358bb008e7625942846e9f03554319b7fecc. Upgrade Linux to 1389358bb008e7625942846e9f03554319b7fecc or later.

### How do I check if I'm affected by CVE-2024-26703?

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/5f703935fdb559642d85b2088442ee55a557ae6d>
- patch: <https://git.kernel.org/stable/c/2354d29986ebd138f89c2b73fecf8237e0a4ad6b>
- patch: <https://git.kernel.org/stable/c/1389358bb008e7625942846e9f03554319b7fecc>

## 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-2024-26703>

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