Menu

Star on GitHub · 3.2k

CVE-2024-50296

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix kernel crash when uninstalling driver When the driver is uninstalled and the VF is disabled concurrently, a kern…

Published Nov 19, 2024CWE-476EPSS 0.25%

Overview

CVE-2024-50296 is a medium-severity vulnerability. It was published on November 19, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

net: hns3: fix kernel crash when uninstalling driver

When the driver is uninstalled and the VF is disabled concurrently, a

kernel crash occurs. The reason is that the two actions call function

pci_disable_sriov(). The num_VFs is checked to determine whether to

release the corresponding resources. During the second calling, num_VFs

is not 0 and the resource release function is called. However, the

corresponding resource has been released during the first invoking.

Therefore, the problem occurs:

[15277.839633][T50670] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000020

...

[15278.131557][T50670] Call trace:

[15278.134686][T50670] klist_put+0x28/0x12c

[15278.138682][T50670] klist_del+0x14/0x20

[15278.142592][T50670] device_del+0xbc/0x3c0

[15278.146676][T50670] pci_remove_bus_device+0x84/0x120

[15278.151714][T50670] pci_stop_and_remove_bus_device+0x6c/0x80

[15278.157447][T50670] pc

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-50296?

CVE-2024-50296 is a medium-severity vulnerability. It was published on November 19, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-50296?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-50296?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-50296?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-50296 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all