tracing/user_events: Ensure write index cannot be negative
Summary
| CVE | CVE-2023-54139 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-24 13:16:15 UTC |
| Updated | 2026-08-04 10:19:31 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001340000 probability, percentile 0.032780000 (date 2026-08-06)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 7f5a08c79df35e68f1a43033450c5050f12bc155 0489c2b2c3104b89f078dbcec8c744dfc157d3e9 git | Not specified |
| CNA | Linux | Linux | affected 7f5a08c79df35e68f1a43033450c5050f12bc155 4fe46b5adf18e3dc606e62c9e6a0413398a17572 git | Not specified |
| CNA | Linux | Linux | affected 7f5a08c79df35e68f1a43033450c5050f12bc155 fa7f2f5d1739452280c22727c4384a52b72ab5de git | Not specified |
| CNA | Linux | Linux | affected 7f5a08c79df35e68f1a43033450c5050f12bc155 cd98c93286a30cc4588dfd02453bec63c2f4acf4 git | Not specified |
| CNA | Linux | Linux | affected 5.18 | Not specified |
| CNA | Linux | Linux | unaffected 5.18 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.28 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.2.15 6.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.3.2 6.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.4 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/0489c2b2c3104b89f078dbcec8c744dfc157d3e9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/cd98c93286a30cc4588dfd02453bec63c2f4acf4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/fa7f2f5d1739452280c22727c4384a52b72ab5de | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4fe46b5adf18e3dc606e62c9e6a0413398a17572 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.