{"schema_version":"1.9.0","id":"CVE-2024-27418","published":"2024-05-17T11:51:11.270Z","modified":"2026-08-12T03:51:35.490388553Z","related":["SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"summary":"net: mctp: take ownership of skb in mctp_local_output","details":"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":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27418.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3773d65ae5154ed7df404b050fd7387a36ab5ef3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a639441c880ac479495e5ab37e3c29f21ae5771b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cbebc55ceacef1fc0651e80e0103cc184552fc68"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27418.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27418"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27418.json"}}