CVE-2024-50274
idpf: avoid vport access in idpf_get_link_ksettings
Reported by linux · Published November 19, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | fa4d906ad0fb63a980a1d586a061c78ea1a345ba, 81d2fb4c7c18a3b36ba3e00b9d5b753107472d75, 6.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb |
| Linux | Linux | 6.7, 0, 6.11.8 |
| Linux | Linux | 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, 6.11.8, 6.12 |
| linux | linux_kernel | 6.7, 6.7 |
Timeline
- Nov 18, 2024 CVE Published
- Nov 19, 2024 EPSS Score (30 in total, the first dated here)
- Nov 19, 2024 Coalition ESS Score (10 in total, the first dated here)
- Jan 2, 2026 Security Advisory (208 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (161 in total, the first dated here)
- May 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-50274
vulnetix vdb fixes CVE-2024-50274
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50274/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart