CVE-2024-50274

published 19 Nov 2024 · updated 11 May 2026

idpf: avoid vport access in idpf_get_link_ksettings

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 81d2fb4c7c18a3b36ba3e00b9d5b753107472d75 and Kernel fa4d906ad0fb63a980a1d586a061c78ea1a345ba.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.7, >=02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb <81d2fb4c7c18a3b36ba3e00b9d5b753107472d75, >=02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb <fa4d906ad0fb63a980a1d586a061c78ea1a345ba81d2fb4c7c18a3b36ba3e00b9d5b753107472d75, fa4d906ad0fb63a980a1d586a061c78ea1a345ba

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-50274 severity on Zeptric[![CVE-2024-50274](https://zeptric.io/badge/cve/CVE-2024-50274.svg)](https://zeptric.io/cve/CVE-2024-50274)