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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022654-CVE-2022-49423-e3fc@gregkh>
Date: Wed, 26 Feb 2025 03:11:37 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49423: rtla: Avoid record NULL pointer dereference

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

rtla: Avoid record NULL pointer dereference

Fix the following null/deref_null.cocci errors:
./tools/tracing/rtla/src/osnoise_hist.c:870:31-36: ERROR: record is NULL but dereferenced.
./tools/tracing/rtla/src/osnoise_top.c:650:31-36: ERROR: record is NULL but dereferenced.
./tools/tracing/rtla/src/timerlat_hist.c:905:31-36: ERROR: record is NULL but dereferenced.
./tools/tracing/rtla/src/timerlat_top.c:700:31-36: ERROR: record is NULL but dereferenced.

"record" is NULL before calling osnoise_init_trace_tool.
Add a tag "out_free" to avoid dereferring a NULL pointer.

The Linux kernel CVE team has assigned CVE-2022-49423 to this issue.


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

	Issue introduced in 5.18 with commit 51d64c3a181938da8fb56404524e15776e9c6bf8 and fixed in 5.18.3 with commit b0f1c686baff74d5df10f2f46670ef4e24a75756
	Issue introduced in 5.18 with commit 51d64c3a181938da8fb56404524e15776e9c6bf8 and fixed in 5.19 with commit 2a6b52ed72c822b5ee146a6a00ea66614fe02653

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-2022-49423
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:
	tools/tracing/rtla/src/osnoise_hist.c
	tools/tracing/rtla/src/osnoise_top.c
	tools/tracing/rtla/src/timerlat_hist.c
	tools/tracing/rtla/src/timerlat_top.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/b0f1c686baff74d5df10f2f46670ef4e24a75756
	https://git.kernel.org/stable/c/2a6b52ed72c822b5ee146a6a00ea66614fe02653

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ