{"id":"CVE-2023-54139","published":"2025-12-24T13:06:54Z","modified":"2026-08-05T09:17:34Z","title":"tracing/user_events: Ensure write index cannot be negative","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing/user_events: Ensure write index cannot be negative\n\nThe write index indicates which event the data is for and accesses a\nper-file array. The index is passed by user processes during write()\ncalls as the first 4 bytes. Ensure that it cannot be negative by\nreturning -EINVAL to prevent out of bounds accesses.\n\nUpdate ftrace self-test to ensure this occurs properly.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00232,"percentile":0.08485,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0489c2b2c3104b89f078dbcec8c744dfc157d3e9","tags":[]},{"url":"https://git.kernel.org/stable/c/4fe46b5adf18e3dc606e62c9e6a0413398a17572","tags":[]},{"url":"https://git.kernel.org/stable/c/fa7f2f5d1739452280c22727c4384a52b72ab5de","tags":[]},{"url":"https://git.kernel.org/stable/c/cd98c93286a30cc4588dfd02453bec63c2f4acf4","tags":[]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":1.7},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7f5a08c79df35e68f1a43033450c5050f12bc155, < 0489c2b2c3104b89f078dbcec8c744dfc157d3e9",">= 7f5a08c79df35e68f1a43033450c5050f12bc155, < 4fe46b5adf18e3dc606e62c9e6a0413398a17572",">= 7f5a08c79df35e68f1a43033450c5050f12bc155, < fa7f2f5d1739452280c22727c4384a52b72ab5de",">= 7f5a08c79df35e68f1a43033450c5050f12bc155, < cd98c93286a30cc4588dfd02453bec63c2f4acf4"]},{"vendor":"Linux","product":"Linux","versions":["5.18"]}],"euvd":{"id":"EUVD-2023-60306","exploited":false,"provenance":"source"}}