5.5medium
net: mctp: take ownership of skb in mctp_local_output
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 833ef3b91de692ef33b800bca6b1569c39dece74 before a3c8fa54e904b0ddb52a08cc2d8ac239054f61fd, from 833ef3b91de692ef33b800bca6b1569c39dece74 before cbebc55ceacef1fc0651e80e0103cc184552fc68, from 833ef3b91de692ef33b800bca6b1569c39dece74 before a639441c880ac479495e5ab37e3c29f21ae5771b, from 833ef3b91de692ef33b800bca6b1569c39dece74 before 3773d65ae5154ed7df404b050fd7387a36ab5ef3, 5.15 Not affected: before 5.15, from 6.1.81 up to 6.1.*, from 6.6.21 up to 6.6.*, from 6.7.9 up to 6.7.*, from 6.8 up to * | CVE List |
| linux linux_kernel | from 5.15 before 6.1.81, from 6.2 before 6.6.21, from 6.7 before 6.7.9, 6.8 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: net: mctp: toma posesión de skb en mctp_local_output Actualmente, mctp_local_output solo toma propiedad de skb en caso de éxito, y podemos filtrar un fallo skb si mctp_local_output en estados específicos; la propiedad del skb no se transfiere hasta que se produce el enrutamiento de salida real. En su lugar, haga que mctp_local_output libere el skb en todas las rutas de error hasta la acción de ruta, de modo que siempre consuma el skb pasado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27418 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-27418 changed 2026-06-17 | Public domain |