CVEvulnerability
CVE-2024-27418
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-17
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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 configurations
• linux linux kernel (>= 5.15 < 6.1.81)
• linux linux kernel (>= 6.2 < 6.6.21)
• linux linux kernel (>= 6.7 < 6.7.9)
• linux linux kernel 6.8
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/3773d65ae5154ed7df404b050fd7387a36ab5ef3 Patch
- https://git.kernel.org/stable/c/a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd Patch
- https://git.kernel.org/stable/c/a639441c880ac479495e5ab37e3c29f21ae5771b Patch
- https://git.kernel.org/stable/c/cbebc55ceacef1fc0651e80e0103cc184552fc68 Patch
- https://git.kernel.org/stable/c/3773d65ae5154ed7df404b050fd7387a36ab5ef3 Patch
- https://git.kernel.org/stable/c/a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd Patch
- https://git.kernel.org/stable/c/a639441c880ac479495e5ab37e3c29f21ae5771b Patch
- https://git.kernel.org/stable/c/cbebc55ceacef1fc0651e80e0103cc184552fc68 Patch