lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122422-CVE-2023-54139-ce08@gregkh>
Date: Wed, 24 Dec 2025 14:07:36 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54139: tracing/user_events: Ensure write index cannot be negative

From: Greg Kroah-Hartman <gregkh@...nel.org>

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.

The Linux kernel CVE team has assigned CVE-2023-54139 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.18 with commit 7f5a08c79df35e68f1a43033450c5050f12bc155 and fixed in 6.1.28 with commit 0489c2b2c3104b89f078dbcec8c744dfc157d3e9
	Issue introduced in 5.18 with commit 7f5a08c79df35e68f1a43033450c5050f12bc155 and fixed in 6.2.15 with commit 4fe46b5adf18e3dc606e62c9e6a0413398a17572
	Issue introduced in 5.18 with commit 7f5a08c79df35e68f1a43033450c5050f12bc155 and fixed in 6.3.2 with commit fa7f2f5d1739452280c22727c4384a52b72ab5de
	Issue introduced in 5.18 with commit 7f5a08c79df35e68f1a43033450c5050f12bc155 and fixed in 6.4 with commit cd98c93286a30cc4588dfd02453bec63c2f4acf4

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2023-54139
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	kernel/trace/trace_events_user.c
	tools/testing/selftests/user_events/ftrace_test.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ