{"id":"CVE-2024-27418","state":"PUBLISHED","title":"net: mctp: take ownership of skb in mctp_local_output","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mctp: take ownership of skb in mctp_local_output\n\nCurrently, mctp_local_output only takes ownership of skb on success, and\nwe may leak an skb if mctp_local_output fails in specific states; the\nskb ownership isn't transferred until the actual output routing occurs.\n\nInstead, make mctp_local_output free the skb on all error paths up to\nthe route action, so it always consumes the passed skb.","publishedAt":"2024-05-17T11:51:11.270Z","updatedAt":"2026-05-11T20:10:38.385Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"833ef3b91de692ef33b800bca6b1569c39dece74","status":"affected","lessThan":"a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd","versionType":"git"},{"version":"833ef3b91de692ef33b800bca6b1569c39dece74","status":"affected","lessThan":"cbebc55ceacef1fc0651e80e0103cc184552fc68","versionType":"git"},{"version":"833ef3b91de692ef33b800bca6b1569c39dece74","status":"affected","lessThan":"a639441c880ac479495e5ab37e3c29f21ae5771b","versionType":"git"},{"version":"833ef3b91de692ef33b800bca6b1569c39dece74","status":"affected","lessThan":"3773d65ae5154ed7df404b050fd7387a36ab5ef3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/mctp.h","net/mctp/route.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.1.81","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.21","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.9","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/mctp.h","net/mctp/route.c"]}],"references":["https://git.kernel.org/stable/c/a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd","https://git.kernel.org/stable/c/cbebc55ceacef1fc0651e80e0103cc184552fc68","https://git.kernel.org/stable/c/a639441c880ac479495e5ab37e3c29f21ae5771b","https://git.kernel.org/stable/c/3773d65ae5154ed7df404b050fd7387a36ab5ef3"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/27xxx/CVE-2024-27418.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-27418","state":"PUBLISHED","datePublished":"2024-05-17T11:51:11.270Z","dateUpdated":"2026-05-11T20:10:38.385Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-25T13:47:42.683Z"},"containers":{"cna":{"title":"net: mctp: take ownership of skb in mctp_local_output","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mctp: take ownership of skb in mctp_local_output\n\nCurrently, mctp_local_output only takes ownership of skb on success, and\nwe may leak an skb if mctp_local_output fails in specific states; the\nskb ownership isn't transferred until the actual output routing occurs.\n\nInstead, make mctp_local_output free the skb on all error paths up to\nthe route action, so it always consumes the passed skb."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"833ef3b91de692ef33b800bca6b1569c39dece74","status":"affected","lessThan":"a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd","versionType":"git"},{"version":"833ef3b91de692ef33b800bca6b1569c39dece74","status":"affected","lessThan":"cbebc55ceacef1fc0651e80e0103cc184552fc68","versionType":"git"},{"version":"833ef3b91de692ef33b800bca6b1569c39dece74","status":"affected","lessThan":"a639441c880ac479495e5ab37e3c29f21ae5771b","versionType":"git"},{"version":"833ef3b91de692ef33b800bca6b1569c39dece74","status":"affected","lessThan":"3773d65ae5154ed7df404b050fd7387a36ab5ef3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/mctp.h","net/mctp/route.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.1.81","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.21","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.9","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/mctp.h","net/mctp/route.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd"},{"url":"https://git.kernel.org/stable/c/cbebc55ceacef1fc0651e80e0103cc184552fc68"},{"url":"https://git.kernel.org/stable/c/a639441c880ac479495e5ab37e3c29f21ae5771b"},{"url":"https://git.kernel.org/stable/c/3773d65ae5154ed7df404b050fd7387a36ab5ef3"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:10:38.385Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.81"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.7.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/cbebc55ceacef1fc0651e80e0103cc184552fc68","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/a639441c880ac479495e5ab37e3c29f21ae5771b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/3773d65ae5154ed7df404b050fd7387a36ab5ef3","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:34:52.204Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-27418","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:43:03.788972Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:24.616Z"}}]}}}