CVE-2023-54139
7.8high
tracing/user_events: Ensure write index cannot be negative
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7f5a08c79df35e68f1a43033450c5050f12bc155 before 0489c2b2c3104b89f078dbcec8c744dfc157d3e9, from 7f5a08c79df35e68f1a43033450c5050f12bc155 before 4fe46b5adf18e3dc606e62c9e6a0413398a17572, from 7f5a08c79df35e68f1a43033450c5050f12bc155 before fa7f2f5d1739452280c22727c4384a52b72ab5de, from 7f5a08c79df35e68f1a43033450c5050f12bc155 before cd98c93286a30cc4588dfd02453bec63c2f4acf4, 5.18 Not affected: before 5.18, from 6.1.28 up to 6.1.*, from 6.2.15 up to 6.2.*, from 6.3.2 up to 6.3.*, from 6.4 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-54139 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2023-54139 changed 2026-08-04 | Public domain |