CVE-2024-50274

Source
https://cve.org/CVERecord?id=CVE-2024-50274
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50274.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50274
Downstream
Related
Published
2024-11-19T01:30:13.973Z
Modified
2026-05-15T11:53:52.194453724Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
idpf: avoid vport access in idpf_get_link_ksettings
Details

In the Linux kernel, the following vulnerability has been resolved:

idpf: avoid vport access in idpfgetlink_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 linkspeedmbps to netdevpriv structure which removes the dependency on vport pointer and the vport lock in idpfgetlinkksettings. Also use netifcarrierok() to check the link status and adjust the offsetof to use linkup instead of linkspeed_mbps.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50274.json"
}
References

Affected packages

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50274.json"