CVE-2026-53297: net: mana: Guard mana_remove against double invocation

Published Jun 26, 2026
·
Updated

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

net: mana: Guard manaremove against double invocation

If PM resume fails (e.g., manaattach() returns an error), manaprobe() calls manaremove(), which tears down the device and sets gd->gdmacontext = NULL and gd->driverdata = NULL.

However, a failed resume callback does not automatically unbind the driver. When the device is eventually unbound, manaremove() is invoked a second time. Without a NULL check, it dereferences gc->dev with gc == NULL, causing a kernel panic.

Add an early return if gdmacontext or driverdata is NULL so the second invocation is harmless. Move the dev = gc->dev assignment after the guard so it cannot dereference NULL.

Affected Software

3 affected components
Linux Linux kernel
Linux Linux kernel>=5.16<6.18.33
Linux Linux kernel>=6.19<7.0.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Modify the mana_remove() (and/or the PM resume callback path that can call mana_remove after resume failure) to add an early return when gdma_context (gc) or driver_data is NULL, preventing a double invocation from dereferencing gc->dev when gc is NULL and triggering a kernel panic.

    Linux kernel (net: mana) Add NULL guard in mana_remove/resume path = if gc == NULL return early; if driver_data == NULL return early (prevent dereference of gc->dev)

Event History

Jun 26, 2026
CVE Published
via MITRE·07:40 PM
Data Sourced
via MITRE·07:40 PM
Description
Data Sourced
via NVD·08:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 28, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems are exposed to this issue?

The issue is in the Linux kernel MANA network driver. It is triggered in the power-management resume and device-unbind path, rather than by ordinary network traffic.

2

What conditions are needed to trigger the kernel panic?

A PM resume must fail, such as when mana_attach() returns an error. That failure causes an initial cleanup, and a later driver unbind invokes cleanup again, leading to a NULL dereference in the unpatched code.

3

How can I recognize a potentially affected failure?

An affected system may panic when the MANA device driver is unbound after a failed resume operation. The failure results from dereferencing gc->dev after the prior cleanup has set the relevant driver context pointers to NULL.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203