Menu

Star on GitHub · 3.2k

CVE-2024-49998

4.7 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: net: dsa: improve shutdown sequence Alexander Sverdlin presents 2 problems during shutdown with the lan9303 driver.

Published Oct 21, 2024CWE-367EPSS 0.19%

Overview

CVE-2024-49998 is a medium-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, 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: dsa: improve shutdown sequence

Alexander Sverdlin presents 2 problems during shutdown with the

lan9303 driver. One is specific to lan9303 and the other just happens

to reproduce there.

The first problem is that lan9303 is unique among DSA drivers in that it

calls dev_get_drvdata() at "arbitrary runtime" (not probe, not shutdown,

not remove):

phy_state_machine()

-> ...

-> dsa_user_phy_read()

-> ds->ops->phy_read()

-> lan9303_phy_read()

-> chip->ops->phy_read()

-> lan9303_mdio_phy_read()

-> dev_get_drvdata()

But we never stop the phy_state_machine(), so it may continue to run

after dsa_switch_shutdown(). Our common pattern in all DSA drivers is

to set drvdata to NULL to suppress the remove() method that may come

afterwards. But in this case it will result in an NPD.

The second problem is that the way in which we set

dp->conduit->dsa_ptr = NULL; is

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-49998?

CVE-2024-49998 is a medium-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2024-49998?

This vulnerability has a CVSS 3.1 base score of 4.7, 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-49998?

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-49998?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-49998 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