CVE-2022-48782

Source
https://cve.org/CVERecord?id=CVE-2022-48782
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48782.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48782
Downstream
Published
2024-07-16T11:13:19.141Z
Modified
2026-03-13T05:59:31.690413Z
Summary
mctp: fix use after free
Details

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 tracemctpkeyacquire(key); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ When mctpkeyadd() fails, key is freed but then is later used in tracemctpkeyacquire(). Add an else statement to use the key only when mctpkeyadd() is successful.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48782.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4f9e1ba6de45aa8797a83f1fe5b82ec4bac16899
Fixed
1dd3ecbec5f606b2a526c47925c8634b1a6bb81e
Fixed
7e5b6a5c8c44310784c88c1c198dde79f6402f7b

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48782.json"