Menu

Star on GitHub · 3.2k

CVE-2024-26802

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: stmmac: Clear variable when destroying workqueue Currently when suspending driver and stopping workqueue it is checked whether…

Published Apr 4, 2024CWE-476EPSS 0.24%

Overview

CVE-2024-26802 is a high-severity vulnerability. It was published on April 4, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

stmmac: Clear variable when destroying workqueue

Currently when suspending driver and stopping workqueue it is checked whether

workqueue is not NULL and if so, it is destroyed.

Function destroy_workqueue() does drain queue and does clear variable, but

it does not set workqueue variable to NULL. This can cause kernel/module

panic if code attempts to clear workqueue that was not initialized.

This scenario is possible when resuming suspended driver in stmmac_resume(),

because there is no handling for failed stmmac_hw_setup(),

which can fail and return if DMA engine has failed to initialize,

and workqueue is initialized after DMA engine.

Should DMA engine fail to initialize, resume will proceed normally,

but interface won't work and TX queue will eventually timeout,

causing 'Reset adapter' error.

This then does destroy workqueue during reset process.

And since workqueue is initialized after DMA engine and can be skipped

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

CVE-2024-26802 is a high-severity vulnerability. It was published on April 4, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-26802?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-26802?

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

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

View all