CVE-2023-54139

tracing/user_events: Ensure write index cannot be negative

HIGH
7.8
CVSS Score
Published: December 24, 2025 at 01:06 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.18 ≤ v < 6.1.285.18 ≤ v < 6.2.155.18 ≤ v < 6.3.25.18 ≤ v < 6.45.187f5a08c79df35e68f1a43033450c5050f12bc155
Vendor states this is fixed in 0489c2b2c3104b89f078dbcec8c744dfc157d3e9 (fixed)
Vendor states this is fixed in 4fe46b5adf18e3dc606e62c9e6a0413398a17572 (fixed)
Vendor states this is fixed in cd98c93286a30cc4588dfd02453bec63c2f4acf4 (fixed)
Vendor states this is fixed in fa7f2f5d1739452280c22727c4384a52b72ab5de (fixed)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 6.1.28 (unaffected)
Vendor states this is fixed in 6.2.15 (unaffected)
Vendor states this is fixed in 6.3.2 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card