Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: idpf: avoid vport access in idpf_get_link_ksettings When the device control plane is removed or the platform running device control plane is rebooted, a reset is detected on the driver. On driver reset, it releases the resources and waits for the reset to complete. If the reset fails, it takes the error path and releases the vport lock. At this time if the monitoring tools tries to access link settings, it call traces for accessing released vport pointer. To avoid it, move link_speed_mbps to netdev_priv structure which removes the dependency on vport pointer and the vport lock in idpf_get_link_ksettings. Also use netif_carrier_ok() to check the link status and adjust the offsetof to use link_up instead of link_speed_mbps.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.7, < 6.11.8 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/81d2fb4c7c18a3b36ba3e00b9d5b753107472d75Patch
- https://git.kernel.org/stable/c/fa4d906ad0fb63a980a1d586a061c78ea1a345baPatch
FAQ
What is CVE-2024-50274?
CVE-2024-50274 is a vulnerability with a CVSS score of 7.8 (HIGH). In the Linux kernel, the following vulnerability has been resolved: idpf: avoid vport access in idpf_get_link_ksettings When the device control plane is removed or the platform running device contro...
How severe is CVE-2024-50274?
CVE-2024-50274 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-50274?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.