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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-05-17T11:51:11.270Z
- Modified: 2026-06-17T07:19:52.420Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 833ef3b91de692ef33b800bca6b1569c39dece74 before a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd; from 833ef3b91de692ef33b800bca6b1569c39dece74 before cbebc55ceacef1fc0651e80e0103cc184552fc68; from 833ef3b91de692ef33b800bca6b1569c39dece74 before a639441c880ac479495e5ab37e3c29f21ae5771b; from 833ef3b91de692ef33b800bca6b1569c39dece74 before 3773d65ae5154ed7df404b050fd7387a36ab5ef3; 5.15 (not affected: before 5.15; from 6.1.81 up to 6.1.*; from 6.6.21 up to 6.6.*; from 6.7.9 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.15 before 6.1.81; from 6.2 before 6.6.21; from 6.7 before 6.7.9; 6.8

## References

- <https://git.kernel.org/stable/c/a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd> (patch)
- <https://git.kernel.org/stable/c/cbebc55ceacef1fc0651e80e0103cc184552fc68> (patch)
- <https://git.kernel.org/stable/c/a639441c880ac479495e5ab37e3c29f21ae5771b> (patch)
- <https://git.kernel.org/stable/c/3773d65ae5154ed7df404b050fd7387a36ab5ef3> (patch)

## Sources

- CVE List: [CVE-2024-27418](https://www.cve.org/CVERecord?id=CVE-2024-27418), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-27418](https://nvd.nist.gov/vuln/detail/CVE-2024-27418), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27418 · Whole record: https://cve.day/CVE-2024-27418.json · Rebuilt by cve.day 2026-11-25T22:58:40.497Z
