We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-50274

idpf: avoid vport access in idpf_get_link_ksettings



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.

Reserved 2024-10-21 | Published 2024-11-19 | Updated 2024-12-19 | Assigner Linux

Product status

Default status
unaffected

02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb before fa4d906ad0fb63a980a1d586a061c78ea1a345ba
affected

02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb before 81d2fb4c7c18a3b36ba3e00b9d5b753107472d75
affected

Default status
affected

6.7
affected

Any version before 6.7
unaffected

6.11.8
unaffected

6.12
unaffected

References

git.kernel.org/...c/fa4d906ad0fb63a980a1d586a061c78ea1a345ba

git.kernel.org/...c/81d2fb4c7c18a3b36ba3e00b9d5b753107472d75

cve.org (CVE-2024-50274)

nvd.nist.gov (CVE-2024-50274)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-50274

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.