Lucene search

K
ubuntucveUbuntu.comUB:CVE-2022-48782
HistoryJul 16, 2024 - 12:00 a.m.

CVE-2022-48782

2024-07-1600:00:00
ubuntu.com
ubuntu.com
5
linux kernel
mctp
vulnerability
resolved
clang
static analysis
route.c
memory

AI Score

7.1

Confidence

High

In the Linux kernel, the following vulnerability has been resolved:
mctp: fix use after free
Clang static analysis reports this problem
route.c:425:4: warning: Use of memory after it is freed
trace_mctp_key_acquire(key);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
When mctp_key_add() fails, key is freed but then is later
used in trace_mctp_key_acquire(). Add an else statement
to use the key only when mctp_key_add() is successful.

AI Score

7.1

Confidence

High