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

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