← CVE Intelligence

CVE-2024-27418

net: mctp: take ownership of skb in mctp_local_output PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 833ef3b91de692ef33b800bca6b1569c39dece74 before a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd; affected 833ef3b91de692ef33b800bca6b1569c39dece74 before cbebc55ceacef1fc0651e80e0103cc184552fc68; affected 833ef3b91de692ef33b800bca6b1569c39dece74 before a639441c880ac479495e5ab37e3c29f21ae5771b; affected 833ef3b91de692ef33b800bca6b1569c39dece74 before 3773d65ae5154ed7df404b050fd7387a36ab5ef3
Linux / Linuxaffected 5.15; unaffected 0 before 5.15; unaffected 6.1.81 through 6.1.*; unaffected 6.6.21 through 6.6.*; unaffected 6.7.9 through 6.7.*; unaffected 6.8 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.