{"id":"CVE-2023-54139","aliases":["CVE-2023-54139"],"related":[],"kind":"vulnerability","state":"published","title":"tracing/user_events: Ensure write index cannot be negative","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-12-24T13:06:54.094Z","modified":"2026-08-05T09:17:34.267Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7f5a08c79df35e68f1a43033450c5050f12bc155","fixed":"0489c2b2c3104b89f078dbcec8c744dfc157d3e9","status":"affected"},{"type":"git","introduced":"7f5a08c79df35e68f1a43033450c5050f12bc155","fixed":"4fe46b5adf18e3dc606e62c9e6a0413398a17572","status":"affected"},{"type":"git","introduced":"7f5a08c79df35e68f1a43033450c5050f12bc155","fixed":"fa7f2f5d1739452280c22727c4384a52b72ab5de","status":"affected"},{"type":"git","introduced":"7f5a08c79df35e68f1a43033450c5050f12bc155","fixed":"cd98c93286a30cc4588dfd02453bec63c2f4acf4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.28","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.15","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.2","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0489c2b2c3104b89f078dbcec8c744dfc157d3e9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4fe46b5adf18e3dc606e62c9e6a0413398a17572","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa7f2f5d1739452280c22727c4384a52b72ab5de","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd98c93286a30cc4588dfd02453bec63c2f4acf4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54139","url":"https://www.cve.org/CVERecord?id=CVE-2023-54139","licence":"CVE Terms of Use","modified":"2026-08-05T09:17:34.267Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54139","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54139","licence":"Public domain","modified":"2026-08-04T10:19:31.110Z"}],"updatedAt":"2026-11-25T22:58:35.191Z","epss":{"score":0.00165,"percentile":0.06007,"date":"2026-12-01T12:00:22.000Z"}}