CVE-2024-27418

net: mctp: take ownership of skb in mctp_local_output

State
Published
Severity
Not scored
Published
May 17, 2024
Updated
May 11, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 833ef3b91de692ef33b800bca6b1569c39dece74 to before a3c8fa54e904b0ddb52a08cc2d8ac239054f61fdAffected
  • 833ef3b91de692ef33b800bca6b1569c39dece74 to before cbebc55ceacef1fc0651e80e0103cc184552fc68Affected
  • 833ef3b91de692ef33b800bca6b1569c39dece74 to before a639441c880ac479495e5ab37e3c29f21ae5771bAffected
  • 833ef3b91de692ef33b800bca6b1569c39dece74 to before 3773d65ae5154ed7df404b050fd7387a36ab5ef3Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 6.1.81 through 6.1.*Not affected
  • 6.6.21 through 6.6.*Not affected
  • 6.7.9 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.