漏洞标题
rtla: 避免记录空指针解引用
漏洞描述信息
在Linux内核中,已解决以下漏洞:
rtla: 避免记录空指针解引用
修复了以下 null/deref_null.cocci 错误:
./tools/tracing/rtla/src/osnoise_hist.c:870:31-36: ERROR: 记录为空但被解引用。
./tools/tracing/rtla/src/osnoise_top.c:650:31-36: ERROR: 记录为空但被解引用。
./tools/tracing/rtla/src/timerlat_hist.c:905:31-36: ERROR: 记录为空但被解引用。
./tools/tracing/rtla/src/timerlat_top.c:700:31-36: ERROR: 记录为空但被解引用。
在调用 osnoise_init_trace_tool 之前,"record" 为空,增加一个 "out_free" 标签以避免解引用空指针。
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
漏洞类别
空指针解引用
漏洞标题
rtla: Avoid record NULL pointer dereference
漏洞描述信息
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.
CVSS信息
N/A
漏洞类别
N/A