CVE-2023-54139

tracing/user_events: Ensure write index cannot be negative

State
Published
Severity
7.8 High
Published
Dec 24, 2025
Updated
Aug 5, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7f5a08c79df35e68f1a43033450c5050f12bc155 to before 0489c2b2c3104b89f078dbcec8c744dfc157d3e9Affected
  • 7f5a08c79df35e68f1a43033450c5050f12bc155 to before 4fe46b5adf18e3dc606e62c9e6a0413398a17572Affected
  • 7f5a08c79df35e68f1a43033450c5050f12bc155 to before fa7f2f5d1739452280c22727c4384a52b72ab5deAffected
  • 7f5a08c79df35e68f1a43033450c5050f12bc155 to before cd98c93286a30cc4588dfd02453bec63c2f4acf4Affected
LinuxLinux
  • 5.18Affected
  • before 5.18Not affected
  • 6.1.28 through 6.1.*Not affected
  • 6.2.15 through 6.2.*Not affected
  • 6.3.2 through 6.3.*Not affected
  • 6.4 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.