What’s Vulnerable › Vulnerabilities

CVE-2024-27418: net: mctp: take ownership of skb in mctp_local_output

Description

In the Linux kernel, the following vulnerability has been resolved: net: mctp: take ownership of skb in mctp_local_output Currently, mctp_local_output only takes ownership of skb on success, and we may leak an skb if mctp_local_output fails in specific states; the skb ownership isn't transferred until the actual output routing occurs. Instead, make mctp_local_output free the skb on all error paths up to the route action, so it always consumes the passed skb.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.81, 6.6.21, 6.7.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27418 or the next vulnerability affects your stack