Bug 2347720 (CVE-2022-49423) - CVE-2022-49423 kernel: rtla: Avoid record NULL pointer dereference
Summary: CVE-2022-49423 kernel: rtla: Avoid record NULL pointer dereference
Keywords:
Status: NEW
Alias: CVE-2022-49423
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:04 UTC by OSIDB Bzimport
Modified: 2025-02-26 16:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:04:21 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 11:54:45 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022654-CVE-2022-49423-e3fc@gregkh/T

Comment 4 Avinash Hanwate 2025-02-26 16:12:18 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022654-CVE-2022-49423-e3fc@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.