mctp: fix use after free
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1dd3ecbec5f606b2a526c47925c8634b1a6bb81e and Kernel 7e5b6a5c8c44310784c88c1c198dde79f6402f7b.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.16, >=4f9e1ba6de45aa8797a83f1fe5b82ec4bac16899 <1dd3ecbec5f606b2a526c47925c8634b1a6bb81e, >=4f9e1ba6de45aa8797a83f1fe5b82ec4bac16899 <7e5b6a5c8c44310784c88c1c198dde79f6402f7b | 1dd3ecbec5f606b2a526c47925c8634b1a6bb81e, 7e5b6a5c8c44310784c88c1c198dde79f6402f7b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket