NetSight
medium5.5

CVE-2024-27418

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 tak…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 5.15 before 6.1.81
from 6.2 before 6.6.21
from 6.7 before 6.7.9
Version 6.8

Weakness classification

References