CVE-2024-50296

CVSS 3.1 Score 5.5 of 10 (medium)

Details

Published Nov 19, 2024
Updated: Nov 27, 2024
CWE ID 476

Summary

CVE-2024-50296 is a kernel vulnerability affecting the Linux operating system, specifically in the net: hns3 driver. This issue arises when the driver is uninstalled concurrently with disabling Virtual Functions (VFs). The vulnerability occurs due to a null pointer dereference, resulting from calling the function pci_disable_sriov() twice, with the second call occurring before the corresponding resources have been released during the first call. The consequence is a kernel crash. To mitigate this issue, the patch adds a device_lock() to protect the num_VFs variable during driver removal.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share