CVE-2026-43440

net/mana: Null service_wq on setup error to prevent double destroy

Published May 8, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net/mana: Null service_wq on setup error to prevent double destroy

In mana_gd_setup() error path, set gc->service_wq to NULL after
destroy_workqueue() to match the cleanup in mana_gd_cleanup().
This prevents a use-after-free if the workqueue pointer is checked
after a failed setup.

Analysis

AI-generated

Technical impact

A flaw in the Linux kernel’s mana driver can leave the data‑structure field service_wq pointing to freed memory during an error path in mana_gd_setup(). If the field is accessed after a failed setup, a use‑after‑free can occur, potentially causing a kernel panic or allowing an attacker to execute code in kernel mode. The weakness is a classic use‑after‑free scenario (CWE‑825), and the kernel‑level nature of the defect makes any successful exploitation highly damaging to system integrity and availability.

Affected Systems

The issue exists in any Linux kernel that compiles the mana driver, regardless of the major kernel release. All builds that contain the buggy mana_gd_setup() code before the patch are considered vulnerable. Distribution maintainers or custom kernel builds that have not applied the commit adding the null assignment remain at risk until an updated kernel is deployed.

Risk and Exploitability

The CVSS score of 7.8 reflects a high‑severity use‑after‑free in the kernel. The EPSS score is 0.00022, and the vulnerability is not listed in the CISA KEV catalog, indicating no widespread public exploitation known. Exploitation would require a local attacker with the ability to trigger the failed setup path, such as loading a malicious kernel module or executing code with sufficient privileges to manipulate the driver. Once the patch is applied, the fault is eliminated by nulling the workqueue pointer and preventing a double destroy.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the commit adding the null assignment to service_wq (e.g., commit 59489ce60d7412ed82fb1d8002faa3102dcd4916) or any subsequent revision containing the fix.
  • If immediate updating is not feasible, disable or unload the mana driver until the patch is applied, thereby removing the vulnerable code path from the running kernel.
  • Enforce strict module‑loading policies so that only trusted, signed modules can be loaded, reducing the chance that a local attacker can trigger the fault on a system where the driver remains present.

Generated by OpenCVE AI on May 21, 2026 at 19:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-416
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-416
CWE-590
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
CWE-590
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net/mana: Null service_wq on setup error to prevent double destroy In mana_gd_setup() error path, set gc->service_wq to NULL after destroy_workqueue() to match the cleanup in mana_gd_cleanup(). This prevents a use-after-free if the workqueue pointer is checked after a failed setup.
Title net/mana: Null service_wq on setup error to prevent double destroy
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 3:42 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 8, 2026, 3:16 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Moderate
Public date
May 8, 2026, 12:00 AM