CVE-2023-54139
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 7f5a08c79df35e68f1a43033450c5050f12bc155 < 0489c2b2c3104b89f078dbcec8c744dfc157d3e9 | affected |
| Linux | Linux | 7f5a08c79df35e68f1a43033450c5050f12bc155 < 4fe46b5adf18e3dc606e62c9e6a0413398a17572 | affected |
| Linux | Linux | 7f5a08c79df35e68f1a43033450c5050f12bc155 < fa7f2f5d1739452280c22727c4384a52b72ab5de | affected |
| Linux | Linux | 7f5a08c79df35e68f1a43033450c5050f12bc155 < cd98c93286a30cc4588dfd02453bec63c2f4acf4 | affected |
| Linux | Linux | 5.18 | affected |
| Linux | Linux | 0 < 5.18 | unaffected |
| Linux | Linux | 6.1.28 <= 6.1.* | unaffected |
| Linux | Linux | 6.2.15 <= 6.2.* | unaffected |
| Linux | Linux | 6.3.2 <= 6.3.* | unaffected |
| Linux | Linux | 6.4 <= * | unaffected |
Weaknesses
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.