CVE-2024-50274

HIGH

Linux Kernel 6.7-6.11.8 - Use-After-Free in idpf_get_link_ksettings

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0023
EPSS Percentile 13.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (9)
linux/Kernel 6.7.0 - 6.11.8linux
Linux/Linux < 6.7
Linux/Linux 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb - 81d2fb4c7c18a3b36ba3e00b9d5b753107472d75
Linux/Linux 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb - fa4d906ad0fb63a980a1d586a061c78ea1a345ba
Linux/Linux 6.11.8 - 6.11.*
Linux/Linux 6.12
Linux/Linux 6.7
linux/linux_kernel 6.12 rc1 (6 CPE variants)
linux/linux_kernel 6.7 - 6.11.8
Published Nov 19, 2024
Tracked Since Feb 18, 2026