net: mctp: take ownership of skb in mctp_local_output
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.81, 6.6.21, 6.7.9
- CVEs
- CVE-2024-27418
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:32 UTC · Revision 1
Source evidence
net: mctp: take ownership of skb in mctp_local_output
core-osv · Original sourcePublished 17 May 2024, 11:51 UTC
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.
osv:CVE-2024-27418
Kernel
Fixed versions: 6.1.81, 6.6.21, 6.7.9
Complete source record
{
"id": "64a09ba1099f29010e37c7e809a3e6f2628548a09c1b6c0d5cdacc877be449e6",
"url": "https://osv.dev/vulnerability/CVE-2024-27418",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: mctp: take ownership of skb in mctp_local_output",
"summary": "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.",
"evidence": "osv:CVE-2024-27418",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.81",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.21",
"evidence": "/affected/1/ranges"
},
{
"value": "6.7.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-27418",
"aliases": [
"CVE-2024-27418"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "833ef3b91de692ef33b800bca6b1569c39dece74"
},
{
"fixed": "a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd"
},
{
"fixed": "cbebc55ceacef1fc0651e80e0103cc184552fc68"
},
{
"fixed": "a639441c880ac479495e5ab37e3c29f21ae5771b"
},
{
"fixed": "3773d65ae5154ed7df404b050fd7387a36ab5ef3"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27418.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.15.0"
},
{
"fixed": "6.1.81"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.21"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.7.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27418.json"
}
}
],
"modified": "2026-10-28T02:30:41.553823176Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/3773d65ae5154ed7df404b050fd7387a36ab5ef3",
"https://git.kernel.org/stable/c/a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd",
"https://git.kernel.org/stable/c/a639441c880ac479495e5ab37e3c29f21ae5771b",
"https://git.kernel.org/stable/c/cbebc55ceacef1fc0651e80e0103cc184552fc68",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27418.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-27418",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27418.json"
}
},
"related_cves": [
{
"value": "CVE-2024-27418",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 508858,
"published_at": "2024-05-17T11:51:11.27+00:00"
}